Package org.opennms.web.rest.v1
Class OnmsSnmpInterfaceResource
- java.lang.Object
-
- org.opennms.web.rest.v1.OnmsRestService
-
- org.opennms.web.rest.v1.OnmsSnmpInterfaceResource
-
@Component("onmsSnmpInterfaceResource") @Transactional public class OnmsSnmpInterfaceResource extends OnmsRestService
OnmsSnmpInterfaceResource class.
- Since:
- 1.8.1
- Version:
- $Id: $
- Author:
- ranger
-
-
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 OnmsSnmpInterfaceResource()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description javax.ws.rs.core.Response
addSnmpInterface(javax.ws.rs.core.UriInfo uriInfo, java.lang.String nodeCriteria, OnmsSnmpInterface snmpInterface)
addSnmpInterfacejavax.ws.rs.core.Response
deleteSnmpInterface(java.lang.String nodeCriteria, int ifIndex)
deleteSnmpInterfaceOnmsSnmpInterface
getSnmpInterface(java.lang.String nodeCriteria, int ifIndex)
getSnmpInterfaceOnmsSnmpInterfaceList
getSnmpInterfaces(javax.ws.rs.core.UriInfo uriInfo, java.lang.String nodeCriteria)
getSnmpInterfacesjavax.ws.rs.core.Response
updateSnmpInterface(java.lang.String nodeCriteria, int ifIndex, MultivaluedMapImpl params)
updateSnmpInterface-
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
-
getSnmpInterfaces
public OnmsSnmpInterfaceList getSnmpInterfaces(@Context javax.ws.rs.core.UriInfo uriInfo, java.lang.String nodeCriteria)
getSnmpInterfaces
- Parameters:
nodeCriteria
- aString
object.- Returns:
- a
OnmsSnmpInterfaceList
object.
-
getSnmpInterface
public OnmsSnmpInterface getSnmpInterface(java.lang.String nodeCriteria, int ifIndex)
getSnmpInterface
- Parameters:
nodeCriteria
- aString
object.ifIndex
- a int.- Returns:
- a
OnmsSnmpInterface
object.
-
addSnmpInterface
public javax.ws.rs.core.Response addSnmpInterface(@Context javax.ws.rs.core.UriInfo uriInfo, java.lang.String nodeCriteria, OnmsSnmpInterface snmpInterface)
addSnmpInterface
- Parameters:
nodeCriteria
- aString
object.snmpInterface
- aOnmsSnmpInterface
object.- Returns:
- a
Response
object.
-
deleteSnmpInterface
public javax.ws.rs.core.Response deleteSnmpInterface(java.lang.String nodeCriteria, int ifIndex)
deleteSnmpInterface
- Parameters:
nodeCriteria
- aString
object.ifIndex
- a int.- Returns:
- a
Response
object.
-
updateSnmpInterface
public javax.ws.rs.core.Response updateSnmpInterface(java.lang.String nodeCriteria, int ifIndex, MultivaluedMapImpl params)
updateSnmpInterface
- Parameters:
nodeCriteria
- aString
object.ifIndex
- a int.params
- aMultivaluedMapImpl
object.- Returns:
- a
Response
object.
-
-