Uses of Interface
org.nuxeo.ecm.platform.routing.api.DocumentRoute
Packages that use DocumentRoute
Package
Description
Provides the interfaces necessary to create and manipulate 
DocumentRoute.Provides internal services to the 
DocumentRoutingServiceProvides implementation for the api package.
- 
Uses of DocumentRoute in org.nuxeo.ecm.platform.routing.apiMethods in org.nuxeo.ecm.platform.routing.api that return DocumentRouteModifier and TypeMethodDescriptionDocumentRoutingService.createNewInstance(DocumentRoute model, List<String> documentIds, CoreSession session, boolean startInstance) Create a newDocumentRouteinstance from thisDocumentRoutemodel.DocumentRouteElement.getDocumentRoute(CoreSession session) Return the DocumentRoute this element is part of.DocumentRoutingService.getRouteModelWithId(CoreSession session, String id) Returns the route model with the given idDocumentRoutingService.importRouteModel(URL templateResource, boolean overwrite, CoreSession session) Creates a route model in the root models folder defined by the current persister.DocumentRoutingService.saveRouteAsNewModel(DocumentRoute route, CoreSession session) Save a route instance as a new model of route.DocumentRoutingService.unlockDocumentRouteUnrestrictedSession(DocumentRoute routeModel, CoreSession userSession) Unlock the givenDocumentRoutemodel under unrestricted session.DocumentRoutingService.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 DocumentRouteModifier and TypeMethodDescriptionDocumentRoutingService.getAvailableDocumentRoute(CoreSession session) Return the list of availableDocumentRoutedocument route.DocumentRoutingService.getAvailableDocumentRouteModel(CoreSession session) Return the list of availableDocumentRoutemodel the user can start.DocumentRoutingService.getDocumentRelatedWorkflows(DocumentModel document, CoreSession session) DocumentRoutingService.getDocumentRoutesForAttachedDocument(CoreSession session, String attachedDocId) DocumentRoutingService.getDocumentRoutesForAttachedDocument(CoreSession session, String attachedDocId, List<DocumentRouteElement.ElementLifeCycleState> states) Return the list of relatedDocumentRoutein a state for a given attached document.DocumentRoutingService.getRunnableWorkflows(CoreSession session, List<String> documentIds) Returns a list of runnable document routes for the input document IDs.DocumentRoutingService.getRunningWorkflowInstancesLaunchedByCurrentUser(CoreSession session) DocumentRoutingService.getRunningWorkflowInstancesLaunchedByCurrentUser(CoreSession session, String worflowModelName) Methods in org.nuxeo.ecm.platform.routing.api with parameters of type DocumentRouteModifier and TypeMethodDescriptionDocumentRoutingService.createNewInstance(DocumentRoute model, List<String> documentIds, CoreSession session, boolean startInstance) Create a newDocumentRouteinstance from thisDocumentRoutemodel.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. a running workflow.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.DocumentRoutingService.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 aDocumentRouteNotLockedExceptionDocumentRoutingService.unlockDocumentRouteUnrestrictedSession(DocumentRoute routeModel, CoreSession userSession) Unlock the givenDocumentRoutemodel under unrestricted session.DocumentRoutingService.validateRouteModel(DocumentRoute routeModel, CoreSession session) Validates the givenDocumentRoutemodel by changing its lifecycle state and setting it and all its children in ReadOnly.
- 
Uses of DocumentRoute in org.nuxeo.ecm.platform.routing.core.apiMethods in org.nuxeo.ecm.platform.routing.core.api with parameters of type DocumentRouteModifier and TypeMethodDescriptionvoidDocumentRoutingEngineService.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.implSubinterfaces of DocumentRoute in org.nuxeo.ecm.platform.routing.core.implModifier and TypeInterfaceDescriptioninterfaceA route graph, defining a workflow with arbitrarily complex transitions between nodes.Classes in org.nuxeo.ecm.platform.routing.core.impl that implement DocumentRouteMethods in org.nuxeo.ecm.platform.routing.core.impl that return DocumentRouteModifier and TypeMethodDescriptionDocumentRoutingServiceImpl.createNewInstance(DocumentRoute model, List<String> docIds, CoreSession session, boolean startInstance) DocumentRouteElementImpl.getDocumentRoute(CoreSession session) DocumentRoutingServiceImpl.getRouteModelWithId(CoreSession session, String id) DocumentRoutingServiceImpl.importRouteModel(URL modelToImport, boolean overwrite, CoreSession session) DocumentRoutingServiceImpl.saveRouteAsNewModel(DocumentRoute instance, CoreSession session) GraphNode.startSubRoute()Starts the sub-route on this node.GraphNodeImpl.startSubRoute()DocumentRoutingServiceImpl.unlockDocumentRouteUnrestrictedSession(DocumentRoute routeModel, CoreSession userSession) DocumentRoutingServiceImpl.validateRouteModel(DocumentRoute routeModel, CoreSession userSession) Methods in org.nuxeo.ecm.platform.routing.core.impl that return types with arguments of type DocumentRouteModifier and TypeMethodDescriptionDocumentRoutingServiceImpl.getAvailableDocumentRoute(CoreSession session) DocumentRoutingServiceImpl.getAvailableDocumentRouteModel(CoreSession session) DocumentRoutingServiceImpl.getDocumentRelatedWorkflows(DocumentModel document, CoreSession session) DocumentRoutingServiceImpl.getDocumentRoutesForAttachedDocument(CoreSession session, String attachedDocId) DocumentRoutingServiceImpl.getDocumentRoutesForAttachedDocument(CoreSession session, String attachedDocId, List<DocumentRouteElement.ElementLifeCycleState> states) DocumentRoutingServiceImpl.getRunnableWorkflows(CoreSession session, List<String> documentIds) DocumentRoutingServiceImpl.getRunningWorkflowInstancesLaunchedByCurrentUser(CoreSession session) DocumentRoutingServiceImpl.getRunningWorkflowInstancesLaunchedByCurrentUser(CoreSession session, String worflowModelName) Methods in org.nuxeo.ecm.platform.routing.core.impl with parameters of type DocumentRouteModifier and TypeMethodDescriptionvoidDocumentRoutingEngineServiceImpl.cancel(DocumentRoute routeInstance, CoreSession session) DocumentRoutingServiceImpl.createNewInstance(DocumentRoute model, List<String> docIds, CoreSession session, boolean startInstance) protected static voidDocumentRoutingServiceImpl.fireEvent(String eventName, Map<String, Serializable> eventProperties, DocumentRoute route, CoreSession session) protected voidDocumentRoutingServiceImpl.fireEventAfterWorkflowStarted(DocumentRoute route, CoreSession session) 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. a running workflow.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) DocumentRoutingServiceImpl.saveRouteAsNewModel(DocumentRoute instance, CoreSession session) voidDocumentRoutingEngineServiceImpl.start(DocumentRoute routeInstance, Map<String, Serializable> map, CoreSession session) voidDocumentRoutingServiceImpl.unlockDocumentRoute(DocumentRoute routeModel, CoreSession session) DocumentRoutingServiceImpl.unlockDocumentRouteUnrestrictedSession(DocumentRoute routeModel, CoreSession userSession) DocumentRoutingServiceImpl.validateRouteModel(DocumentRoute routeModel, CoreSession userSession) 
- 
Uses of DocumentRoute in org.nuxeo.ecm.platform.routing.core.ioMethods in org.nuxeo.ecm.platform.routing.core.io with parameters of type DocumentRouteModifier and TypeMethodDescriptionstatic 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.routingMethods in org.nuxeo.ecm.restapi.server.jaxrs.routing that return DocumentRouteModifier and TypeMethodDescriptionWorkflowObject.getWorkflowInstance(String workflowInstanceId) WorkflowModelObject.getWorkflowModel(String modelName) Methods in org.nuxeo.ecm.restapi.server.jaxrs.routing that return types with arguments of type DocumentRouteModifier and TypeMethodDescriptionWorkflowObject.getRunningWorkflowInstancesLaunchedByCurrentUser(String worflowModelName) WorkflowModelObject.getWorkflowModels(javax.ws.rs.core.UriInfo uriInfo) Methods in org.nuxeo.ecm.restapi.server.jaxrs.routing with parameters of type DocumentRouteModifier and TypeMethodDescriptionprotected voidWorkflowObject.checkCancelGuards(DocumentRoute route) 
- 
Uses of DocumentRoute in org.nuxeo.ecm.restapi.server.jaxrs.routing.adapterMethods in org.nuxeo.ecm.restapi.server.jaxrs.routing.adapter that return types with arguments of type DocumentRoute