Class RoutingTaskServiceImpl
- java.lang.Object
-
- org.nuxeo.runtime.model.DefaultComponent
-
- org.nuxeo.ecm.platform.routing.core.impl.RoutingTaskServiceImpl
-
- All Implemented Interfaces:
RoutingTaskService
,Adaptable
,Component
,Extensible
,TimestampedService
@Deprecated public class RoutingTaskServiceImpl extends DefaultComponent implements RoutingTaskService
Deprecated.since 5.6, use DocumentRoutingService instead
-
-
Field Summary
-
Fields inherited from class org.nuxeo.runtime.model.DefaultComponent
lastModified, name
-
-
Constructor Summary
Constructors Constructor Description RoutingTaskServiceImpl()
Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description void
endTask(CoreSession session, Task task, Map<String,Object> data, String status)
Deprecated.Ends a taskList<DocumentModel>
getWorkflowInputDocuments(CoreSession session, Task task)
Deprecated.Gets the documents following the workflow to which the given task belongsvoid
makeRoutingTasks(CoreSession session, List<Task> tasks)
Deprecated.Marks the tasks as Routing tasks.-
Methods inherited from class org.nuxeo.runtime.model.DefaultComponent
activate, addRuntimeMessage, addRuntimeMessage, deactivate, getAdapter, getDescriptor, getDescriptors, getLastModified, getRegistry, register, registerContribution, registerExtension, setLastModified, setModifiedNow, setName, start, stop, unregister, unregisterContribution, unregisterExtension
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.nuxeo.runtime.model.Component
applicationStarted, getApplicationStartedOrder
-
-
-
-
Method Detail
-
makeRoutingTasks
public void makeRoutingTasks(CoreSession session, List<Task> tasks)
Deprecated.Description copied from interface:RoutingTaskService
Marks the tasks as Routing tasks.This allows the related documents to be adapted to
RoutingTask
.- Specified by:
makeRoutingTasks
in interfaceRoutingTaskService
- Parameters:
session
- the sessiontasks
- the tasks
-
endTask
public void endTask(CoreSession session, Task task, Map<String,Object> data, String status) throws DocumentRouteException
Deprecated.Description copied from interface:RoutingTaskService
Ends a task- Specified by:
endTask
in interfaceRoutingTaskService
status
- name of the button clicked to submit the task form- Throws:
DocumentRouteException
-
getWorkflowInputDocuments
public List<DocumentModel> getWorkflowInputDocuments(CoreSession session, Task task) throws DocumentRouteException
Deprecated.Description copied from interface:RoutingTaskService
Gets the documents following the workflow to which the given task belongs- Specified by:
getWorkflowInputDocuments
in interfaceRoutingTaskService
- Throws:
DocumentRouteException
-
-