org.opennms.web.rest
Class NodeRestService

java.lang.Object
  extended by org.opennms.web.rest.OnmsRestService
      extended by org.opennms.web.rest.NodeRestService

@Component
@PerRequest
@Scope(value="prototype")
@Transactional
public class NodeRestService
extends OnmsRestService

Basic Web Service using REST for OnmsNode entity

Author:
Alejandro Galue

Nested Class Summary
 
Nested classes/interfaces inherited from class org.opennms.web.rest.OnmsRestService
OnmsRestService.ComparisonOperation
 
Constructor Summary
NodeRestService()
           
 
Method Summary
 javax.ws.rs.core.Response addNode(OnmsNode node)
           
 javax.ws.rs.core.Response deleteNode(String nodeCriteria)
           
 OnmsCategoryResource getCategoryResource()
           
 OnmsIpInterfaceResource getIpInterfaceResource()
           
 OnmsNode getNode(String nodeCriteria)
           
 OnmsNodeList getNodes()
           
 OnmsSnmpInterfaceResource getSnmpInterfaceResource()
           
 javax.ws.rs.core.Response updateNode(String nodeCriteria, MultivaluedMapImpl params)
           
 
Methods inherited from class org.opennms.web.rest.OnmsRestService
addFiltersToCriteria, addOrdering, convertNameToPropertyName, log, setLimitOffset, setLimitOffset, setProperties, throwException
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NodeRestService

public NodeRestService()
Method Detail

getNodes

public OnmsNodeList getNodes()

getNode

public OnmsNode getNode(String nodeCriteria)

addNode

public javax.ws.rs.core.Response addNode(OnmsNode node)

updateNode

public javax.ws.rs.core.Response updateNode(String nodeCriteria,
                                            MultivaluedMapImpl params)

deleteNode

public javax.ws.rs.core.Response deleteNode(String nodeCriteria)

getIpInterfaceResource

public OnmsIpInterfaceResource getIpInterfaceResource()

getSnmpInterfaceResource

public OnmsSnmpInterfaceResource getSnmpInterfaceResource()

getCategoryResource

public OnmsCategoryResource getCategoryResource()


Copyright © 2009. All Rights Reserved.