Package org.opennms.web.rest.v1
Class AvailabilityRestService
- java.lang.Object
-
- org.opennms.web.rest.v1.OnmsRestService
-
- org.opennms.web.rest.v1.AvailabilityRestService
-
@Component("availabilityRestService") @Transactional public class AvailabilityRestService extends OnmsRestService
Basic Web Service using REST for Availability/RTC information.- Since:
- 15.0.2
- Author:
- Benjamin Reed
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.opennms.web.rest.v1.OnmsRestService
OnmsRestService.ComparisonOperation
-
-
Field Summary
-
Fields inherited from class org.opennms.web.rest.v1.OnmsRestService
DEFAULT_LIMIT
-
-
Constructor Summary
Constructors Constructor Description AvailabilityRestService()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Category
getCategory(java.lang.String categoryName)
AvailabilityNode
getCategoryNode(java.lang.String categoryName, java.lang.Long nodeId)
NodeList
getCategoryNodes(java.lang.String categoryName)
AvailabilityNode
getNode(java.lang.Integer nodeId)
org.opennms.web.rest.v1.AvailabilityRestService.AvailabilityData
getNodeAvailability()
-
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
-
-
-
-
Method Detail
-
getNodeAvailability
public org.opennms.web.rest.v1.AvailabilityRestService.AvailabilityData getNodeAvailability()
-
getCategory
public Category getCategory(java.lang.String categoryName)
-
getCategoryNodes
public NodeList getCategoryNodes(java.lang.String categoryName)
-
getCategoryNode
public AvailabilityNode getCategoryNode(java.lang.String categoryName, java.lang.Long nodeId)
-
getNode
public AvailabilityNode getNode(java.lang.Integer nodeId)
-
-