Class TaskObject
java.lang.Object
org.nuxeo.ecm.webengine.model.impl.AbstractResource<ResourceTypeImpl>
org.nuxeo.ecm.webengine.model.impl.DefaultObject
org.nuxeo.ecm.restapi.server.jaxrs.PaginableObject<Task>
org.nuxeo.ecm.restapi.server.jaxrs.routing.TaskObject
- Since:
- 7.2
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
static final String
protected String
protected String
protected String
Deprecated.since 11.1Fields inherited from class org.nuxeo.ecm.restapi.server.jaxrs.PaginableObject
currentPageIndex, maxResults, offset, pageSize
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionjavax.ws.rs.core.Response
completeTask
(String taskId, String action, TaskCompletionRequest taskCompletionRequest) javax.ws.rs.core.Response
delegateTask
(String taskId, List<String> delegatedActors, String comment) protected PageProviderDefinition
protected Object[]
getTaskById
(String taskId) protected void
initialize
(Object... args) javax.ws.rs.core.Response
reassignTask
(String taskId, List<String> actors, String comment) Methods inherited from class org.nuxeo.ecm.restapi.server.jaxrs.PaginableObject
extractLongParam, getPaginableEntries, getPaginableEntries, getSearchDocument
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
-
Field Details
-
PAGE_PROVIDER_NAME
- Since:
- 11.1
- See Also:
-
BASE_QUERY
-
userId
-
workflowInstanceId
-
workflowModelName
Deprecated.since 11.1For backward compatibility only. This parameter forces post-filtering and prevents paginated results.
-
-
Constructor Details
-
TaskObject
public TaskObject()
-
-
Method Details
-
initialize
- Overrides:
initialize
in classPaginableObject<Task>
-
reassignTask
-
delegateTask
-
completeTask
public javax.ws.rs.core.Response completeTask(String taskId, String action, TaskCompletionRequest taskCompletionRequest) -
getUserRelatedWorkflowTasks
-
getTaskById
-
getPageProviderDefinition
- Specified by:
getPageProviderDefinition
in classPaginableObject<Task>
-
getParams
- Overrides:
getParams
in classPaginableObject<Task>
-