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 TaskCommentsModerationServiceImpl. 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 voidDocumentRoutingService. endTask(CoreSession session, Task task, Map<String,Object> data, String status)Ends a task.voidRoutingTaskService. endTask(CoreSession session, Task task, Map<String,Object> data, String status)Deprecated.since 5.6, use DocumentRoutingService insteadvoidDocumentRoutingService. 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 insteadvoidDocumentRoutingService. grantPermissionToTaskAssignees(CoreSession session, String permission, List<DocumentModel> docs, Task task)Grants on these documents the specified assignees permissions for this task.voidDocumentRoutingService. 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.voidDocumentRoutingService. removePermissionFromTaskAssignees(CoreSession session, List<DocumentModel> docs, Task task)Removes on these documents the specified assignees permissions for this task.voidDocumentRoutingService. 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 voidDocumentRoutingService. makeRoutingTasks(CoreSession session, List<Task> tasks)Deprecated.The facet RoutingTask is statically attached to the new RoutingTask Document type since 7.1voidRoutingTaskService. 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 voidDocumentRoutingServiceImpl. completeTask(String routeId, String nodeId, Task task, Map<String,Object> data, String status, CoreSession session)voidDocumentRoutingServiceImpl. endTask(CoreSession session, Task task, Map<String,Object> data, String status)voidRoutingTaskServiceImpl. endTask(CoreSession session, Task task, Map<String,Object> data, String status)Deprecated.voidDocumentRoutingServiceImpl. finishTask(CoreSession session, DocumentRoute route, Task task, boolean delete)protected voidGraphRunner. finishTask(CoreSession session, GraphRoute graph, GraphNode node, Task task, boolean delete)protected voidGraphRunner. finishTask(CoreSession session, GraphRoute graph, GraphNode node, Task task, boolean delete, String status)protected static StringDocumentRoutingServiceImpl. getDelegationACLName(Task task)protected static StringDocumentRoutingServiceImpl. 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.voidDocumentRoutingServiceImpl. grantPermissionToTaskAssignees(CoreSession session, String permission, List<DocumentModel> docs, Task task)voidDocumentRoutingServiceImpl. grantPermissionToTaskDelegatedActors(CoreSession session, String permission, List<DocumentModel> docs, Task task)protected voidDocumentRoutingServiceImpl. prepareAndFireEvent(Serializable actors, DocumentRoutingConstants.Events event, String comment, CoreSession session, Task task, GraphRoute routeInstance)voidDocumentRoutingServiceImpl. removePermissionFromTaskAssignees(CoreSession s, List<DocumentModel> docs, Task task)voidDocumentRoutingServiceImpl. removePermissionsForTaskActors(CoreSession session, List<DocumentModel> docs, Task task)protected voidDocumentRoutingServiceImpl. 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 voidDocumentRoutingServiceImpl. makeRoutingTasks(CoreSession coreSession, List<Task> tasks)Deprecated.voidRoutingTaskServiceImpl. 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 voidTaskWriter. 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 classTaskImplMethods in org.nuxeo.ecm.platform.task that return Task Modifier and Type Method Description TaskTaskService. 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 givenprocessIdoriginating from the givennodeId.List<Task>TaskProvider. getAllTaskInstances(String processId, List<String> actors, CoreSession session)Returns all the tasks instances for the givenprocessIdwhich 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 givenprocessIdand 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 StringTaskService. acceptTask(CoreSession coreSession, NuxeoPrincipal principal, Task task, String comment)Ends the task using event nameTaskEventNames.WORKFLOW_TASK_COMPLETEDand marking the task as validated.booleanTaskService. canEndTask(NuxeoPrincipal principal, Task task)Returns true if user is an administrator, the initiator of the task, or an actor of the task.StringTaskProvider. endTask(CoreSession coreSession, NuxeoPrincipal principal, Task task, String comment, String eventName, boolean isValidated)Ends the taskStringTaskService. endTask(CoreSession coreSession, NuxeoPrincipal principal, Task task, String comment, String eventName, boolean isValidated)Ends the taskDocumentModelTaskService. getTargetDocumentModel(Task ti, CoreSession coreSession)StringTaskService. rejectTask(CoreSession coreSession, NuxeoPrincipal principal, Task task, String comment)Ends the task using event nameTaskEventNames.WORKFLOW_TASK_REJECTEDand 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 TaskTaskServiceImpl. 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 aDocumentModelListto a list ofTasks.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 StringTaskServiceImpl. acceptTask(CoreSession coreSession, NuxeoPrincipal principal, Task task, String comment)booleanTaskServiceImpl. canEndTask(NuxeoPrincipal principal, Task task)protected booleanTaskServiceImpl. checkPermissions(NuxeoPrincipal principal, Task task)StringDocumentTaskProvider. endTask(CoreSession coreSession, NuxeoPrincipal principal, Task task, String comment, String eventName, boolean isValidated)StringTaskServiceImpl. endTask(CoreSession coreSession, NuxeoPrincipal principal, Task task, String comment, String eventName, boolean isValidated)Use the task provider held by theTASK_PROVIDER_KEYtask variable to end thetask.DocumentModelTaskServiceImpl. getTargetDocumentModel(Task task, CoreSession coreSession)protected booleanTaskServiceImpl. isTaskActive(Task task)protected booleanTaskServiceImpl. isTaskAssignedToUser(Task task, NuxeoPrincipal user, boolean checkDelegatedActors)static voidTaskEventNotificationHelper. notifyEvent(CoreSession coreSession, DocumentModel document, NuxeoPrincipal principal, Task task, String eventId, Map<String,Serializable> properties, String comment, String category)protected voidTaskServiceImpl. notifyEvent(CoreSession session, Task task, List<DocumentModel> docs, String event, Map<String,Serializable> eventInfo, String comment, NuxeoPrincipal principal, List<String> actorIds)static voidTaskEventNotificationHelper. notifyTaskEnded(CoreSession coreSession, NuxeoPrincipal principal, Task task, String comment, String eventName, Map<String,Serializable> extraEventProperties)StringTaskServiceImpl. 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 TaskDashBoardItemImpl. taskMethods in org.nuxeo.ecm.platform.task.dashboard that return Task Modifier and Type Method Description TaskDashBoardItem. getTask()Returns the underneath task instanceTaskDashBoardItemImpl. 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 TaskTaskObject. 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)
-