Package org.mycore.access.strategies
Interface MCRCombineableAccessCheckStrategy
- All Superinterfaces:
MCRAccessCheckStrategy
- All Known Implementing Classes:
MCRCreatorRuleStrategy
,MCRObjectBaseStrategy
,MCRObjectIDStrategy
,MCRObjectTypeStrategy
- Author:
- Thomas Scheffler (yagee)
-
Method Summary
Modifier and TypeMethodDescriptionboolean
hasRuleMapping
(String id, String permission) Checks if this strategy has a rule mapping defined.Methods inherited from interface org.mycore.access.strategies.MCRAccessCheckStrategy
checkPermission
-
Method Details
-
hasRuleMapping
Checks if this strategy has a rule mapping defined. Can be used by other more complex strategies that require this information to decide if this strategy should be used.- Parameters:
id
- a possible MCRObjectID of the object or any other "id"permission
- the access permission for the rule- Returns:
- true if there is a mapping to a rule defined
-