Interface MCRCombineableAccessCheckStrategy

All Superinterfaces:
MCRAccessCheckStrategy
All Known Implementing Classes:
MCRCreatorRuleStrategy, MCRObjectBaseStrategy, MCRObjectIDStrategy, MCRObjectTypeStrategy

public interface MCRCombineableAccessCheckStrategy extends MCRAccessCheckStrategy
Author:
Thomas Scheffler (yagee)
  • Method Details

    • hasRuleMapping

      boolean hasRuleMapping(String id, String permission)
      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