AdventNet Web NMS 4 DMS API Specification

com.adventnet.nms.rta.fw.client
Class ProbePanelActionsAdapter
java.lang.Object
  |
  +--com.adventnet.nms.rta.fw.client.ProbePanelActionsAdapter
All Implemented Interfaces:
ProbePanelActions

public class ProbePanelActionsAdapter
extends java.lang.Object
implements ProbePanelActions

This is the Adapter class for the ProbePanelActions interface. This class can be used, when the user wants to receive notification about the actions occurs in the ProbePanel. Suppose the user wants to provide the implementation for some of(not all) the methods in the ProbePanelActions interface, instead of giving the empty implementation for all the methods, he can extend this Adapter class and he can override the required methods.


Constructor Summary
ProbePanelActionsAdapter()
           
 
Method Summary
 void postAdd(AbstractRTADataModel dataModel, java.lang.String probeName, java.lang.String value)
          This method will be called after a leaf node has been added for a probe.
 void postApply(AbstractRTADataModel dataModel, java.util.ArrayList modifiedProbes)
          This method will be called after applied the changes to the server.
 void postCopy(AbstractRTADataModel dataModel, java.lang.String probeName, java.lang.String value)
          This method will be called after a leaf node has been copied in the probe.
 void postCut(AbstractRTADataModel dataModel, java.lang.String probeName, java.lang.String value)
          This method will be called after a leaf node has been cut from the probe.
 void postDelete(AbstractRTADataModel dataModel, java.lang.String probeName, java.lang.String value)
          This method will be called after a leaf node has been deleted from a probe.
 void postModify(AbstractRTADataModel dataModel, java.lang.String probeName, java.lang.String oldValue, java.lang.String newValue)
          This method will be called after a leaf node(node name) has been modified for a probe.
 void postPaste(AbstractRTADataModel dataModel, java.lang.String probeName, java.lang.String value)
          This method will be called after a leaf node has been pasted into the probe.
 void postSelection(AbstractRTADataModel dataModel, java.lang.String oldProbeName, java.lang.String oldValue, java.lang.String newProbeName, java.lang.String newValue)
          This method will be called after a leaf node has been selected in the tree.
 void preAdd(AbstractRTADataModel dataModel, java.lang.String probeName)
          This method will be called when a user tries to add a leaf node for a probe.
 void preApply(AbstractRTADataModel dataModel, java.util.ArrayList modifiedProbes)
          This method will be called when a user tries to apply the changes that have been made.
 void preCopy(AbstractRTADataModel dataModel, java.lang.String probeName, java.lang.String value)
          This method will be called when a user tries to copy a leaf node in a probe.
 void preCut(AbstractRTADataModel dataModel, java.lang.String probeName, java.lang.String value)
          This method will be called when a user tries to cut a leaf node from a probe.
 void preDelete(AbstractRTADataModel dataModel, java.lang.String probeName, java.lang.String value)
          This method will be called when a user tries to delete a leaf node for a probe.
 void preModify(AbstractRTADataModel dataModel, java.lang.String probeName, java.lang.String value)
          This method will be called when a user tries to modify a leaf node(node name) for a probe.
 void prePaste(AbstractRTADataModel dataModel, java.lang.String probeName)
          This method will be called when a user tries to paste a leaf node in a probe.
 void preSelection(AbstractRTADataModel dataModel, java.lang.String oldProbeName, java.lang.String oldValue, java.lang.String newProbeName, java.lang.String newValue)
          This method will be called when a user tries to select a node in the tree.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ProbePanelActionsAdapter

public ProbePanelActionsAdapter()
Method Detail

preAdd

public void preAdd(AbstractRTADataModel dataModel,
                   java.lang.String probeName)
