wt.workflow.work
Interface WorkflowServiceSvr

All Known Implementing Classes:
StandardWorkflowService

public interface WorkflowServiceSvr



Supported API: true

Extendable: false


Method Summary
 void revokeTaskBasedRights(WorkItem wi)
          Revoke rights that were granted for the execution of a task for each variable in the activity.
 void setTaskBasedRights(WorkItem wi, WTPrincipalReference p_ref)
          Add rights to assignee that are defined in activity variables the reference persistable objects.
 

Method Detail

setTaskBasedRights

public 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

public 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