Class AbstractStrategyHandler
java.lang.Object
ch.tocco.nice2.businessunit.impl.hierarchy.AbstractStrategyHandler
- All Implemented Interfaces:
HierarchyStrategy
- Direct Known Subclasses:
HierarchyStrategyHandler
,SelfStrategyHandler
-
Constructor Summary
ModifierConstructorDescriptionprotected
AbstractStrategyHandler
(BusinessUnitManager businessUnitManager) -
Method Summary
Modifier and TypeMethodDescriptionprotected @Nullable Node
getCondition
(HierarchySpecification specification, Entity entity) Override this method if a condition should be added to the rule.protected void
handleAccess
(PolicyBuilder policyBuilder, HierarchySpecification specification, BusinessUnit currentBusinessUnit, AccessPermission permission) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface ch.tocco.nice2.businessunit.impl.hierarchy.strategies.HierarchyStrategy
handleReadAccess, handleWriteAccess, supports
-
Constructor Details
-
AbstractStrategyHandler
-
-
Method Details
-
getCondition
@Nullable protected @Nullable Node getCondition(HierarchySpecification specification, Entity entity) Override this method if a condition should be added to the rule. -
handleAccess
protected void handleAccess(PolicyBuilder policyBuilder, HierarchySpecification specification, BusinessUnit currentBusinessUnit, AccessPermission permission)
-