org.opennms.web.rest
Class OnmsIpInterfaceResource

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

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


Nested Class Summary
 
Nested classes/interfaces inherited from class org.opennms.web.rest.OnmsRestService
OnmsRestService.ComparisonOperation
 
Field Summary
 
Fields inherited from class org.opennms.web.rest.OnmsRestService
DEFAULT_LIMIT
 
Constructor Summary
OnmsIpInterfaceResource()
           
 
Method Summary
 javax.ws.rs.core.Response addIpInterface(String nodeCriteria, OnmsIpInterface ipInterface)
          addIpInterface
 javax.ws.rs.core.Response deleteIpInterface(String nodeCriteria, String ipAddress)
          deleteIpInterface
 OnmsIpInterface getIpInterface(String nodeCriteria, String ipAddress)
          getIpInterface
 OnmsIpInterfaceList getIpInterfaces(String nodeCriteria)
          getIpInterfaces
 OnmsMonitoredServiceResource getServices()
          getServices
 javax.ws.rs.core.Response updateIpInterface(String nodeCriteria, String ipAddress, MultivaluedMapImpl params)
          updateIpInterface
 
Methods inherited from class org.opennms.web.rest.OnmsRestService
addFiltersToCriteria, addOrdering, addOrdering, convertNameToPropertyName, getDistinctIdCriteria, log, setLimitOffset, setLimitOffset, setLimitOffset, setProperties, throwException
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OnmsIpInterfaceResource

public OnmsIpInterfaceResource()
Method Detail

getIpInterfaces

public OnmsIpInterfaceList getIpInterfaces(String nodeCriteria)

getIpInterfaces

Parameters:
nodeCriteria - a String object.
Returns:
a OnmsIpInterfaceList object.

getIpInterface

public OnmsIpInterface getIpInterface(String nodeCriteria,
                                      String ipAddress)

getIpInterface

Parameters:
nodeCriteria - a String object.
ipAddress - a String object.
Returns:
a OnmsIpInterface object.

addIpInterface

public javax.ws.rs.core.Response addIpInterface(String nodeCriteria,
                                                OnmsIpInterface ipInterface)

addIpInterface

Parameters:
nodeCriteria - a String object.
ipInterface - a OnmsIpInterface object.
Returns:
a Response object.

updateIpInterface

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

updateIpInterface

Parameters:
nodeCriteria - a String object.
ipAddress - a String object.
params - a MultivaluedMapImpl object.
Returns:
a Response object.

deleteIpInterface

public javax.ws.rs.core.Response deleteIpInterface(String nodeCriteria,
                                                   String ipAddress)

deleteIpInterface

Parameters:
nodeCriteria - a String object.
ipAddress - a String object.
Returns:
a Response object.

getServices

public OnmsMonitoredServiceResource getServices()

getServices

Returns:
a OnmsMonitoredServiceResource object.


Copyright © 2011. All Rights Reserved.