@Component(value="hardwareInventoryResource") @Transactional public class HardwareInventoryResource extends OnmsRestService
OnmsRestService.ComparisonOperationDEFAULT_LIMIT| Constructor and Description | 
|---|
HardwareInventoryResource()  | 
| Modifier and Type | Method and Description | 
|---|---|
javax.ws.rs.core.Response | 
addOrReplaceChild(String nodeCriteria,
                 Integer parentEntPhysicalIndex,
                 OnmsHwEntity child)
Adds or replaces a child entity. 
 | 
javax.ws.rs.core.Response | 
deleteHwEntity(String nodeCriteria,
              Integer entPhysicalIndex)
Delete hardware entity. 
 | 
OnmsHwEntity | 
getHardwareInventory(String nodeCriteria)
Gets the hardware inventory. 
 | 
OnmsHwEntity | 
getHwEntityByIndex(String nodeCriteria,
                  Integer entPhysicalIndex)
Gets the hardware entity by index. 
 | 
javax.ws.rs.core.Response | 
setHardwareInventory(String nodeCriteria,
                    OnmsHwEntity entity)
Sets the hardware inventory (root object) 
 | 
javax.ws.rs.core.Response | 
updateHwEntity(String nodeCriteria,
              Integer entPhysicalIndex,
              MultivaluedMapImpl params)
Update hardware entity. 
 | 
applyQueryFilters, applyQueryFilters, getBadRequestResponse, getBeanWrapperForClass, getException, getException, getNumericValue, getRedirectUri, readLock, readUnlock, removeParameter, removeParameter, setProperties, writeLock, writeUnlockpublic OnmsHwEntity getHardwareInventory(String nodeCriteria)
nodeCriteria - the node criteriapublic OnmsHwEntity getHwEntityByIndex(String nodeCriteria, Integer entPhysicalIndex)
nodeCriteria - the node criteriaentPhysicalIndex - the entity physical indexpublic javax.ws.rs.core.Response setHardwareInventory(String nodeCriteria, OnmsHwEntity entity)
nodeCriteria - the node criteriaentity - the root entity objectpublic javax.ws.rs.core.Response addOrReplaceChild(String nodeCriteria, Integer parentEntPhysicalIndex, OnmsHwEntity child)
nodeCriteria - the node criteriaparentEntPhysicalIndex - the parent entity physical indexchild - the childpublic javax.ws.rs.core.Response updateHwEntity(String nodeCriteria, Integer entPhysicalIndex, MultivaluedMapImpl params)
nodeCriteria - the node criteriaentPhysicalIndex - the entity physical indexparams - the parametersCopyright © 2020. All rights reserved.