Class AbstractStrategyHandler
java.lang.Object
ch.tocco.nice2.businessunit.impl.hierarchy.AbstractStrategyHandler
- All Implemented Interfaces:
HierarchyStrategy
- Direct Known Subclasses:
HierarchyStrategyHandler, SelfStrategyHandler
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedAbstractStrategyHandler(BusinessUnitManager businessUnitManager) -
Method Summary
Modifier and TypeMethodDescriptionprotected @Nullable NodegetCondition(HierarchySpecification specification, Entity entity) Override this method if a condition should be added to the rule.protected voidhandleAccess(PolicyBuilder policyBuilder, HierarchySpecification specification, BusinessUnit currentBusinessUnit, Permission permission) Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface HierarchyStrategy
handleDeleteAccess, 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, Permission permission)
-