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 theDocumentRoutingServiceorg.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 DocumentRouteRouteTable. routeDeprecated.Methods in org.nuxeo.ecm.platform.routing.api that return DocumentRoute Modifier and Type Method Description DocumentRouteDocumentRoutingService. createNewInstance(DocumentRoute model, String documentId, CoreSession session)Deprecated.since 5.6, use other APIsDocumentRouteDocumentRoutingService. createNewInstance(DocumentRoute model, String documentId, CoreSession session, boolean startInstance)Deprecated.since 5.6, use other APIsDocumentRouteDocumentRoutingService. createNewInstance(DocumentRoute model, List<String> documentIds, CoreSession session)Deprecated.since 5.6, use other APIsDocumentRouteDocumentRoutingService. createNewInstance(DocumentRoute model, List<String> documentIds, CoreSession session, boolean startInstance)Create a newDocumentRouteinstance from thisDocumentRoutemodel.DocumentRouteDocumentRouteElement. getDocumentRoute(CoreSession session)Return the DocumentRoute this element is part of.DocumentRouteDocumentRoutingService. getRouteModelWithId(CoreSession session, String id)Returns the route model with the given idDocumentRouteDocumentRoutingService. importRouteModel(URL templateResource, boolean overwrite, CoreSession session)Creates a route model in the root models folder defined by the current persister.DocumentRouteDocumentRoutingService. saveRouteAsNewModel(DocumentRoute route, CoreSession session)Save a route instance as a new model of route.DocumentRouteDocumentRoutingService. unlockDocumentRouteUnrestrictedSession(DocumentRoute routeModel, CoreSession userSession)Unlock the givenDocumentRoutemodel under unrestricted session.DocumentRouteDocumentRoutingService. validateRouteModel(DocumentRoute routeModel, CoreSession session)Validates the givenDocumentRoutemodel 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 availableDocumentRoutedocument route.List<DocumentRoute>DocumentRoutingService. getAvailableDocumentRouteModel(CoreSession session)Return the list of availableDocumentRoutemodel 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 relatedDocumentRoutein 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 DocumentRouteDocumentRoutingService. createNewInstance(DocumentRoute model, String documentId, CoreSession session)Deprecated.since 5.6, use other APIsDocumentRouteDocumentRoutingService. createNewInstance(DocumentRoute model, String documentId, CoreSession session, boolean startInstance)Deprecated.since 5.6, use other APIsDocumentRouteDocumentRoutingService. createNewInstance(DocumentRoute model, List<String> documentIds, CoreSession session)Deprecated.since 5.6, use other APIsDocumentRouteDocumentRoutingService. createNewInstance(DocumentRoute model, List<String> documentIds, CoreSession session, boolean startInstance)Create a newDocumentRouteinstance from thisDocumentRoutemodel.voidDocumentRoutingService. 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 elementsDocumentRouteTableElementfor thisDocumentRoute.booleanDocumentRoutingService. isLockedByCurrentUser(DocumentRoute routeModel, CoreSession session)Verify is thisDocumentRouteis already locked by the current user.booleanDocumentRoutingService. isWorkflowModel(DocumentRoute documentRoute)Returns true if the document route is a model, false if it is just an instance i.e.voidDocumentRoutingService. lockDocumentRoute(DocumentRoute routeModel, CoreSession session)Locks thisDocumentRouteif not already locked by the current user.booleanDocumentRoutingService. purgeDocumentRoute(CoreSession session, DocumentRoute route)Remove the workflow instance if it is canceled, done or orphan.DocumentRouteDocumentRoutingService. saveRouteAsNewModel(DocumentRoute route, CoreSession session)Save a route instance as a new model of route.voidDocumentRoutingService. unlockDocumentRoute(DocumentRoute routeModel, CoreSession session)Unlocks thisDocumentRoute.If the document is not locked throws aDocumentRouteNotLockedExceptionDocumentRouteDocumentRoutingService. unlockDocumentRouteUnrestrictedSession(DocumentRoute routeModel, CoreSession userSession)Unlock the givenDocumentRoutemodel under unrestricted session.DocumentRouteDocumentRoutingService. validateRouteModel(DocumentRoute routeModel, CoreSession session)Validates the givenDocumentRoutemodel 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 voidDocumentRoutingEngineService. cancel(DocumentRoute routeInstance, CoreSession session)Cancels a route using an unrestricted session.voidDocumentRoutingEngineService. resume(DocumentRoute routeInstance, String nodeId, String taskId, Map<String,Object> data, String status, CoreSession session)Resumes a route, optionnally for a given task only.voidDocumentRoutingEngineService. 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 interfaceGraphRouteA 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 classDocumentRouteImplclassGraphRouteImplMethods in org.nuxeo.ecm.platform.routing.core.impl that return DocumentRoute Modifier and Type Method Description DocumentRouteDocumentRoutingServiceImpl. createNewInstance(DocumentRoute model, String documentId, CoreSession session)Deprecated.DocumentRouteDocumentRoutingServiceImpl. createNewInstance(DocumentRoute model, String documentId, CoreSession session, boolean startInstance)Deprecated.DocumentRouteDocumentRoutingServiceImpl. createNewInstance(DocumentRoute model, List<String> documentIds, CoreSession session)Deprecated.DocumentRouteDocumentRoutingServiceImpl. createNewInstance(DocumentRoute model, List<String> docIds, CoreSession session, boolean startInstance)DocumentRouteDocumentRouteElementImpl. getDocumentRoute(CoreSession session)DocumentRouteDocumentRoutingServiceImpl. getRouteModelWithId(CoreSession session, String id)DocumentRouteDocumentRoutingServiceImpl. importRouteModel(URL modelToImport, boolean overwrite, CoreSession session)DocumentRouteDocumentRoutingServiceImpl. saveRouteAsNewModel(DocumentRoute instance, CoreSession session)DocumentRouteGraphNode. startSubRoute()Starts the sub-route on this node.DocumentRouteGraphNodeImpl. startSubRoute()DocumentRouteDocumentRoutingServiceImpl. unlockDocumentRouteUnrestrictedSession(DocumentRoute routeModel, CoreSession userSession)DocumentRouteDocumentRoutingServiceImpl. validateRouteModel(DocumentRoute routeModel, CoreSession userSession)Methods in org.nuxeo.ecm.platform.routing.core.impl with parameters of type DocumentRoute Modifier and Type Method Description voidDocumentRoutingEngineServiceImpl. cancel(DocumentRoute routeInstance, CoreSession session)DocumentRouteDocumentRoutingServiceImpl. createNewInstance(DocumentRoute model, String documentId, CoreSession session)Deprecated.DocumentRouteDocumentRoutingServiceImpl. createNewInstance(DocumentRoute model, String documentId, CoreSession session, boolean startInstance)Deprecated.DocumentRouteDocumentRoutingServiceImpl. createNewInstance(DocumentRoute model, List<String> documentIds, CoreSession session)Deprecated.DocumentRouteDocumentRoutingServiceImpl. createNewInstance(DocumentRoute model, List<String> docIds, CoreSession session, boolean startInstance)voidDocumentRoutingServiceImpl. finishTask(CoreSession session, DocumentRoute route, Task task, boolean delete)protected static voidDocumentRoutingServiceImpl. fireEvent(String eventName, Map<String,Serializable> eventProperties, DocumentRoute route, CoreSession session)protected voidDocumentRoutingServiceImpl. fireEventAfterWorkflowStarted(DocumentRoute route, CoreSession session)List<DocumentRouteTableElement>DocumentRoutingServiceImpl. getRouteElements(DocumentRoute route, CoreSession session)Deprecated.since 5.9.2 - Use only routes of type 'graph'booleanDocumentRoutingServiceImpl. isLockedByCurrentUser(DocumentRoute routeModel, CoreSession session)booleanDocumentRoutingServiceImpl. isWorkflowModel(DocumentRoute documentRoute)Returns true id the document route is a model, false if it is just an instance i.e.voidDocumentRoutingServiceImpl. lockDocumentRoute(DocumentRoute routeModel, CoreSession session)booleanDocumentRoutingServiceImpl. purgeDocumentRoute(CoreSession session, DocumentRoute route)voidDocumentRoutingEngineServiceImpl. resume(DocumentRoute routeInstance, String nodeId, String taskId, Map<String,Object> data, String status, CoreSession session)DocumentRouteDocumentRoutingServiceImpl. saveRouteAsNewModel(DocumentRoute instance, CoreSession session)voidDocumentRoutingEngineServiceImpl. start(DocumentRoute routeInstance, Map<String,Serializable> map, CoreSession session)voidDocumentRoutingServiceImpl. unlockDocumentRoute(DocumentRoute routeModel, CoreSession session)DocumentRouteDocumentRoutingServiceImpl. unlockDocumentRouteUnrestrictedSession(DocumentRoute routeModel, CoreSession userSession)DocumentRouteDocumentRoutingServiceImpl. 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 StringDocumentRouteWriter. getGraphResourceURL(DocumentRoute route, RenderingContext ctx)protected voidDocumentRouteWriter. writeEntityBody(DocumentRoute item, com.fasterxml.jackson.core.JsonGenerator jg)static voidDocumentRouteWriter. writeVariables(DocumentRoute item, com.fasterxml.jackson.core.JsonGenerator jg, MarshallerRegistry registry, RenderingContext ctx, SchemaManager schemaManager)static voidTaskWriter. 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 DocumentRouteWorkflowObject. getWorkflowInstance(String workflowInstanceId)DocumentRouteWorkflowModelObject. 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 voidWorkflowObject. 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()
-