Uses of Interface
org.nuxeo.ecm.platform.routing.api.DocumentRoute
-
Packages that use DocumentRoute Package Description org.nuxeo.ecm.platform.routing.api Provides the interfaces necessary to create and manipulateDocumentRoute
.org.nuxeo.ecm.platform.routing.core.api Provides internal services to theDocumentRoutingService
org.nuxeo.ecm.platform.routing.core.impl Provides implementation for the api package.org.nuxeo.ecm.platform.routing.core.io org.nuxeo.ecm.restapi.server.jaxrs.routing org.nuxeo.ecm.restapi.server.jaxrs.routing.adapter -
-
Uses of DocumentRoute in org.nuxeo.ecm.platform.routing.api
Fields in org.nuxeo.ecm.platform.routing.api declared as DocumentRoute Modifier and Type Field Description protected DocumentRoute
RouteTable. route
Deprecated.Methods in org.nuxeo.ecm.platform.routing.api that return DocumentRoute Modifier and Type Method Description DocumentRoute
DocumentRoutingService. createNewInstance(DocumentRoute model, String documentId, CoreSession session)
Deprecated.since 5.6, use other APIsDocumentRoute
DocumentRoutingService. createNewInstance(DocumentRoute model, String documentId, CoreSession session, boolean startInstance)
Deprecated.since 5.6, use other APIsDocumentRoute
DocumentRoutingService. createNewInstance(DocumentRoute model, List<String> documentIds, CoreSession session)
Deprecated.since 5.6, use other APIsDocumentRoute
DocumentRoutingService. createNewInstance(DocumentRoute model, List<String> documentIds, CoreSession session, boolean startInstance)
Create a newDocumentRoute
instance from thisDocumentRoute
model.DocumentRoute
DocumentRouteElement. getDocumentRoute(CoreSession session)
Return the DocumentRoute this element is part of.DocumentRoute
DocumentRoutingService. getRouteModelWithId(CoreSession session, String id)
Returns the route model with the given idDocumentRoute
DocumentRoutingService. importRouteModel(URL templateResource, boolean overwrite, CoreSession session)
Creates a route model in the root models folder defined by the current persister.DocumentRoute
DocumentRoutingService. saveRouteAsNewModel(DocumentRoute route, CoreSession session)
Save a route instance as a new model of route.DocumentRoute
DocumentRoutingService. unlockDocumentRouteUnrestrictedSession(DocumentRoute routeModel, CoreSession userSession)
Unlock the givenDocumentRoute
model under unrestricted session.DocumentRoute
DocumentRoutingService. validateRouteModel(DocumentRoute routeModel, CoreSession session)
Validates the givenDocumentRoute
model by changing its lifecycle state and setting it and all its children in ReadOnly.Methods in org.nuxeo.ecm.platform.routing.api that return types with arguments of type DocumentRoute Modifier and Type Method Description List<DocumentRoute>
DocumentRoutingService. getAvailableDocumentRoute(CoreSession session)
Return the list of availableDocumentRoute
document route.List<DocumentRoute>
DocumentRoutingService. getAvailableDocumentRouteModel(CoreSession session)
Return the list of availableDocumentRoute
model the user can start.List<DocumentRoute>
DocumentRoutingService. getDocumentRelatedWorkflows(DocumentModel document, CoreSession session)
List<DocumentRoute>
DocumentRoutingService. getDocumentRoutesForAttachedDocument(CoreSession session, String attachedDocId)
List<DocumentRoute>
DocumentRoutingService. getDocumentRoutesForAttachedDocument(CoreSession session, String attachedDocId, List<DocumentRouteElement.ElementLifeCycleState> states)
Return the list of relatedDocumentRoute
in a state for a given attached document.List<DocumentRoute>
DocumentRoutingService. getRunnableWorkflows(CoreSession session, List<String> documentIds)
Returns a list of runnable document routes for the input document IDs.List<DocumentRoute>
DocumentRoutingService. getRunningWorkflowInstancesLaunchedByCurrentUser(CoreSession session)
List<DocumentRoute>
DocumentRoutingService. getRunningWorkflowInstancesLaunchedByCurrentUser(CoreSession session, String worflowModelName)
Methods in org.nuxeo.ecm.platform.routing.api with parameters of type DocumentRoute Modifier and Type Method Description DocumentRoute
DocumentRoutingService. createNewInstance(DocumentRoute model, String documentId, CoreSession session)
Deprecated.since 5.6, use other APIsDocumentRoute
DocumentRoutingService. createNewInstance(DocumentRoute model, String documentId, CoreSession session, boolean startInstance)
Deprecated.since 5.6, use other APIsDocumentRoute
DocumentRoutingService. createNewInstance(DocumentRoute model, List<String> documentIds, CoreSession session)
Deprecated.since 5.6, use other APIsDocumentRoute
DocumentRoutingService. createNewInstance(DocumentRoute model, List<String> documentIds, CoreSession session, boolean startInstance)
Create a newDocumentRoute
instance from thisDocumentRoute
model.void
DocumentRoutingService. finishTask(CoreSession session, DocumentRoute route, Task task, boolean delete)
Deprecated.// will be removed in 5.8, use completeTask insteadList<DocumentRouteTableElement>
DocumentRoutingService. getRouteElements(DocumentRoute route, CoreSession session)
Computes the list of elementsDocumentRouteTableElement
for thisDocumentRoute
.boolean
DocumentRoutingService. isLockedByCurrentUser(DocumentRoute routeModel, CoreSession session)
Verify is thisDocumentRoute
is already locked by the current user.boolean
DocumentRoutingService. isWorkflowModel(DocumentRoute documentRoute)
Returns true if the document route is a model, false if it is just an instance i.e.void
DocumentRoutingService. lockDocumentRoute(DocumentRoute routeModel, CoreSession session)
Locks thisDocumentRoute
if not already locked by the current user.boolean
DocumentRoutingService. purgeDocumentRoute(CoreSession session, DocumentRoute route)
Remove the workflow instance if it is canceled, done or orphan.DocumentRoute
DocumentRoutingService. saveRouteAsNewModel(DocumentRoute route, CoreSession session)
Save a route instance as a new model of route.void
DocumentRoutingService. unlockDocumentRoute(DocumentRoute routeModel, CoreSession session)
Unlocks thisDocumentRoute
.If the document is not locked throws aDocumentRouteNotLockedException
DocumentRoute
DocumentRoutingService. unlockDocumentRouteUnrestrictedSession(DocumentRoute routeModel, CoreSession userSession)
Unlock the givenDocumentRoute
model under unrestricted session.DocumentRoute
DocumentRoutingService. validateRouteModel(DocumentRoute routeModel, CoreSession session)
Validates the givenDocumentRoute
model by changing its lifecycle state and setting it and all its children in ReadOnly.Constructors in org.nuxeo.ecm.platform.routing.api with parameters of type DocumentRoute Constructor Description RouteTable(DocumentRoute route)
Deprecated. -
Uses of DocumentRoute in org.nuxeo.ecm.platform.routing.core.api
Methods in org.nuxeo.ecm.platform.routing.core.api with parameters of type DocumentRoute Modifier and Type Method Description void
DocumentRoutingEngineService. cancel(DocumentRoute routeInstance, CoreSession session)
Cancels a route using an unrestricted session.void
DocumentRoutingEngineService. 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
DocumentRoutingEngineService. start(DocumentRoute routeInstance, Map<String,Serializable> map, CoreSession session)
Starts a route. -
Uses of DocumentRoute in org.nuxeo.ecm.platform.routing.core.impl
Subinterfaces of DocumentRoute in org.nuxeo.ecm.platform.routing.core.impl Modifier and Type Interface Description interface
GraphRoute
A route graph, defining a workflow with arbitrarily complex transitions between nodes.Classes in org.nuxeo.ecm.platform.routing.core.impl that implement DocumentRoute Modifier and Type Class Description class
DocumentRouteImpl
class
GraphRouteImpl
Methods in org.nuxeo.ecm.platform.routing.core.impl that return DocumentRoute Modifier and Type Method Description DocumentRoute
DocumentRoutingServiceImpl. createNewInstance(DocumentRoute model, String documentId, CoreSession session)
Deprecated.DocumentRoute
DocumentRoutingServiceImpl. createNewInstance(DocumentRoute model, String documentId, CoreSession session, boolean startInstance)
Deprecated.DocumentRoute
DocumentRoutingServiceImpl. createNewInstance(DocumentRoute model, List<String> documentIds, CoreSession session)
Deprecated.DocumentRoute
DocumentRoutingServiceImpl. createNewInstance(DocumentRoute model, List<String> docIds, CoreSession session, boolean startInstance)
DocumentRoute
DocumentRouteElementImpl. getDocumentRoute(CoreSession session)
DocumentRoute
DocumentRoutingServiceImpl. getRouteModelWithId(CoreSession session, String id)
DocumentRoute
DocumentRoutingServiceImpl. importRouteModel(URL modelToImport, boolean overwrite, CoreSession session)
DocumentRoute
DocumentRoutingServiceImpl. saveRouteAsNewModel(DocumentRoute instance, CoreSession session)
DocumentRoute
GraphNode. startSubRoute()
Starts the sub-route on this node.DocumentRoute
GraphNodeImpl. startSubRoute()
DocumentRoute
DocumentRoutingServiceImpl. unlockDocumentRouteUnrestrictedSession(DocumentRoute routeModel, CoreSession userSession)
DocumentRoute
DocumentRoutingServiceImpl. validateRouteModel(DocumentRoute routeModel, CoreSession userSession)
Methods in org.nuxeo.ecm.platform.routing.core.impl with parameters of type DocumentRoute Modifier and Type Method Description void
DocumentRoutingEngineServiceImpl. cancel(DocumentRoute routeInstance, CoreSession session)
DocumentRoute
DocumentRoutingServiceImpl. createNewInstance(DocumentRoute model, String documentId, CoreSession session)
Deprecated.DocumentRoute
DocumentRoutingServiceImpl. createNewInstance(DocumentRoute model, String documentId, CoreSession session, boolean startInstance)
Deprecated.DocumentRoute
DocumentRoutingServiceImpl. createNewInstance(DocumentRoute model, List<String> documentIds, CoreSession session)
Deprecated.DocumentRoute
DocumentRoutingServiceImpl. createNewInstance(DocumentRoute model, List<String> docIds, CoreSession session, boolean startInstance)
void
DocumentRoutingServiceImpl. finishTask(CoreSession session, DocumentRoute route, Task task, boolean delete)
protected static void
DocumentRoutingServiceImpl. fireEvent(String eventName, Map<String,Serializable> eventProperties, DocumentRoute route, CoreSession session)
protected void
DocumentRoutingServiceImpl. fireEventAfterWorkflowStarted(DocumentRoute route, CoreSession session)
List<DocumentRouteTableElement>
DocumentRoutingServiceImpl. getRouteElements(DocumentRoute route, CoreSession session)
Deprecated.since 5.9.2 - Use only routes of type 'graph'boolean
DocumentRoutingServiceImpl. isLockedByCurrentUser(DocumentRoute routeModel, CoreSession session)
boolean
DocumentRoutingServiceImpl. isWorkflowModel(DocumentRoute documentRoute)
Returns true id the document route is a model, false if it is just an instance i.e.void
DocumentRoutingServiceImpl. lockDocumentRoute(DocumentRoute routeModel, CoreSession session)
boolean
DocumentRoutingServiceImpl. purgeDocumentRoute(CoreSession session, DocumentRoute route)
void
DocumentRoutingEngineServiceImpl. resume(DocumentRoute routeInstance, String nodeId, String taskId, Map<String,Object> data, String status, CoreSession session)
DocumentRoute
DocumentRoutingServiceImpl. saveRouteAsNewModel(DocumentRoute instance, CoreSession session)
void
DocumentRoutingEngineServiceImpl. start(DocumentRoute routeInstance, Map<String,Serializable> map, CoreSession session)
void
DocumentRoutingServiceImpl. unlockDocumentRoute(DocumentRoute routeModel, CoreSession session)
DocumentRoute
DocumentRoutingServiceImpl. unlockDocumentRouteUnrestrictedSession(DocumentRoute routeModel, CoreSession userSession)
DocumentRoute
DocumentRoutingServiceImpl. validateRouteModel(DocumentRoute routeModel, CoreSession userSession)
-
Uses of DocumentRoute in org.nuxeo.ecm.platform.routing.core.io
Methods in org.nuxeo.ecm.platform.routing.core.io with parameters of type DocumentRoute Modifier and Type Method Description static String
DocumentRouteWriter. getGraphResourceURL(DocumentRoute route, RenderingContext ctx)
protected void
DocumentRouteWriter. writeEntityBody(DocumentRoute item, com.fasterxml.jackson.core.JsonGenerator jg)
static void
DocumentRouteWriter. writeVariables(DocumentRoute item, com.fasterxml.jackson.core.JsonGenerator jg, MarshallerRegistry registry, RenderingContext ctx, SchemaManager schemaManager)
static void
TaskWriter. writeWorkflowVariables(DocumentRoute route, GraphNode node, com.fasterxml.jackson.core.JsonGenerator jg, MarshallerRegistry registry, RenderingContext ctx, SchemaManager schemaManager)
-
Uses of DocumentRoute in org.nuxeo.ecm.restapi.server.jaxrs.routing
Methods in org.nuxeo.ecm.restapi.server.jaxrs.routing that return DocumentRoute Modifier and Type Method Description DocumentRoute
WorkflowObject. getWorkflowInstance(String workflowInstanceId)
DocumentRoute
WorkflowModelObject. getWorkflowModel(String modelName)
Methods in org.nuxeo.ecm.restapi.server.jaxrs.routing that return types with arguments of type DocumentRoute Modifier and Type Method Description List<DocumentRoute>
WorkflowObject. getRunningWorkflowInstancesLaunchedByCurrentUser(String worflowModelName)
List<DocumentRoute>
WorkflowModelObject. getWorkflowModels(javax.ws.rs.core.UriInfo uriInfo)
Methods in org.nuxeo.ecm.restapi.server.jaxrs.routing with parameters of type DocumentRoute Modifier and Type Method Description protected void
WorkflowObject. checkCancelGuards(DocumentRoute route)
-
Uses of DocumentRoute in org.nuxeo.ecm.restapi.server.jaxrs.routing.adapter
Methods in org.nuxeo.ecm.restapi.server.jaxrs.routing.adapter that return types with arguments of type DocumentRoute Modifier and Type Method Description List<DocumentRoute>
WorkflowAdapter. doGet()
-