public class RoutingTaskServiceImpl extends DefaultComponent implements RoutingTaskService
Constructor and Description |
---|
RoutingTaskServiceImpl() |
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 coreSession,
List<Task> tasks)
Marks the tasks as Routing tasks.
|
activate, applicationStarted, deactivate, getAdapter, getApplicationStartedOrder, getLastModified, registerContribution, registerExtension, setLastModified, unregisterContribution, unregisterExtension
public void makeRoutingTasks(CoreSession coreSession, List<Task> tasks) throws ClientException
RoutingTaskService
This allows the related documents to be adapted to RoutingTask
.
makeRoutingTasks
in interface RoutingTaskService
coreSession
- the sessiontasks
- the tasksClientException
public void endTask(CoreSession session, Task task, Map<String,Object> data, String status) throws DocumentRouteException
RoutingTaskService
endTask
in interface RoutingTaskService
status
- name of the button clicked to submit the task formDocumentRouteException
public void grantPermissionToTaskAssignees(CoreSession session, String permission, DocumentModel doc, Task task) throws DocumentRouteException
RoutingTaskService
grantPermissionToTaskAssignees
in interface RoutingTaskService
session
- the sessionDocumentRouteException
Copyright © 2012 Nuxeo SA. All Rights Reserved.