Class WorkflowObject
- java.lang.Object
-
- org.nuxeo.ecm.webengine.model.impl.AbstractResource<ResourceTypeImpl>
-
- org.nuxeo.ecm.webengine.model.impl.DefaultObject
-
- org.nuxeo.ecm.restapi.server.jaxrs.routing.WorkflowObject
-
public class WorkflowObject extends DefaultObject
- Since:
- 7.2
-
-
Constructor Summary
Constructors Constructor Description WorkflowObject()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description javax.ws.rs.core.Response
cancelWorkflowInstance(String workflowInstanceId)
protected void
checkCancelGuards(DocumentRoute route)
javax.ws.rs.core.Response
createWorkflowInstance(WorkflowRequest workflowRequest)
List<DocumentRoute>
getRunningWorkflowInstancesLaunchedByCurrentUser(String worflowModelName)
JsonGraphRoute
getWorkflowGraph(String workflowInstanceId)
DocumentRoute
getWorkflowInstance(String workflowInstanceId)
protected void
initialize(Object... args)
-
Methods inherited from class org.nuxeo.ecm.webengine.model.impl.DefaultObject
disptachAdapter, isAdapter
-
Methods inherited from class org.nuxeo.ecm.webengine.model.impl.AbstractResource
checkGuard, dispose, getActiveAdapter, getAdapter, getContext, getFacets, getLinks, getModule, getName, getNext, getNextSegment, getPath, getPrevious, getTemplate, getTrailingPath, getType, getURL, getView, hasFacet, initialize, isInstanceOf, isRoot, newAdapter, newObject, redirect, setNext, setPrevious, setRoot, toString
-
-
-
-
Method Detail
-
initialize
protected void initialize(Object... args)
- Overrides:
initialize
in classAbstractResource<ResourceTypeImpl>
-
createWorkflowInstance
public javax.ws.rs.core.Response createWorkflowInstance(WorkflowRequest workflowRequest)
-
getWorkflowInstance
public DocumentRoute getWorkflowInstance(String workflowInstanceId)
-
getWorkflowGraph
public JsonGraphRoute getWorkflowGraph(String workflowInstanceId)
-
cancelWorkflowInstance
public javax.ws.rs.core.Response cancelWorkflowInstance(String workflowInstanceId)
-
checkCancelGuards
protected void checkCancelGuards(DocumentRoute route)
-
getRunningWorkflowInstancesLaunchedByCurrentUser
public List<DocumentRoute> getRunningWorkflowInstancesLaunchedByCurrentUser(String worflowModelName)
-
-