Class ExplorerNodeCheckRightsCondition

All Implemented Interfaces:
com.opensymphony.workflow.Condition, Disposable, Initializable, LogEnabled, Serviceable

This workflow function check rights on explorer node
  • Constructor Details

  • Method Details

    • _computeContext

      protected Object _computeContext(Map transientVars, Map args, UserIdentity user, String right) throws com.opensymphony.workflow.WorkflowException
      Description copied from class: CheckRightsCondition
      Compute the context to use.
      Default implementation uses standard context "/cms".
      Overrides:
      _computeContext in class CheckRightsCondition
      Parameters:
      transientVars - variables that will not be persisted.
      args - the properties for this function invocation.
      user - the current user.
      right - the needed right.
      Returns:
      the computed context.
      Throws:
      com.opensymphony.workflow.WorkflowException - if an error occurs.
    • getExplorerNode

      protected ExplorerNode getExplorerNode(Map transientVars) throws com.opensymphony.workflow.WorkflowException
      Retrieve the resource associated with the workflow.
      Parameters:
      transientVars - the parameters from the call.
      Returns:
      the resource.
      Throws:
      com.opensymphony.workflow.WorkflowException - if the resource is not found.