Uses of Interface
org.nuxeo.ecm.platform.task.Task
Package
Description
Provides the interfaces necessary to create and manipulate
DocumentRoute
.Provides implementation for the api package.
-
Uses of Task in org.nuxeo.ecm.platform.comment.workflow.services
Modifier and TypeMethodDescriptionCommentsModerationServiceImpl.getModerationTask
(TaskService taskService, CoreSession session, DocumentModel doc, String commentId) -
Uses of Task in org.nuxeo.ecm.platform.routing.api
Modifier and TypeMethodDescriptionDocumentRoutingService.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.Modifier and TypeMethodDescriptionvoid
DocumentRoutingService.endTask
(CoreSession session, Task task, Map<String, Object> data, String status) Ends a task.DocumentRoutingService.getWorkflowInputDocuments
(CoreSession session, Task task) Gets the documents following the workflow to which the given task belongsvoid
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 delegatedModifier and TypeMethodDescriptionvoid
DocumentRoutingService.makeRoutingTasks
(CoreSession session, List<Task> tasks) Deprecated.The facet RoutingTask is statically attached to the new RoutingTask Document type since 7.1 -
Uses of Task in org.nuxeo.ecm.platform.routing.core.impl
Modifier and TypeMethodDescriptionDocumentRoutingServiceImpl.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.Modifier and TypeMethodDescriptionprotected 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) 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) DocumentRoutingServiceImpl.getWorkflowInputDocuments
(CoreSession session, Task task) 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) Modifier and TypeMethodDescriptionvoid
DocumentRoutingServiceImpl.makeRoutingTasks
(CoreSession coreSession, List<Task> tasks) Deprecated. -
Uses of Task in org.nuxeo.ecm.platform.routing.core.io
Modifier and TypeMethodDescriptionvoid
TaskWriter.writeEntityBody
(Task item, com.fasterxml.jackson.core.JsonGenerator jg) -
Uses of Task in org.nuxeo.ecm.platform.routing.core.provider
-
Uses of Task in org.nuxeo.ecm.platform.task
Modifier and TypeMethodDescriptionTaskService.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.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.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.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.TaskProvider.getAllCurrentTaskInstances
(CoreSession session, List<SortInfo> sortInfos) Returns the list of task instances associated assigned to the current user.TaskProvider.getAllTaskInstances
(String processId, String nodeId, CoreSession session) Returns all the tasks instances for the givenprocessId
originating from the givennodeId
.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.TaskProvider.getAllTaskInstances
(String processId, CoreSession session) Returns all the tasks instances for the givenprocessId
.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.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.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)
)TaskProvider.getCurrentTaskInstances
(CoreSession coreSession) TaskProvider.getCurrentTaskInstances
(CoreSession coreSession, List<SortInfo> sortInfos) Provide @param sortInfo to handle sort page-provider contributions (seeTaskProvider.getCurrentTaskInstances(org.nuxeo.ecm.core.api.CoreSession)
)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.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.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.Modifier and TypeMethodDescriptionTaskService.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.TaskProvider.endTask
(CoreSession coreSession, NuxeoPrincipal principal, Task task, String comment, String eventName, boolean isValidated) Ends the taskTaskService.endTask
(CoreSession coreSession, NuxeoPrincipal principal, Task task, String comment, String eventName, boolean isValidated) Ends the taskTaskService.getTargetDocumentModel
(Task ti, CoreSession coreSession) 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
Modifier and TypeMethodDescriptionTaskServiceImpl.getTask
(CoreSession coreSession, String taskId) Modifier and TypeMethodDescriptionTaskServiceImpl.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) 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) 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) 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) DocumentTaskProvider.getAllCurrentTaskInstances
(CoreSession session, List<SortInfo> sortInfos) TaskServiceImpl.getAllCurrentTaskInstances
(CoreSession coreSession, List<SortInfo> sortInfos) DocumentTaskProvider.getAllTaskInstances
(String processId, String nodeId, CoreSession session) DocumentTaskProvider.getAllTaskInstances
(String processId, List<String> actors, CoreSession session) DocumentTaskProvider.getAllTaskInstances
(String processId, CoreSession session) DocumentTaskProvider.getAllTaskInstances
(String processId, NuxeoPrincipal user, CoreSession session) TaskServiceImpl.getAllTaskInstances
(String processId, String nodeId, CoreSession session) TaskServiceImpl.getAllTaskInstances
(String processId, List<String> actors, CoreSession session) TaskServiceImpl.getAllTaskInstances
(String processId, CoreSession session) TaskServiceImpl.getAllTaskInstances
(String processId, NuxeoPrincipal user, CoreSession session) 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.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)
)DocumentTaskProvider.getCurrentTaskInstances
(CoreSession coreSession) DocumentTaskProvider.getCurrentTaskInstances
(CoreSession coreSession, List<SortInfo> sortInfos) Provide @param sortInfo to handle sort page-provider contributions (seeDocumentTaskProvider.getCurrentTaskInstances(org.nuxeo.ecm.core.api.CoreSession)
)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.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)
)TaskServiceImpl.getCurrentTaskInstances
(CoreSession coreSession) TaskServiceImpl.getCurrentTaskInstances
(CoreSession coreSession, List<SortInfo> sortInfos) Provide @param sortInfo to handle sort page-provider contributions (seeTaskServiceImpl.getCurrentTaskInstances(org.nuxeo.ecm.core.api.CoreSession)
)DocumentTaskProvider.getTaskInstances
(DocumentModel dm, List<String> actors, boolean includeDelegatedTasks, CoreSession session) DocumentTaskProvider.getTaskInstances
(DocumentModel dm, List<String> actors, CoreSession coreSession) DocumentTaskProvider.getTaskInstances
(DocumentModel dm, NuxeoPrincipal user, CoreSession coreSession) TaskServiceImpl.getTaskInstances
(DocumentModel dm, List<String> actors, boolean includeDelegatedTasks, CoreSession session) TaskServiceImpl.getTaskInstances
(DocumentModel dm, List<String> actors, CoreSession coreSession) TaskServiceImpl.getTaskInstances
(DocumentModel dm, NuxeoPrincipal user, CoreSession coreSession) CreateTaskUnrestricted.getTasks()
DocumentTaskProvider.getTasks
(String pageProviderName, CoreSession session, boolean unrestricted, List<SortInfo> sortInfos, Object... params) DocumentTaskProvider.wrapDocModelInTask
(List<DocumentModel> taskDocuments) Converts aDocumentModelList
to a list ofTask
s.Modifier and TypeMethodDescriptionTaskServiceImpl.acceptTask
(CoreSession coreSession, NuxeoPrincipal principal, Task task, String comment) boolean
TaskServiceImpl.canEndTask
(NuxeoPrincipal principal, Task task) protected boolean
TaskServiceImpl.checkPermissions
(NuxeoPrincipal principal, Task task) DocumentTaskProvider.endTask
(CoreSession coreSession, NuxeoPrincipal principal, Task task, String comment, String eventName, boolean isValidated) 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
.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) TaskServiceImpl.rejectTask
(CoreSession coreSession, NuxeoPrincipal principal, Task task, String comment) -
Uses of Task in org.nuxeo.ecm.platform.task.dashboard
Modifier and TypeMethodDescriptionDashBoardItem.getTask()
Returns the underneath task instanceDashBoardItemImpl.getTask()
ModifierConstructorDescriptionDashBoardItemImpl
(Task task, Locale locale) DashBoardItemImpl
(Task task, DocumentModel document, Locale locale) -
Uses of Task in org.nuxeo.ecm.restapi.server.jaxrs.routing
-
Uses of Task in org.nuxeo.ecm.restapi.server.jaxrs.routing.adapter