This method will be called when a user tries to add a leaf node for a probe. This will be invoked before the node gets added into the probe. Here user can decide wheather to allow the addition of node or not. If it needs to be allowed, he can simply leave it else he can throw an RTAException specifying the proper reason. The thrown message will be displayed to the user and and addition will not be performed.
Specified by:
preAdd in interface ProbePanelActions
Parameters:
dataModel - data model used in the RTA UI implementation, the data model value should either be the instance of \"DefaultSingleObjectModel\" or \"DefultMultiObjectModel\" class.
probeName - name of the probe

postAdd

public void postAdd(AbstractRTADataModel dataModel,
                    java.lang.String probeName,
                    java.lang.String value)
This method will be called after a leaf node has been added for a probe.
Specified by:
postAdd in interface ProbePanelActions
Parameters:
dataModel - data model used in the RTA UI implementation, the data model value should either be the instance of \"DefaultSingleObjectModel\" or \"DefultMultiObjectModel\" class.
probeName - name of the probe
value -  

preModify

public void preModify(AbstractRTADataModel dataModel,
                      java.lang.String probeName,
                      java.lang.String value)
This method will be called when a user tries to modify a leaf node(node name) for a probe. User can throw RTAException with proper message to disallow the modification operation.
Specified by:
preModify in interface ProbePanelActions
Parameters:
dataModel - data model used in the RTA UI implementation, the data model value should either be the instance of \"DefaultSingleObjectModel\" or \"DefultMultiObjectModel\" class.
probeName - name of the probe
value -  

postModify

public void postModify(AbstractRTADataModel dataModel,
                       java.lang.String probeName,
                       java.lang.String oldValue,
                       java.lang.String newValue)
This method will be called after a leaf node(node name) has been modified for a probe.
Specified by:
postModify in interface ProbePanelActions
Parameters:
dataModel - data model used in the RTA UI implementation, the data model value should either be the instance of \"DefaultSingleObjectModel\" or \"DefultMultiObjectModel\" class.
probeName - name of the probe
oldValue -  
newValue -  

preDelete

public void preDelete(AbstractRTADataModel dataModel,
                      java.lang.String probeName,
                      java.lang.String value)
This method will be called when a user tries to delete a leaf node for a probe. User can throw RTAException with proper message to disallow the deletion operation.
Specified by:
preDelete in interface ProbePanelActions
Parameters:
dataModel - data model used in the RTA UI implementation, the data model value should either be the instance of \"DefaultSingleObjectModel\" or \"DefultMultiObjectModel\" class.
probeName - name of the probe
value -  

postDelete

public void postDelete(AbstractRTADataModel dataModel,
                       java.lang.String probeName,
                       java.lang.String value)
This method will be called after a leaf node has been deleted from a probe.
Specified by:
postDelete in interface ProbePanelActions
Parameters:
dataModel - data model used in the RTA UI implementation, the data model value should either be the instance of \"DefaultSingleObjectModel\" or \"DefultMultiObjectModel\" class.
probeName - name of the probe
value -  

preCopy

public void preCopy(AbstractRTADataModel dataModel,
                    java.lang.String probeName,
                    java.lang.String value)
This method will be called when a user tries to copy a leaf node in a probe. User can throw RTAException with proper message to disallow the copy operation.
Specified by:
preCopy in interface ProbePanelActions
Parameters:
dataModel - data model used in the RTA UI implementation, the data model value should either be the instance of \"DefaultSingleObjectModel\" or \"DefultMultiObjectModel\" class.
probeName - name of the probe
value -  

postCopy

public void postCopy(AbstractRTADataModel dataModel,
                     java.lang.String probeName,
                     java.lang.String value)
This method will be called after a leaf node has been copied in the probe.
Specified by:
postCopy in interface ProbePanelActions
Parameters:
dataModel - data model used in the RTA UI implementation, the data model value should either be the instance of \"DefaultSingleObjectModel\" or \"DefultMultiObjectModel\" class.
probeName - name of the probe
value -  

preCut

public void preCut(AbstractRTADataModel dataModel,
                   java.lang.String probeName,
                   java.lang.String value)
