Package org.opennms.web.rest.v1
Class MinionRestService
- java.lang.Object
-
- org.opennms.web.rest.v1.OnmsRestService
-
- org.opennms.web.rest.v1.MinionRestService
-
@Component("minionRestService") public class MinionRestService extends OnmsRestService
-
-
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 MinionRestService()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getCount()
OnmsMinion
getMinion(java.lang.String minionId)
java.lang.String
getMinionProperty(java.lang.String minionId, java.lang.String key)
OnmsMinionCollection
getMinions(javax.ws.rs.core.UriInfo uriInfo)
-
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
-
getMinion
@Transactional public OnmsMinion getMinion(java.lang.String minionId)
-
getMinionProperty
@Transactional public java.lang.String getMinionProperty(java.lang.String minionId, java.lang.String key)
-
getCount
@Transactional public java.lang.String getCount()
-
getMinions
@Transactional public OnmsMinionCollection getMinions(@Context javax.ws.rs.core.UriInfo uriInfo) throws java.text.ParseException
- Throws:
java.text.ParseException
-
-