WebNMS 5 API Specification

com.adventnet.beans.configuration
Class EditedValueChecker

java.lang.Object
  |
  +--com.adventnet.beans.configuration.EditedValueChecker

public class EditedValueChecker
extends java.lang.Object

EditedValueChecker is a component that helps sending only the edited values for configuration.

The method startCollectingData(ConfigInfo) collects the present values of all the groups, present in the ConfigInfo.

The method removeNonEditedValues removes the Non Edited values from the given Hash table.

See Also:
ConfigInfo

Constructor Summary
EditedValueChecker()
           
EditedValueChecker(ConfigInfo infoArg)
           
 
Method Summary
 void clearAll()
          Clears all the collected group information.
 void removeNonEditedValues(java.lang.String gname, java.util.Hashtable valueProp)
          Compares the value of each attribute present in the group, passed as the argument and removes the attribute whose value is not changed from the hash table valueProp.
 void setConfigInfo(ConfigInfo infoArg)
          Sets the ConfigInfo from where the information has to be collected
 void startCollectingData()
          Starts collecting the data of the groups present in the ConfigInfo, set using setConfigInfo.
 void startCollectingData(ConfigInfo infoArg)
          Starts collecting the data of the groups present in the ConfigInfo, passed as the argument.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EditedValueChecker

public EditedValueChecker()

EditedValueChecker

public EditedValueChecker(ConfigInfo infoArg)
Method Detail

setConfigInfo

public void setConfigInfo(ConfigInfo infoArg)
Sets the ConfigInfo from where the information has to be collected
See Also:
ConfigInfo

startCollectingData

public void startCollectingData()
                         throws java.lang.NullPointerException
Starts collecting the data of the groups present in the ConfigInfo, set using setConfigInfo.
See Also:
setConfigInfo(com.adventnet.beans.configuration.ConfigInfo)

startCollectingData

public void startCollectingData(ConfigInfo infoArg)
                         throws java.lang.NullPointerException
Starts collecting the data of the groups present in the ConfigInfo, passed as the argument.
See Also:
ConfigInfo

removeNonEditedValues

public void removeNonEditedValues(java.lang.String gname,
                                  java.util.Hashtable valueProp)
Compares the value of each attribute present in the group, passed as the argument and removes the attribute whose value is not changed from the hash table valueProp.

clearAll

public void clearAll()
Clears all the collected group information.

WebNMS 5 API Specification