This method will be called when a user tries to cut a leaf node from a probe. User can throw RTAException with proper message to disallow the cut operation.
Specified by:
preCut in interface ProbePanelActions
Parameters:
dataModel - data model used in the RTA UI implementation, the data model value should either be the instance of \"DefaultSingleObjectModel\" or \"DefultMultiObjectModel\" class.
probeName - name of the probe
value -  

postCut

public void postCut(AbstractRTADataModel dataModel,
                    java.lang.String probeName,
                    java.lang.String value)
This method will be called after a leaf node has been cut from the probe.
Specified by:
postCut in interface ProbePanelActions
Parameters:
dataModel - data model used in the RTA UI implementation, the data model value should either be the instance of \"DefaultSingleObjectModel\" or \"DefultMultiObjectModel\" class.
probeName - name of the probe
value -  

prePaste

public void prePaste(AbstractRTADataModel dataModel,
                     java.lang.String probeName)
This method will be called when a user tries to paste a leaf node in a probe. User can throw RTAException with proper message to disallow the paste operation.
Specified by:
prePaste in interface ProbePanelActions
Parameters:
dataModel - data model used in the RTA UI implementation, the data model value should either be the instance of \"DefaultSingleObjectModel\" or \"DefultMultiObjectModel\" class.
probeName - name of the probe

postPaste

public void postPaste(AbstractRTADataModel dataModel,
                      java.lang.String probeName,
                      java.lang.String value)
This method will be called after a leaf node has been pasted into the probe.
Specified by:
postPaste in interface ProbePanelActions
Parameters:
dataModel - data model used in the RTA UI implementation, the data model value should either be the instance of \"DefaultSingleObjectModel\" or \"DefultMultiObjectModel\" class.
probeName - name of the probe
value -  

preApply

public void preApply(AbstractRTADataModel dataModel,
                     java.util.ArrayList modifiedProbes)
This method will be called when a user tries to apply the changes that have been made. User can throw RTAException with proper message to disallow the apply operation.
Specified by:
preApply in interface ProbePanelActions
Parameters:
dataModel - data model used in the RTA UI implementation, the data model value should either be the instance of \"DefaultSingleObjectModel\" or \"DefultMultiObjectModel\" class.
modifiedProbes - list of modified probes

postApply

public void postApply(AbstractRTADataModel dataModel,
                      java.util.ArrayList modifiedProbes)
This method will be called after applied the changes to the server.
Specified by:
postApply in interface ProbePanelActions
Parameters:
dataModel - data model used in the RTA UI implementation, the data model value should either be the instance of \"DefaultSingleObjectModel\" or \"DefultMultiObjectModel\" class.
modifiedProbes - list of modified probes

preSelection

public void preSelection(AbstractRTADataModel dataModel,
                         java.lang.String oldProbeName,
                         java.lang.String oldValue,
                         java.lang.String newProbeName,
                         java.lang.String newValue)
This method will be called when a user tries to select a node in the tree.
Specified by:
preSelection in interface ProbePanelActions
Parameters:
dataModel - data model used in the RTA UI implementation, the data model value should either be the instance of \"DefaultSingleObjectModel\" or \"DefultMultiObjectModel\" class.
oldProbeName - name of the probe before performing the modify operation
oldValue -  
newProbeName - name of the probe after performing the modify operation
newValue -  

postSelection

public void postSelection(AbstractRTADataModel dataModel,
                          java.lang.String oldProbeName,
                          java.lang.String oldValue,
                          java.lang.String newProbeName,
                          java.lang.String newValue)
This method will be called after a leaf node has been selected in the tree.
Specified by:
postSelection in interface ProbePanelActions
Parameters:
dataModel - data model used in the RTA UI implementation, the data model value should either be the instance of \"DefaultSingleObjectModel\" or \"DefultMultiObjectModel\" class.
oldProbeName - name of the probe before performing the modify operation
oldValue -  
newProbeName - name of the probe after performing the modify operation
newValue -  

AdventNet Web NMS 4 DMS API Specification