Interface WorkflowServiceSvr

All Known Implementing Classes:
StandardWorkflowService

public interface WorkflowServiceSvr


Supported API: true

Extendable: false
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Revoke rights that were granted for the execution of a task for each variable in the activity.
    void
    Add rights to assignee that are defined in activity variables the reference persistable objects.
  • Method Details

    • setTaskBasedRights

      void setTaskBasedRights(WorkItem wi, WTPrincipalReference p_ref) throws WTException
      Add rights to assignee that are defined in activity variables the reference persistable objects. For each variable it adds to the object the privileges specified in the variable template only if necessary, that is the participant doesn't have the privilege. If the the privilege is actually added, this is registered with the variable. Returns true if the workitem is changed.

      The privileges are added by changing the ad hoc ACL of the object. This means that this method only works if the object is ad hoc controlled.

      Supported API: true

      Parameters:
      wi -
      p_ref -
      Throws:
      WTException
    • revokeTaskBasedRights

      void revokeTaskBasedRights(WorkItem wi) throws WTException
      Revoke rights that were granted for the execution of a task for each variable in the activity.

      Supported API: true
      Parameters:
      wi -
      Throws:
      WTException