Package org.opennms.web.rest.v1
Class GraphRestService
- java.lang.Object
-
- org.opennms.web.rest.v1.OnmsRestService
-
- org.opennms.web.rest.v1.GraphRestService
-
@Component("graphRestService") public class GraphRestService extends OnmsRestService
Read-only API for retrieving graph definitions and determining the list of supported graphs on a particular resource.- Author:
- jwhite
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
GraphRestService.GraphResourceDTO
static class
GraphRestService.ResourceVisitor
-
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 GraphRestService()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PrefabGraph
getGraphByName(java.lang.String graphName)
GraphNameCollection
getGraphNames()
GraphNameCollection
getGraphNamesForResource(java.lang.String resourceId)
GraphRestService.GraphResourceDTO
getGraphResourcesForNode(java.lang.String nodeCriteria, int depth)
-
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
-
getGraphNames
@Transactional(readOnly=true) public GraphNameCollection getGraphNames()
-
getGraphByName
@Transactional(readOnly=true) public PrefabGraph getGraphByName(java.lang.String graphName)
-
getGraphNamesForResource
@Transactional(readOnly=true) public GraphNameCollection getGraphNamesForResource(java.lang.String resourceId)
-
getGraphResourcesForNode
@Transactional(readOnly=true) public GraphRestService.GraphResourceDTO getGraphResourcesForNode(java.lang.String nodeCriteria, int depth)
-
-