public interface RoutingTaskService
Modifier and Type | Method and Description |
---|---|
void |
endTask(CoreSession session,
Task task,
Map<String,Object> data,
String status)
Ends a task
|
void |
grantPermissionToTaskAssignees(CoreSession session,
String permission,
DocumentModel doc,
Task task)
Grants the specified assignees permissions to the actors on this task
|
void |
makeRoutingTasks(CoreSession session,
List<Task> tasks)
Marks the tasks as Routing tasks.
|
void makeRoutingTasks(CoreSession session, List<Task> tasks) throws ClientException
This allows the related documents to be adapted to RoutingTask
.
session
- the sessiontasks
- the tasksClientException
void endTask(CoreSession session, Task task, Map<String,Object> data, String status) throws DocumentRouteException
session
- task
- data
- status
- name of the button clicked to submit the task formDocumentRouteException
void grantPermissionToTaskAssignees(CoreSession session, String permission, DocumentModel doc, Task task) throws DocumentRouteException
session
- the sessiondoc
- task
- DocumentRouteException
Copyright © 2012 Nuxeo SA. All Rights Reserved.