Interface HierarchyStrategy
- All Known Implementing Classes:
AbstractStrategyHandler
,AllStrategyHandler
,HierarchyStrategyHandler
,SelfStrategyHandler
public interface HierarchyStrategy
-
Method Summary
Modifier and TypeMethodDescriptionvoid
handleReadAccess
(PolicyBuilder policyBuilder, HierarchySpecification specification, BusinessUnit currentBusinessUnit) Modify or replace or addrules
to to achieve the desired behaviour for this read access strategy.void
handleWriteAccess
(PolicyBuilder policyBuilder, HierarchySpecification specification, BusinessUnit currentBusinessUnit) Modify or replace or addrules
to to achieve the desired behaviour for this write access strategy.boolean
supports
(HierarchyStrategyType strategyType)
-
Method Details
-
supports
- Returns:
- `true` if this
HierarchyStrategy
supports the givenHierarchyStrategyType
.
-
handleReadAccess
void handleReadAccess(PolicyBuilder policyBuilder, HierarchySpecification specification, BusinessUnit currentBusinessUnit) Modify or replace or addrules
to to achieve the desired behaviour for this read access strategy. -
handleWriteAccess
void handleWriteAccess(PolicyBuilder policyBuilder, HierarchySpecification specification, BusinessUnit currentBusinessUnit) Modify or replace or addrules
to to achieve the desired behaviour for this write access strategy.
-