Class IsTaskPerformerRule

    • Method Detail

      • isAllowed

        public boolean isAllowed​(java.lang.String key,
                                 java.util.Map<java.lang.String,​java.io.Serializable> context)
                          throws SExecutionException
        Description copied from interface: AuthorizationRule
        Execute this rule and, according to the context, says whether the rule is valid.
        Specified by:
        isAllowed in interface AuthorizationRule
        Parameters:
        key - the page mapping key
        context - the information necessary to execute this rule.
        Returns:
        true if allowed, false otherwise.If determination cannot be fulfilled, an Exception should be thrown.
        Throws:
        SExecutionException - exception thrown if authorization cannot be determined.
      • getId

        public java.lang.String getId()
        Specified by:
        getId in interface AuthorizationRule
        Returns:
        the identifier for this authorization rule