@Component @PerRequest @Scope(value="prototype") @Transactional public class OnmsSnmpInterfaceResource extends OnmsRestService
OnmsRestService.ComparisonOperation
DEFAULT_LIMIT
Constructor and Description |
---|
OnmsSnmpInterfaceResource() |
Modifier and Type | Method and Description |
---|---|
javax.ws.rs.core.Response |
addSnmpInterface(String nodeCriteria,
OnmsSnmpInterface snmpInterface)
addSnmpInterface
|
javax.ws.rs.core.Response |
deleteSnmpInterface(String nodeCriteria,
int ifIndex)
deleteSnmpInterface
|
OnmsEntity |
getSnmpInterface(String nodeCriteria,
int ifIndex)
getSnmpInterface
|
OnmsSnmpInterfaceList |
getSnmpInterfaces(String nodeCriteria)
getSnmpInterfaces
|
javax.ws.rs.core.Response |
updateSnmpInterface(String nodeCriteria,
int ifIndex,
MultivaluedMapImpl params)
updateSnmpInterface
|
applyQueryFilters, applyQueryFilters, getBeanWrapperForClass, getException, getException, getRedirectUri, readLock, readUnlock, removeParameter, removeParameter, setProperties, writeLock, writeUnlock
public OnmsSnmpInterfaceList getSnmpInterfaces(String nodeCriteria)
getSnmpInterfaces
nodeCriteria
- a String
object.OnmsSnmpInterfaceList
object.public OnmsEntity getSnmpInterface(String nodeCriteria, int ifIndex)
getSnmpInterface
nodeCriteria
- a String
object.ifIndex
- a int.OnmsEntity
object.public javax.ws.rs.core.Response addSnmpInterface(String nodeCriteria, OnmsSnmpInterface snmpInterface)
addSnmpInterface
nodeCriteria
- a String
object.snmpInterface
- a OnmsSnmpInterface
object.Response
object.public javax.ws.rs.core.Response deleteSnmpInterface(String nodeCriteria, int ifIndex)
deleteSnmpInterface
nodeCriteria
- a String
object.ifIndex
- a int.Response
object.public javax.ws.rs.core.Response updateSnmpInterface(String nodeCriteria, int ifIndex, MultivaluedMapImpl params)
updateSnmpInterface
nodeCriteria
- a String
object.ifIndex
- a int.params
- a MultivaluedMapImpl
object.Response
object.Copyright © 2015. All rights reserved.