public class DocumentRoutingEngineServiceImpl extends DefaultComponent implements DocumentRoutingEngineService
| Modifier and Type | Field and Description |
|---|---|
static String |
WORKFLOW_ID_EVENT_PROPERTY_KEY |
static String |
WORKFLOW_NAME_EVENT_PROPERTY_KEY |
lastModified, name| Constructor and Description |
|---|
DocumentRoutingEngineServiceImpl() |
| Modifier and Type | Method and Description |
|---|---|
void |
cancel(DocumentRoute routeInstance,
CoreSession session)
Cancels a route using an unrestricted session.
|
void |
resume(DocumentRoute routeInstance,
String nodeId,
String taskId,
Map<String,Object> data,
String status,
CoreSession session)
Resumes a route, optionnally for a given task only.
|
void |
start(DocumentRoute routeInstance,
Map<String,Serializable> map,
CoreSession session)
Starts a route.
|
activate, deactivate, getAdapter, getDescriptor, getDescriptors, getLastModified, getRegistry, register, registerContribution, registerExtension, setLastModified, setModifiedNow, setName, start, stop, unregister, unregisterContribution, unregisterExtensionclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitapplicationStarted, getApplicationStartedOrderpublic static final String WORKFLOW_NAME_EVENT_PROPERTY_KEY
public static final String WORKFLOW_ID_EVENT_PROPERTY_KEY
public DocumentRoutingEngineServiceImpl()
public void start(DocumentRoute routeInstance, Map<String,Serializable> map, CoreSession session)
DocumentRoutingEngineServicestart in interface DocumentRoutingEngineServicerouteInstance - the route instancemap - the values to pass as initial workflow variablessession - the sessionpublic void resume(DocumentRoute routeInstance, String nodeId, String taskId, Map<String,Object> data, String status, CoreSession session)
DocumentRoutingEngineServiceresume in interface DocumentRoutingEngineServicerouteInstance - the route instancenodeId - the node id to resume on (optional)taskId - the task id that resumes (optional)data - the data coming from UI formstatus - the name of the button clicked to submit the associated task formsession - the sessionpublic void cancel(DocumentRoute routeInstance, CoreSession session)
DocumentRoutingEngineServicecancel in interface DocumentRoutingEngineServicerouteInstance - the route instancesession - the sessionCopyright © 2019 Nuxeo. All rights reserved.