|
AdventNet Web NMS 4 DMS API Specification | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object
|
+--com.adventnet.nms.rta.fw.client.AbstractRTADataModel
|
+--com.adventnet.nms.rta.fw.client.DefaultSingleObjectModel
This class has to be extended to provide the RTA UI impl for the conf-file, which contains only one entry(node) in it(for ex: seed.file).
| Field Summary | |
protected java.lang.Object |
uo
|
| Constructor Summary | |
DefaultSingleObjectModel()
|
|
| Method Summary | |
boolean |
add(RTAData uo)
This will add a RTAData object of the configuration file into the uoList(ArrayList) of Data Model. |
abstract java.util.Hashtable |
constructXML()
This method will be called when the changes are applied to the server. |
boolean |
delete(java.lang.String key)
This will delete the RTA Data from the Data Model |
void |
display()
This is for internal use |
abstract java.util.Properties |
getConfProperties()
This will return a Properties, which contains the details like \"moduleName\", which is the key in the ConfUpdnListeners.xml file for the ConfUpdnListener implementation and the configuration file name, etc. |
abstract java.lang.Object |
getDefaultUserObject()
This method will be called when a leaf node is added to probe. |
java.util.ArrayList |
getKeyList()
This will return the list of keys in the Data Model, i.e the list of tree nodes(node names) in the data model |
java.lang.Object |
getUserObject(java.lang.String key)
This will return the RTAData object for the given key |
boolean |
isKeyExists(java.lang.String key)
This returns true if the given key exists in RTA Data Model. |
abstract boolean |
loadData(java.util.Hashtable xmlHash)
This method will be called when a probe node in the ProbePanel component is selected. |
boolean |
modify(java.lang.String oldKey,
java.lang.String newKey)
This will modify the name of the tree node(RTAData's key) in the Data Model |
boolean |
updateUserObject(java.lang.Object uo)
This will update the RTAData in the Data Model |
void |
validate()
This is for internal use |
| Methods inherited from class com.adventnet.nms.rta.fw.client.AbstractRTADataModel |
getProbeName, isModified, isMultiObjectModel, setModified, setProbeName |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
protected java.lang.Object uo
| Constructor Detail |
public DefaultSingleObjectModel()
| Method Detail |
public abstract boolean loadData(java.util.Hashtable xmlHash)
loadData in class AbstractRTADataModelxmlHash - Configuration file content. key will be the name of the configuration file and the value will be the configuration file content in the form XMLNode object.public abstract java.util.Hashtable constructXML()
constructXML in class AbstractRTADataModelpublic abstract java.util.Properties getConfProperties()
getConfProperties in class AbstractRTADataModelpublic abstract java.lang.Object getDefaultUserObject()
getDefaultUserObject in class AbstractRTADataModelpublic final java.lang.Object getUserObject(java.lang.String key)
getUserObject in class AbstractRTADataModelkey - name of the tree nodepublic final void validate()
validate in class AbstractRTADataModelpublic final boolean isKeyExists(java.lang.String key)
isKeyExists in class AbstractRTADataModelkey - name of the tree nodepublic final java.util.ArrayList getKeyList()
getKeyList in class AbstractRTADataModelpublic final boolean add(RTAData uo)
add in class AbstractRTADataModeluo - RTAData (Module data) to be added in the DataModel's Data list.
public final boolean modify(java.lang.String oldKey,
java.lang.String newKey)
modify in class AbstractRTADataModeloldKey - old key of the RTA DatanewKey - new key of the RTA Datapublic final boolean delete(java.lang.String key)
delete in class AbstractRTADataModelkey - name of tree node in the ProbePanel( RTA Data's key)public final boolean updateUserObject(java.lang.Object uo)
updateUserObject in class AbstractRTADataModeluo - RTA Data to be updatedpublic void display()
display in class AbstractRTADataModel
|
AdventNet Web NMS 4 DMS API Specification | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||