|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.opennms.web.svclayer.inventory.InventoryService
public class InventoryService
InventoryService class.
| Constructor Summary | |
|---|---|
InventoryService()
Constructor for InventoryService. |
|
| Method Summary | |
|---|---|
void |
afterPropertiesSet()
afterPropertiesSet |
boolean |
checkRancidNode(String deviceName)
checkRancidNode |
boolean |
checkRWSAlive()
checkRWSAlive |
boolean |
createBucket(String bucket)
createBucket |
boolean |
createNodeOnRouterDb(String groupName,
String deviceName,
String deviceType,
String status,
String comment)
createNodeOnRouterDb |
boolean |
deleteBucket(String bucket)
deleteBucket |
boolean |
deleteBucketItem(String bucket,
String filename)
deleteBucketItem |
boolean |
deleteClogin(String deviceName)
deleteClogin |
boolean |
deleteNodeOnRouterDb(String groupName,
String deviceName)
deleteNodeOnRouterDb |
Map<String,Object> |
getBuckets(int nodeid)
getBuckets |
Map<String,Object> |
getInventory(int nodeid,
String group,
String version)
getInventory |
NodeDao |
getNodeDao()
getNodeDao |
Map<String,Object> |
getRancidNode(int nodeid)
getRancidNode |
Map<String,Object> |
getRancidNodeBase(int nodeid)
getRancidNodeBase |
Map<String,Object> |
getRancidNodeList(int nodeid)
getRancidNodeList |
Map<String,Object> |
getRancidNodeList(int nodeid,
String group)
getRancidNodeList |
Map<String,Object> |
getRancidNodeWithCLogin(int nodeid,
boolean adminRole)
getRancidNodeWithCLogin |
Map<String,Object> |
getRancidNodeWithCLoginForGroup(int nodeid,
String group,
boolean adminRole)
getRancidNodeWithCLoginForGroup |
RWSConfig |
getRwsConfig()
getRwsConfig |
void |
setNodeDao(NodeDao nodeDao)
setNodeDao |
void |
setRwsConfig(RWSConfig rwsConfig)
setRwsConfig |
boolean |
switchStatus(String groupName,
String deviceName)
switchStatus |
boolean |
updateClogin(String deviceName,
String groupName,
String userID,
String pass,
String enPass,
String loginM,
String autoE)
updateClogin |
boolean |
updateNodeOnRouterDb(String groupName,
String deviceName,
String deviceType,
String status,
String comment)
updateNodeOnRouterDb |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public InventoryService()
Constructor for InventoryService.
| Method Detail |
|---|
public void afterPropertiesSet()
throws Exception
afterPropertiesSet
afterPropertiesSet in interface org.springframework.beans.factory.InitializingBeanException - if any.public RWSConfig getRwsConfig()
getRwsConfig
RWSConfig object.public void setRwsConfig(RWSConfig rwsConfig)
setRwsConfig
rwsConfig - a RWSConfig object.public NodeDao getNodeDao()
getNodeDao
NodeDao object.public void setNodeDao(NodeDao nodeDao)
setNodeDao
nodeDao - a NodeDao object.public boolean checkRWSAlive()
checkRWSAlive
public boolean checkRancidNode(String deviceName)
checkRancidNode
deviceName - a String object.
public Map<String,Object> getRancidNodeBase(int nodeid)
getRancidNodeBase
nodeid - a int.
public Map<String,Object> getRancidNode(int nodeid)
getRancidNode
nodeid - a int.
public Map<String,Object> getBuckets(int nodeid)
getBuckets
nodeid - a int.
public Map<String,Object> getRancidNodeList(int nodeid)
getRancidNodeList
nodeid - a int.
public Map<String,Object> getRancidNodeList(int nodeid,
String group)
getRancidNodeList
nodeid - a int.group - a String object.
public Map<String,Object> getInventory(int nodeid,
String group,
String version)
getInventory
nodeid - a int.group - a String object.version - a String object.
public Map<String,Object> getRancidNodeWithCLoginForGroup(int nodeid,
String group,
boolean adminRole)
getRancidNodeWithCLoginForGroup
nodeid - a int.group - a String object.adminRole - a boolean.
public Map<String,Object> getRancidNodeWithCLogin(int nodeid,
boolean adminRole)
getRancidNodeWithCLogin
nodeid - a int.adminRole - a boolean.
public boolean switchStatus(String groupName,
String deviceName)
switchStatus
groupName - a String object.deviceName - a String object.
public boolean deleteNodeOnRouterDb(String groupName,
String deviceName)
deleteNodeOnRouterDb
groupName - a String object.deviceName - a String object.
public boolean updateNodeOnRouterDb(String groupName,
String deviceName,
String deviceType,
String status,
String comment)
updateNodeOnRouterDb
groupName - a String object.deviceName - a String object.deviceType - a String object.status - a String object.comment - a String object.
public boolean createNodeOnRouterDb(String groupName,
String deviceName,
String deviceType,
String status,
String comment)
createNodeOnRouterDb
groupName - a String object.deviceName - a String object.deviceType - a String object.status - a String object.comment - a String object.
public boolean updateClogin(String deviceName,
String groupName,
String userID,
String pass,
String enPass,
String loginM,
String autoE)
updateClogin
deviceName - a String object.groupName - a String object.userID - a String object.pass - a String object.enPass - a String object.loginM - a String object.autoE - a String object.
public boolean deleteClogin(String deviceName)
deleteClogin
deviceName - a String object.
public boolean deleteBucketItem(String bucket,
String filename)
deleteBucketItem
bucket - a String object.filename - a String object.
public boolean deleteBucket(String bucket)
deleteBucket
bucket - a String object.
public boolean createBucket(String bucket)
createBucket
bucket - a String object.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||