Class PropagateBusinessUnitFunction
java.lang.Object
ch.tocco.nice2.dms.impl.entitylistener.childfunction.PropagateBusinessUnitFunction
- All Implemented Interfaces:
ChildFunction
This child function sets the business unit of the domain on all child nodes
when the business unit on the domain is changed (or removed).
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetFunction
(ContentTreeNode triggerNode) Return a function to apply to all children.
-
Constructor Details
-
PropagateBusinessUnitFunction
-
-
Method Details
-
getFunction
Description copied from interface:ChildFunction
Return a function to apply to all children.- Specified by:
getFunction
in interfaceChildFunction
- Parameters:
triggerNode
- the node which has been changed or deleted. This node could be of any type, is not necessarily a root node.- Returns:
- a function to apply to all children or
Optional.empty()
.
-