Class IsInvolvedInProcessInstanceRule

java.lang.Object
org.bonitasoft.engine.page.AuthorizationRuleWithParameters
org.bonitasoft.engine.page.IsInvolvedInProcessInstanceRule
All Implemented Interfaces:
AuthorizationRule

public class IsInvolvedInProcessInstanceRule extends AuthorizationRuleWithParameters implements AuthorizationRule
Author:
Emmanuel Duchastenier
  • Constructor Details

  • Method Details

    • isAllowed

      public boolean isAllowed(String key, Map<String,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 String getId()
      Specified by:
      getId in interface AuthorizationRule
      Returns:
      the identifier for this authorization rule