Package org.opennms.web.rest.v1
Class AssetSuggestionsRestService
- java.lang.Object
-
- org.opennms.web.rest.v1.OnmsRestService
-
- org.opennms.web.rest.v1.AssetSuggestionsRestService
-
- All Implemented Interfaces:
org.springframework.beans.factory.InitializingBean
@Component("assetSuggestionsRestService") public class AssetSuggestionsRestService extends OnmsRestService implements org.springframework.beans.factory.InitializingBean
The Class AssetSuggestionsRestService.- Author:
- Alejandro Galue
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
AssetSuggestionsRestService.SuggestionList
The Class SuggestionList.static class
AssetSuggestionsRestService.Suggestions
The Class Suggestions.-
Nested classes/interfaces inherited from class org.opennms.web.rest.v1.OnmsRestService
OnmsRestService.ComparisonOperation
-
-
Field Summary
Fields Modifier and Type Field Description protected AssetRecordDao
m_assetDao
The Asset DAO.-
Fields inherited from class org.opennms.web.rest.v1.OnmsRestService
DEFAULT_LIMIT
-
-
Constructor Summary
Constructors Constructor Description AssetSuggestionsRestService()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
afterPropertiesSet()
AssetSuggestionsRestService.Suggestions
getAssetSuggestions()
Gets the asset suggestions.-
Methods inherited from class org.opennms.web.rest.v1.OnmsRestService
applyQueryFilters, applyQueryFilters, getBadRequestResponse, getBeanWrapperForClass, getException, getException, getNumericValue, getRedirectUri, readLock, readUnlock, removeParameter, removeParameter, setProperties, writeLock, writeUnlock
-
-
-
-
Field Detail
-
m_assetDao
@Autowired protected AssetRecordDao m_assetDao
The Asset DAO.
-
-
Method Detail
-
afterPropertiesSet
public void afterPropertiesSet() throws Exception
- Specified by:
afterPropertiesSet
in interfaceorg.springframework.beans.factory.InitializingBean
- Throws:
Exception
-
getAssetSuggestions
public AssetSuggestionsRestService.Suggestions getAssetSuggestions()
Gets the asset suggestions.- Returns:
- the asset suggestions
-
-