Package wt.workflow.work
Interface WorkflowServiceSvr
- All Known Implementing Classes:
StandardWorkflowService
public interface WorkflowServiceSvr
Supported API: true
Extendable: false
-
Method Summary
Modifier and TypeMethodDescriptionvoidRevoke rights that were granted for the execution of a task for each variable in the activity.voidsetTaskBasedRights(WorkItem wi, WTPrincipalReference p_ref) Add rights to assignee that are defined in activity variables the reference persistable objects.
-
Method Details
-
setTaskBasedRights
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
Revoke rights that were granted for the execution of a task for each variable in the activity.
Supported API: true- Parameters:
wi-- Throws:
WTException
-