Uses of Interface
org.nuxeo.ecm.platform.task.Task
-
Packages that use Task Package Description org.nuxeo.ecm.platform.comment.workflow.services org.nuxeo.ecm.platform.routing.api Provides the interfaces necessary to create and manipulateDocumentRoute
.org.nuxeo.ecm.platform.routing.core.impl Provides implementation for the api package.org.nuxeo.ecm.platform.routing.core.io org.nuxeo.ecm.platform.routing.core.provider org.nuxeo.ecm.platform.task org.nuxeo.ecm.platform.task.core.service org.nuxeo.ecm.platform.task.dashboard org.nuxeo.ecm.restapi.server.jaxrs.routing org.nuxeo.ecm.restapi.server.jaxrs.routing.adapter -
-
Uses of Task in org.nuxeo.ecm.platform.comment.workflow.services
Methods in org.nuxeo.ecm.platform.comment.workflow.services that return Task Modifier and Type Method Description Task
CommentsModerationServiceImpl. getModerationTask(TaskService taskService, CoreSession session, DocumentModel doc, String commentId)
-
Uses of Task in org.nuxeo.ecm.platform.routing.api
Methods in org.nuxeo.ecm.platform.routing.api that return types with arguments of type Task Modifier and Type Method Description List<Task>
DocumentRoutingService. getTasks(DocumentModel document, String actorId, String workflowInstanceId, String workflowModelName, CoreSession session)
Deprecated.since 11.1 this method does not scale as it does not paginate results.Methods in org.nuxeo.ecm.platform.routing.api with parameters of type Task Modifier and Type Method Description void
DocumentRoutingService. endTask(CoreSession session, Task task, Map<String,Object> data, String status)
Ends a task.void
RoutingTaskService. endTask(CoreSession session, Task task, Map<String,Object> data, String status)
Deprecated.since 5.6, use DocumentRoutingService insteadvoid
DocumentRoutingService. finishTask(CoreSession session, DocumentRoute route, Task task, boolean delete)
Deprecated.// will be removed in 5.8, use completeTask insteadList<DocumentModel>
DocumentRoutingService. getWorkflowInputDocuments(CoreSession session, Task task)
Gets the documents following the workflow to which the given task belongsList<DocumentModel>
RoutingTaskService. getWorkflowInputDocuments(CoreSession session, Task task)
Deprecated.since 5.6, use DocumentRoutingService insteadvoid
DocumentRoutingService. grantPermissionToTaskAssignees(CoreSession session, String permission, List<DocumentModel> docs, Task task)
Grants on these documents the specified assignees permissions for this task.void
DocumentRoutingService. grantPermissionToTaskDelegatedActors(CoreSession session, String permission, List<DocumentModel> docs, Task task)
Grants on these documents the specified assignees permissions for this task to the tasks delegated actors.void
DocumentRoutingService. removePermissionFromTaskAssignees(CoreSession session, List<DocumentModel> docs, Task task)
Removes on these documents the specified assignees permissions for this task.void
DocumentRoutingService. removePermissionsForTaskActors(CoreSession session, List<DocumentModel> docs, Task task)
Removes on these documents the specified assignees permissions for the task actors and also tasks delegated actors if this task was delegatedMethod parameters in org.nuxeo.ecm.platform.routing.api with type arguments of type Task Modifier and Type Method Description void
DocumentRoutingService. makeRoutingTasks(CoreSession session, List<Task> tasks)
Deprecated.The facet RoutingTask is statically attached to the new RoutingTask Document type since 7.1void
RoutingTaskService. makeRoutingTasks(CoreSession session, List<Task> tasks)
Deprecated.since 5.6, use DocumentRoutingService instead -
Uses of Task in org.nuxeo.ecm.platform.routing.core.impl
Methods in org.nuxeo.ecm.platform.routing.core.impl that return types with arguments of type Task Modifier and Type Method Description List<Task>
DocumentRoutingServiceImpl. getTasks(DocumentModel document, String actorId, String workflowInstanceId, String worflowModelName, CoreSession s)
Deprecated.since 11.1 this method does not scale as it does not paginate results.Methods in org.nuxeo.ecm.platform.routing.core.impl with parameters of type Task Modifier and Type Method Description protected void
DocumentRoutingServiceImpl. completeTask(String routeId, String nodeId, Task task, Map<String,Object> data, String status, CoreSession session)
void
DocumentRoutingServiceImpl. endTask(CoreSession session, Task task, Map<String,Object> data, String status)
void
RoutingTaskServiceImpl. endTask(CoreSession session, Task task, Map<String,Object> data, String status)
Deprecated.void
DocumentRoutingServiceImpl. finishTask(CoreSession session, DocumentRoute route, Task task, boolean delete)
protected void
GraphRunner. finishTask(CoreSession session, GraphRoute graph, GraphNode node, Task task, boolean delete)
protected void
GraphRunner. finishTask(CoreSession session, GraphRoute graph, GraphNode node, Task task, boolean delete, String status)
protected static String
DocumentRoutingServiceImpl. getDelegationACLName(Task task)
protected static String
DocumentRoutingServiceImpl. getRoutingACLName(Task task)
Finds an ACL name specific to the task (there may be several tasks applying permissions to the same document).protected Map<String,Serializable>
DocumentRoutingServiceImpl. getWorkflowContextualInfo(CoreSession session, Task item)
List<DocumentModel>
DocumentRoutingServiceImpl. getWorkflowInputDocuments(CoreSession session, Task task)
List<DocumentModel>
RoutingTaskServiceImpl. getWorkflowInputDocuments(CoreSession session, Task task)
Deprecated.void
DocumentRoutingServiceImpl. grantPermissionToTaskAssignees(CoreSession session, String permission, List<DocumentModel> docs, Task task)
void
DocumentRoutingServiceImpl. grantPermissionToTaskDelegatedActors(CoreSession session, String permission, List<DocumentModel> docs, Task task)
protected void
DocumentRoutingServiceImpl. prepareAndFireEvent(Serializable actors, DocumentRoutingConstants.Events event, String comment, CoreSession session, Task task, GraphRoute routeInstance)
void
DocumentRoutingServiceImpl. removePermissionFromTaskAssignees(CoreSession s, List<DocumentModel> docs, Task task)
void
DocumentRoutingServiceImpl. removePermissionsForTaskActors(CoreSession session, List<DocumentModel> docs, Task task)
protected void
DocumentRoutingServiceImpl. updateTaskInfo(CoreSession session, GraphRoute graph, Task task, String status)
Method parameters in org.nuxeo.ecm.platform.routing.core.impl with type arguments of type Task Modifier and Type Method Description void
DocumentRoutingServiceImpl. makeRoutingTasks(CoreSession coreSession, List<Task> tasks)
Deprecated.void
RoutingTaskServiceImpl. makeRoutingTasks(CoreSession session, List<Task> tasks)
Deprecated. -
Uses of Task in org.nuxeo.ecm.platform.routing.core.io
Methods in org.nuxeo.ecm.platform.routing.core.io with parameters of type Task Modifier and Type Method Description void
TaskWriter. writeEntityBody(Task item, com.fasterxml.jackson.core.JsonGenerator jg)
-
Uses of Task in org.nuxeo.ecm.platform.routing.core.provider
Methods in org.nuxeo.ecm.platform.routing.core.provider that return types with arguments of type Task Modifier and Type Method Description List<Task>
RoutingTaskPageProvider. getCurrentPage()
-
Uses of Task in org.nuxeo.ecm.platform.task
Classes in org.nuxeo.ecm.platform.task that implement Task Modifier and Type Class Description class
TaskImpl
Methods in org.nuxeo.ecm.platform.task that return Task Modifier and Type Method Description Task
TaskService. getTask(CoreSession coreSession, String taskId)
Methods in org.nuxeo.ecm.platform.task that return types with arguments of type Task Modifier and Type Method Description List<Task>
TaskService. createTask(CoreSession coreSession, NuxeoPrincipal principal, List<DocumentModel> documents, String taskDocumentType, String taskName, String taskType, String processId, List<String> prefixedActorIds, boolean createOneTaskPerActor, String directive, String comment, Date dueDate, Map<String,String> taskVariables, String parentPath, Map<String,Serializable> eventInfo)
List<Task>
TaskService. createTask(CoreSession coreSession, NuxeoPrincipal principal, DocumentModel document, String taskDocumentType, String taskName, String taskType, String processId, List<String> prefixedActorIds, boolean createOneTaskPerActor, String directive, String comment, Date dueDate, Map<String,String> taskVariables, String parentPath, Map<String,Serializable> eventInfo)
Creates a task of the given document type and starts it.List<Task>
TaskService. createTask(CoreSession coreSession, NuxeoPrincipal principal, DocumentModel document, String taskName, String taskType, String processId, List<String> prefixedActorIds, boolean createOneTaskPerActor, String directive, String comment, Date dueDate, Map<String,String> taskVariables, String parentPath)
Creates a task and starts it.List<Task>
TaskService. createTask(CoreSession coreSession, NuxeoPrincipal principal, DocumentModel document, String taskName, List<String> prefixedActorIds, boolean createOneTaskPerActor, String directive, String comment, Date dueDate, Map<String,String> taskVariables, String parentPath)
Creates a task and starts it.List<Task>
TaskService. createTaskForProcess(CoreSession coreSession, NuxeoPrincipal principal, List<DocumentModel> documents, String taskDocumentType, String taskName, String taskType, String processId, String processName, List<String> actorIds, boolean createOneTaskPerActor, String directive, String comment, Date dueDate, Map<String,String> taskVariables, String parentPath, Map<String,Serializable> eventInfo)
Creates a task of the given documents type and starts it.List<Task>
TaskProvider. getAllCurrentTaskInstances(CoreSession session, List<SortInfo> sortInfos)
Returns the list of task instances associated assigned to the current user.List<Task>
TaskProvider. getAllTaskInstances(String processId, String nodeId, CoreSession session)
Returns all the tasks instances for the givenprocessId
originating from the givennodeId
.List<Task>
TaskProvider. getAllTaskInstances(String processId, List<String> actors, CoreSession session)
Returns all the tasks instances for the givenprocessId
which assigned to one of the actor in the list or its pool.List<Task>
TaskProvider. getAllTaskInstances(String processId, CoreSession session)
Returns all the tasks instances for the givenprocessId
.List<Task>
TaskProvider. getAllTaskInstances(String processId, NuxeoPrincipal user, CoreSession session)
Returns all the tasks instances for the givenprocessId
and where the user is the actor or belongs to the pooled actor list.List<Task>
TaskProvider. getCurrentTaskInstances(List<String> actors, CoreSession coreSession)
Returns a list of task instances assigned to one of the actors in the list or to its pool.List<Task>
TaskProvider. getCurrentTaskInstances(List<String> actors, CoreSession coreSession, List<SortInfo> sortInfos)
Provide @param sortInfo to handle sort page-provider contributions (seeTaskProvider.getCurrentTaskInstances(org.nuxeo.ecm.core.api.CoreSession)
)List<Task>
TaskProvider. getCurrentTaskInstances(CoreSession coreSession)
List<Task>
TaskProvider. getCurrentTaskInstances(CoreSession coreSession, List<SortInfo> sortInfos)
Provide @param sortInfo to handle sort page-provider contributions (seeTaskProvider.getCurrentTaskInstances(org.nuxeo.ecm.core.api.CoreSession)
)List<Task>
TaskProvider. getTaskInstances(DocumentModel dm, List<String> actors, boolean includeDelegatedTasks, CoreSession session)
Returns the list of task instances associated with this document assigned to one of the actor in the list or its pool.List<Task>
TaskProvider. getTaskInstances(DocumentModel dm, List<String> actors, CoreSession coreSession)
Returns the list of task instances associated with this document assigned to one of the actor in the list or its pool.List<Task>
TaskProvider. getTaskInstances(DocumentModel dm, NuxeoPrincipal user, CoreSession coreSession)
Returns the list of task instances associated with this document for which the user is the actor or belongs to the pooled actor list.Methods in org.nuxeo.ecm.platform.task with parameters of type Task Modifier and Type Method Description String
TaskService. acceptTask(CoreSession coreSession, NuxeoPrincipal principal, Task task, String comment)
Ends the task using event nameTaskEventNames.WORKFLOW_TASK_COMPLETED
and marking the task as validated.boolean
TaskService. canEndTask(NuxeoPrincipal principal, Task task)
Returns true if user is an administrator, the initiator of the task, or an actor of the task.String
TaskProvider. endTask(CoreSession coreSession, NuxeoPrincipal principal, Task task, String comment, String eventName, boolean isValidated)
Ends the taskString
TaskService. endTask(CoreSession coreSession, NuxeoPrincipal principal, Task task, String comment, String eventName, boolean isValidated)
Ends the taskDocumentModel
TaskService. getTargetDocumentModel(Task ti, CoreSession coreSession)
String
TaskService. rejectTask(CoreSession coreSession, NuxeoPrincipal principal, Task task, String comment)
Ends the task using event nameTaskEventNames.WORKFLOW_TASK_REJECTED
and marking the task as not validated. -
Uses of Task in org.nuxeo.ecm.platform.task.core.service
Methods in org.nuxeo.ecm.platform.task.core.service that return Task Modifier and Type Method Description Task
TaskServiceImpl. getTask(CoreSession coreSession, String taskId)
Methods in org.nuxeo.ecm.platform.task.core.service that return types with arguments of type Task Modifier and Type Method Description List<Task>
TaskServiceImpl. createTask(CoreSession coreSession, NuxeoPrincipal principal, List<DocumentModel> documents, String taskDocumentType, String taskName, String taskType, String processId, List<String> actorIds, boolean createOneTaskPerActor, String directive, String comment, Date dueDate, Map<String,String> taskVariables, String parentPath, Map<String,Serializable> eventInfo)
List<Task>
TaskServiceImpl. createTask(CoreSession coreSession, NuxeoPrincipal principal, DocumentModel document, String taskDocumentType, String taskName, String taskType, String processId, List<String> actorIds, boolean createOneTaskPerActor, String directive, String comment, Date dueDate, Map<String,String> taskVariables, String parentPath, Map<String,Serializable> eventInfo)
List<Task>
TaskServiceImpl. createTask(CoreSession coreSession, NuxeoPrincipal principal, DocumentModel document, String taskName, String taskType, String processId, List<String> prefixedActorIds, boolean createOneTaskPerActor, String directive, String comment, Date dueDate, Map<String,String> taskVariables, String parentPath)
List<Task>
TaskServiceImpl. createTask(CoreSession coreSession, NuxeoPrincipal principal, DocumentModel document, String taskName, List<String> actorIds, boolean createOneTaskPerActor, String directive, String comment, Date dueDate, Map<String,String> taskVariables, String parentPath)
List<Task>
TaskServiceImpl. createTaskForProcess(CoreSession coreSession, NuxeoPrincipal principal, List<DocumentModel> documents, String taskDocumentType, String taskName, String taskType, String processId, String processName, List<String> actorIds, boolean createOneTaskPerActor, String directive, String comment, Date dueDate, Map<String,String> taskVariables, String parentPath, Map<String,Serializable> eventInfo)
List<Task>
DocumentTaskProvider. getAllCurrentTaskInstances(CoreSession session, List<SortInfo> sortInfos)
List<Task>
TaskServiceImpl. getAllCurrentTaskInstances(CoreSession coreSession, List<SortInfo> sortInfos)
List<Task>
DocumentTaskProvider. getAllTaskInstances(String processId, String nodeId, CoreSession session)
List<Task>
DocumentTaskProvider. getAllTaskInstances(String processId, List<String> actors, CoreSession session)
List<Task>
DocumentTaskProvider. getAllTaskInstances(String processId, CoreSession session)
List<Task>
DocumentTaskProvider. getAllTaskInstances(String processId, NuxeoPrincipal user, CoreSession session)
List<Task>
TaskServiceImpl. getAllTaskInstances(String processId, String nodeId, CoreSession session)
List<Task>
TaskServiceImpl. getAllTaskInstances(String processId, List<String> actors, CoreSession session)
List<Task>
TaskServiceImpl. getAllTaskInstances(String processId, CoreSession session)
List<Task>
TaskServiceImpl. getAllTaskInstances(String processId, NuxeoPrincipal user, CoreSession session)
List<Task>
DocumentTaskProvider. getCurrentTaskInstances(List<String> actors, CoreSession coreSession)
Returns a list of task instances assigned to one of the actors in the list or to its pool.List<Task>
DocumentTaskProvider. getCurrentTaskInstances(List<String> actors, CoreSession coreSession, List<SortInfo> sortInfos)
Provide @param sortInfo to handle sort page-provider contributions (seeDocumentTaskProvider.getCurrentTaskInstances(org.nuxeo.ecm.core.api.CoreSession)
)List<Task>
DocumentTaskProvider. getCurrentTaskInstances(CoreSession coreSession)
List<Task>
DocumentTaskProvider. getCurrentTaskInstances(CoreSession coreSession, List<SortInfo> sortInfos)
Provide @param sortInfo to handle sort page-provider contributions (seeDocumentTaskProvider.getCurrentTaskInstances(org.nuxeo.ecm.core.api.CoreSession)
)List<Task>
TaskServiceImpl. getCurrentTaskInstances(List<String> actors, CoreSession coreSession)
Returns a list of task instances assigned to one of the actors in the list or to its pool.List<Task>
TaskServiceImpl. getCurrentTaskInstances(List<String> actors, CoreSession coreSession, List<SortInfo> sortInfos)
Provide @param sortInfo to handle sort page-provider contributions (seeTaskServiceImpl.getCurrentTaskInstances(org.nuxeo.ecm.core.api.CoreSession)
)List<Task>
TaskServiceImpl. getCurrentTaskInstances(CoreSession coreSession)
List<Task>
TaskServiceImpl. getCurrentTaskInstances(CoreSession coreSession, List<SortInfo> sortInfos)
Provide @param sortInfo to handle sort page-provider contributions (seeTaskServiceImpl.getCurrentTaskInstances(org.nuxeo.ecm.core.api.CoreSession)
)List<Task>
DocumentTaskProvider. getTaskInstances(DocumentModel dm, List<String> actors, boolean includeDelegatedTasks, CoreSession session)
List<Task>
DocumentTaskProvider. getTaskInstances(DocumentModel dm, List<String> actors, CoreSession coreSession)
List<Task>
DocumentTaskProvider. getTaskInstances(DocumentModel dm, NuxeoPrincipal user, CoreSession coreSession)
List<Task>
TaskServiceImpl. getTaskInstances(DocumentModel dm, List<String> actors, boolean includeDelegatedTasks, CoreSession session)
List<Task>
TaskServiceImpl. getTaskInstances(DocumentModel dm, List<String> actors, CoreSession coreSession)
List<Task>
TaskServiceImpl. getTaskInstances(DocumentModel dm, NuxeoPrincipal user, CoreSession coreSession)
List<Task>
CreateTaskUnrestricted. getTasks()
static List<Task>
DocumentTaskProvider. getTasks(String pageProviderName, CoreSession session, boolean unrestricted, List<SortInfo> sortInfos, Object... params)
static List<Task>
DocumentTaskProvider. wrapDocModelInTask(List<DocumentModel> taskDocuments)
Converts aDocumentModelList
to a list ofTask
s.static List<Task>
DocumentTaskProvider. wrapDocModelInTask(DocumentModelList taskDocuments)
Deprecated.since 6.0, useDocumentTaskProvider.wrapDocModelInTask(List)
instead.static List<Task>
DocumentTaskProvider. wrapDocModelInTask(DocumentModelList taskDocuments, boolean detach)
Deprecated.since 6.0, useDocumentTaskProvider.wrapDocModelInTask(List)
instead.Methods in org.nuxeo.ecm.platform.task.core.service with parameters of type Task Modifier and Type Method Description String
TaskServiceImpl. acceptTask(CoreSession coreSession, NuxeoPrincipal principal, Task task, String comment)
boolean
TaskServiceImpl. canEndTask(NuxeoPrincipal principal, Task task)
protected boolean
TaskServiceImpl. checkPermissions(NuxeoPrincipal principal, Task task)
String
DocumentTaskProvider. endTask(CoreSession coreSession, NuxeoPrincipal principal, Task task, String comment, String eventName, boolean isValidated)
String
TaskServiceImpl. endTask(CoreSession coreSession, NuxeoPrincipal principal, Task task, String comment, String eventName, boolean isValidated)
Use the task provider held by theTASK_PROVIDER_KEY
task variable to end thetask
.DocumentModel
TaskServiceImpl. getTargetDocumentModel(Task task, CoreSession coreSession)
protected boolean
TaskServiceImpl. isTaskActive(Task task)
protected boolean
TaskServiceImpl. isTaskAssignedToUser(Task task, NuxeoPrincipal user, boolean checkDelegatedActors)
static void
TaskEventNotificationHelper. notifyEvent(CoreSession coreSession, DocumentModel document, NuxeoPrincipal principal, Task task, String eventId, Map<String,Serializable> properties, String comment, String category)
protected void
TaskServiceImpl. notifyEvent(CoreSession session, Task task, List<DocumentModel> docs, String event, Map<String,Serializable> eventInfo, String comment, NuxeoPrincipal principal, List<String> actorIds)
static void
TaskEventNotificationHelper. notifyTaskEnded(CoreSession coreSession, NuxeoPrincipal principal, Task task, String comment, String eventName, Map<String,Serializable> extraEventProperties)
String
TaskServiceImpl. rejectTask(CoreSession coreSession, NuxeoPrincipal principal, Task task, String comment)
-
Uses of Task in org.nuxeo.ecm.platform.task.dashboard
Fields in org.nuxeo.ecm.platform.task.dashboard declared as Task Modifier and Type Field Description protected Task
DashBoardItemImpl. task
Methods in org.nuxeo.ecm.platform.task.dashboard that return Task Modifier and Type Method Description Task
DashBoardItem. getTask()
Returns the underneath task instanceTask
DashBoardItemImpl. getTask()
Constructors in org.nuxeo.ecm.platform.task.dashboard with parameters of type Task Constructor Description DashBoardItemImpl(Task task, Locale locale)
DashBoardItemImpl(Task task, DocumentModel document, Locale locale)
-
Uses of Task in org.nuxeo.ecm.restapi.server.jaxrs.routing
Methods in org.nuxeo.ecm.restapi.server.jaxrs.routing that return Task Modifier and Type Method Description Task
TaskObject. getTaskById(String taskId)
Methods in org.nuxeo.ecm.restapi.server.jaxrs.routing that return types with arguments of type Task Modifier and Type Method Description List<Task>
TaskObject. getUserRelatedWorkflowTasks()
-
Uses of Task 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 Task Modifier and Type Method Description List<Task>
TaskAdapter. doGet(String userId, String workflowInstanceId, String workflowModelName)
List<Task>
WorkflowAdapter. doGetTasks(String workflowInstanceId)
-