org.opennms.web.svclayer.inventory
Class InventoryService
java.lang.Object
org.opennms.web.svclayer.inventory.InventoryService
- All Implemented Interfaces:
- org.springframework.beans.factory.InitializingBean
public class InventoryService
- extends Object
- implements org.springframework.beans.factory.InitializingBean
|
Method Summary |
void |
afterPropertiesSet()
|
boolean |
checkRancidNode(String deviceName)
|
boolean |
checkRWSAlive()
|
boolean |
createBucket(String bucket)
|
boolean |
createNodeOnRouterDb(String groupName,
String deviceName,
String deviceType,
String status,
String comment)
|
boolean |
deleteBucket(String bucket)
|
boolean |
deleteBucketItem(String bucket,
String filename)
|
boolean |
deleteClogin(String deviceName)
|
boolean |
deleteNodeOnRouterDb(String groupName,
String deviceName)
|
Map<String,Object> |
getBuckets(int nodeid)
|
Map<String,Object> |
getInventory(int nodeid,
String group,
String version)
|
NodeDao |
getNodeDao()
|
Map<String,Object> |
getRancidNode(int nodeid)
|
Map<String,Object> |
getRancidNodeBase(int nodeid)
|
Map<String,Object> |
getRancidNodeList(int nodeid)
|
Map<String,Object> |
getRancidNodeList(int nodeid,
String group)
|
Map<String,Object> |
getRancidNodeWithCLogin(int nodeid,
boolean adminRole)
|
Map<String,Object> |
getRancidNodeWithCLoginForGroup(int nodeid,
String group,
boolean adminRole)
|
RWSConfig |
getRwsConfig()
|
void |
setNodeDao(NodeDao nodeDao)
|
void |
setRwsConfig(RWSConfig rwsConfig)
|
boolean |
switchStatus(String groupName,
String deviceName)
|
boolean |
updateClogin(String deviceName,
String groupName,
String userID,
String pass,
String enPass,
String loginM,
String autoE)
|
boolean |
updateNodeOnRouterDb(String groupName,
String deviceName,
String deviceType,
String status,
String comment)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
InventoryService
public InventoryService()
afterPropertiesSet
public void afterPropertiesSet()
throws Exception
- Specified by:
afterPropertiesSet in interface org.springframework.beans.factory.InitializingBean
- Throws:
Exception
getRwsConfig
public RWSConfig getRwsConfig()
setRwsConfig
public void setRwsConfig(RWSConfig rwsConfig)
getNodeDao
public NodeDao getNodeDao()
setNodeDao
public void setNodeDao(NodeDao nodeDao)
checkRWSAlive
public boolean checkRWSAlive()
checkRancidNode
public boolean checkRancidNode(String deviceName)
getRancidNodeBase
public Map<String,Object> getRancidNodeBase(int nodeid)
getRancidNode
public Map<String,Object> getRancidNode(int nodeid)
getBuckets
public Map<String,Object> getBuckets(int nodeid)
getRancidNodeList
public Map<String,Object> getRancidNodeList(int nodeid)
getRancidNodeList
public Map<String,Object> getRancidNodeList(int nodeid,
String group)
getInventory
public Map<String,Object> getInventory(int nodeid,
String group,
String version)
getRancidNodeWithCLoginForGroup
public Map<String,Object> getRancidNodeWithCLoginForGroup(int nodeid,
String group,
boolean adminRole)
getRancidNodeWithCLogin
public Map<String,Object> getRancidNodeWithCLogin(int nodeid,
boolean adminRole)
switchStatus
public boolean switchStatus(String groupName,
String deviceName)
deleteNodeOnRouterDb
public boolean deleteNodeOnRouterDb(String groupName,
String deviceName)
updateNodeOnRouterDb
public boolean updateNodeOnRouterDb(String groupName,
String deviceName,
String deviceType,
String status,
String comment)
createNodeOnRouterDb
public boolean createNodeOnRouterDb(String groupName,
String deviceName,
String deviceType,
String status,
String comment)
updateClogin
public boolean updateClogin(String deviceName,
String groupName,
String userID,
String pass,
String enPass,
String loginM,
String autoE)
deleteClogin
public boolean deleteClogin(String deviceName)
deleteBucketItem
public boolean deleteBucketItem(String bucket,
String filename)
deleteBucket
public boolean deleteBucket(String bucket)
createBucket
public boolean createBucket(String bucket)
Copyright © 2009. All Rights Reserved.