@Component(value="nodeRestService") @Transactional public class NodeRestService extends OnmsRestService
OnmsRestService.ComparisonOperation
DEFAULT_LIMIT
Constructor and Description |
---|
NodeRestService() |
Modifier and Type | Method and Description |
---|---|
javax.ws.rs.core.Response |
addCategoryToNode(javax.ws.rs.core.UriInfo uriInfo,
String nodeCriteria,
OnmsCategory category) |
javax.ws.rs.core.Response |
addCategoryToNode(javax.ws.rs.core.UriInfo uriInfo,
String nodeCriteria,
String categoryName) |
javax.ws.rs.core.Response |
addNode(javax.ws.rs.core.UriInfo uriInfo,
OnmsNode node)
addNode
|
javax.ws.rs.core.Response |
deleteNode(String nodeCriteria)
deleteNode
|
AssetRecordResource |
getAssetRecordResource(javax.ws.rs.container.ResourceContext context)
getAssetRecordResource
|
OnmsCategoryCollection |
getCategoriesForNode(String nodeCriteria) |
OnmsCategory |
getCategoryForNode(String nodeCriteria,
String categoryName) |
HardwareInventoryResource |
getHardwareInventoryResource(javax.ws.rs.container.ResourceContext context)
getHardwareInventoryResource
|
OnmsIpInterfaceResource |
getIpInterfaceResource(javax.ws.rs.container.ResourceContext context)
getIpInterfaceResource
|
OnmsNode |
getNode(String nodeCriteria)
getNode
|
OnmsNodeList |
getNodes(javax.ws.rs.core.UriInfo uriInfo)
getNodes
|
OnmsSnmpInterfaceResource |
getSnmpInterfaceResource(javax.ws.rs.container.ResourceContext context)
getSnmpInterfaceResource
|
javax.ws.rs.core.Response |
removeCategoryFromNode(String nodeCriteria,
String categoryName) |
javax.ws.rs.core.Response |
updateCategoryForNode(String nodeCriteria,
String categoryName,
MultivaluedMapImpl params) |
javax.ws.rs.core.Response |
updateNode(String nodeCriteria,
MultivaluedMapImpl params)
updateNode
|
applyQueryFilters, applyQueryFilters, getBadRequestResponse, getBeanWrapperForClass, getException, getException, getNumericValue, getRedirectUri, readLock, readUnlock, removeParameter, removeParameter, setProperties, writeLock, writeUnlock
public OnmsNodeList getNodes(@Context javax.ws.rs.core.UriInfo uriInfo)
getNodes
OnmsNodeList
object.public javax.ws.rs.core.Response addNode(@Context javax.ws.rs.core.UriInfo uriInfo, OnmsNode node)
addNode
node
- a OnmsNode
object.Response
object.public javax.ws.rs.core.Response updateNode(String nodeCriteria, MultivaluedMapImpl params)
updateNode
nodeCriteria
- a String
object.params
- a MultivaluedMapImpl
object.Response
object.public javax.ws.rs.core.Response deleteNode(String nodeCriteria)
deleteNode
nodeCriteria
- a String
object.Response
object.public OnmsIpInterfaceResource getIpInterfaceResource(@Context javax.ws.rs.container.ResourceContext context)
getIpInterfaceResource
org.opennms.web.rest.OnmsIpInterfaceResource
object.public OnmsSnmpInterfaceResource getSnmpInterfaceResource(@Context javax.ws.rs.container.ResourceContext context)
getSnmpInterfaceResource
org.opennms.web.rest.OnmsSnmpInterfaceResource
object.public AssetRecordResource getAssetRecordResource(@Context javax.ws.rs.container.ResourceContext context)
getAssetRecordResource
org.opennms.web.rest.AssetRecordResource
object.public HardwareInventoryResource getHardwareInventoryResource(@Context javax.ws.rs.container.ResourceContext context)
getHardwareInventoryResource
org.opennms.web.rest.HardwareInventoryResource
object.public OnmsCategoryCollection getCategoriesForNode(String nodeCriteria)
public OnmsCategory getCategoryForNode(String nodeCriteria, String categoryName)
public javax.ws.rs.core.Response addCategoryToNode(@Context javax.ws.rs.core.UriInfo uriInfo, String nodeCriteria, OnmsCategory category)
public javax.ws.rs.core.Response addCategoryToNode(@Context javax.ws.rs.core.UriInfo uriInfo, String nodeCriteria, String categoryName)
public javax.ws.rs.core.Response updateCategoryForNode(String nodeCriteria, String categoryName, MultivaluedMapImpl params)
Copyright © 2021. All rights reserved.