Class NodeChangeListener.Base<N>
java.lang.Object
org.exoplatform.portal.mop.navigation.NodeChangeListener.Base<N>
- Type Parameters:
N- the node generic type
- All Implemented Interfaces:
NodeChangeListener<N>
- Enclosing interface:
NodeChangeListener<N>
A base implementation that can be subclassed.
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.exoplatform.portal.mop.navigation.NodeChangeListener
NodeChangeListener.Base<N> -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidA node was added.voidA node was created.voidA node was destroyed.voidA node was moved.voidA node was removed.voidA node was renamed.voidA node was updated.
-
Constructor Details
-
Base
public Base()
-
-
Method Details
-
onAdd
Description copied from interface:NodeChangeListenerA node was added.- Specified by:
onAddin interfaceNodeChangeListener<N>- Parameters:
target- the added nodeparent- the parent nodeprevious- the optional previous node
-
onCreate
Description copied from interface:NodeChangeListenerA node was created.- Specified by:
onCreatein interfaceNodeChangeListener<N>- Parameters:
target- the created nodeparent- the parent nodeprevious- the optional previous nodename- the name of the created node- Throws:
NavigationServiceException
-
onRemove
Description copied from interface:NodeChangeListenerA node was removed.- Specified by:
onRemovein interfaceNodeChangeListener<N>- Parameters:
target- the removed nodeparent- the parent node
-
onDestroy
Description copied from interface:NodeChangeListenerA node was destroyed.- Specified by:
onDestroyin interfaceNodeChangeListener<N>- Parameters:
target- the destroyed nodeparent- the parent node
-
onRename
Description copied from interface:NodeChangeListenerA node was renamed.- Specified by:
onRenamein interfaceNodeChangeListener<N>- Parameters:
target- the renamed nodeparent- the parent nodename- the new node name- Throws:
NavigationServiceException
-
onMove
Description copied from interface:NodeChangeListenerA node was moved.- Specified by:
onMovein interfaceNodeChangeListener<N>- Parameters:
target- the moved node.from- the previous parentto- the new parentprevious- the optional previous node- Throws:
NavigationServiceException
-