AdventNet Web NMS 4 DMS API Specification

com.adventnet.nms.extranet.remote.communication.fw.noc
Interface DUMIfc
public interface DUMIfc

This interface is used to upgrade/downgrade the module data and the configuration data from DMS to Central Server and vice versa. This is to provide to support for having different FeaturePack version between the Central Servre and the DMS. This interface has to be implemented to upgrade/downgrade the data for each FeaturePack, if the higher version of the FeaturePack has additional attributes in configuration data or module data.


Method Summary
 DataObject getUpdatedData(boolean isFromDMS, DataObject dataObject, java.lang.String fpVersion)
          This method will be called whenever the data flow from DMS to Central Server and vice versa, i.e when the module data is transferred from DMS to Central or Central to DMS, this method will be called.
 java.util.Hashtable getUpdatedData(boolean isFromClient, java.util.Hashtable xmlHash, java.lang.String fpVersion)
          This method will be called whenever the data flow from Client to Central Server and vice versa, i.e when the configuration data is transferred from Client(Central Server) to Central Server or Central Server to Client during the RTA, this method will be called.
 

Method Detail

getUpdatedData

public DataObject getUpdatedData(boolean isFromDMS,
                                 DataObject dataObject,
                                 java.lang.String fpVersion)
This method will be called whenever the data flow from DMS to Central Server and vice versa, i.e when the module data is transferred from DMS to Central or Central to DMS, this method will be called. In the implementation the data has to be upgraded when the data is from the DMS to Central Server and the data has to be downgraded when the data is to DMS from Cenrtral Server, if there is a change in the higher version of the FeaturePack. Note : The FeaturePack version in Central Servre should be equal or higher than the FeaturePack version in DMS.
Parameters:
isFromDMS - this will be true if the data is from DMS, else false
dataObject - the data that has to be transferred to DMS/Central
fpVersion - version of the FeaturePack
Returns:
modified DataObject

getUpdatedData

public java.util.Hashtable getUpdatedData(boolean isFromClient,
                                          java.util.Hashtable xmlHash,
                                          java.lang.String fpVersion)
This method will be called whenever the data flow from Client to Central Server and vice versa, i.e when the configuration data is transferred from Client(Central Server) to Central Server or Central Server to Client during the RTA, this method will be called. In the implementation the configuration data has to be modified appropriately based on the data flow, if there is any change in the higher version of FeaturePack. Note : The FeaturePack version in Central Servre should be equal or higher than the FeaturePack version in DMS.
Parameters:
isFromClient - true if the data is from the Client else false
xmlHash - configuration hashtable. Here the key will be the name of the configuration file, value will be the root element of the configuration file
fpVersion - version of the FeaturePack
Returns:
modified configuration Hashtable

AdventNet Web NMS 4 DMS API Specification