mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-07-24 17:32:48 +00:00
Workflow Checkpoint:
- BPM Model (xml & QName definitions) - Getting / Setting / Updating Task Properties git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@3470 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -70,6 +70,25 @@ public interface TaskComponent
|
||||
*/
|
||||
public WorkflowTask updateTask(String taskId, Map<QName, Serializable> properties, Map<QName, List<NodeRef>> add, Map<QName, List<NodeRef>> remove);
|
||||
|
||||
/**
|
||||
* Start the specified Task
|
||||
*
|
||||
* Note: this is an optional task operation. It may be used to track
|
||||
* when work started on a task as well as resume a suspended task.
|
||||
*
|
||||
* @param taskId the task to start
|
||||
* @return the updated task
|
||||
*/
|
||||
public WorkflowTask startTask(String taskId);
|
||||
|
||||
/**
|
||||
* Suspend the specified Task
|
||||
*
|
||||
* @param taskId
|
||||
* @return the update task
|
||||
*/
|
||||
public WorkflowTask suspendTask(String taskId);
|
||||
|
||||
/**
|
||||
* End the Task (i.e. complete the task)
|
||||
*
|
||||
@@ -78,6 +97,6 @@ public interface TaskComponent
|
||||
* @return the updated task
|
||||
*/
|
||||
public WorkflowTask endTask(String taskId, String transition);
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user