Interface HierarchyStrategy
- All Known Implementing Classes:
AbstractStrategyHandler
,AllStrategyHandler
,HierarchyStrategyHandler
,SelfStrategyHandler
public interface HierarchyStrategy
-
Method Summary
Modifier and TypeMethodDescriptionvoid
handleDeleteAccess
(PolicyBuilder policyBuilder, HierarchySpecification specification, BusinessUnit currentBusinessUnit) Modify or replace or addrules
to achieve the desired behaviour for this delete access strategy.void
handleReadAccess
(PolicyBuilder policyBuilder, HierarchySpecification specification, BusinessUnit currentBusinessUnit) Modify or replace or addrules
to achieve the desired behaviour for this read access strategy.void
handleWriteAccess
(PolicyBuilder policyBuilder, HierarchySpecification specification, BusinessUnit currentBusinessUnit) Modify or replace or addrules
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 achieve the desired behaviour for this read access strategy. -
handleWriteAccess
void handleWriteAccess(PolicyBuilder policyBuilder, HierarchySpecification specification, BusinessUnit currentBusinessUnit) Modify or replace or addrules
to achieve the desired behaviour for this write access strategy. -
handleDeleteAccess
void handleDeleteAccess(PolicyBuilder policyBuilder, HierarchySpecification specification, BusinessUnit currentBusinessUnit) Modify or replace or addrules
to achieve the desired behaviour for this delete access strategy.
-