Uses of Interface
de.espirit.firstspirit.access.Task
Packages that use Task
Package
Description
-
Uses of Task in de.espirit.firstspirit.access
Methods in de.espirit.firstspirit.access that return TaskModifier and TypeMethodDescriptionUserService.createTask(StoreElement storeElement, Workflow workflow, Task task) Clone a existing task on a StoreElement.UserService.createTask(StoreElement storeElement, Workflow workflow, String comment) Create task on StoreElement.UserService.createTask(StoreElement storeElement, Workflowable flowable, Workflow workflow, String comment) Create task on Workflowable.@Nullable TaskUserService.getTask(long taskId) Returns the task specified by the given task id ornullif no task exists with the given id.@Nullable TaskWorkflowable.getTask()Get the possible assignedTaskor null.@NotNull TaskWorkflowContext.getTask()Get the task.Methods in de.espirit.firstspirit.access with parameters of type TaskModifier and TypeMethodDescriptionvoidClose a running task and remove all task attributes from the associated StoreElement.UserService.createTask(StoreElement storeElement, Workflow workflow, Task task) Clone a existing task on a StoreElement.voidSet the task.voidSet the givenTask. -
Uses of Task in de.espirit.firstspirit.access.search
Methods in de.espirit.firstspirit.access.search that return types with arguments of type TaskModifier and TypeMethodDescriptionSearchService.searchTasks(Long projectId, de.espirit.firstspirit.access.search.TaskQuery query) Deprecated.since 4.1.10 - no replacement -
Uses of Task in de.espirit.firstspirit.access.store.templatestore
Methods in de.espirit.firstspirit.access.store.templatestore that return Task -
Uses of Task in de.espirit.firstspirit.workflow
Methods in de.espirit.firstspirit.workflow that return TaskModifier and TypeMethodDescriptionWorkflowAgent.WorkflowProcessContext.getTask()Returns the task this workflow process belongs to.Methods in de.espirit.firstspirit.workflow with parameters of type TaskModifier and TypeMethodDescriptionbooleanWorkflowAgent.isTransitionAllowed(@NotNull Task task, @NotNull StoreElement element, @NotNull Transition transition, @NotNull User user) Returns whether or not aTransitionis allowed for a givenTaskperformed by aUseron aStoreElementWorkflowAgent.process(@NotNull Task task, @NotNull Transition transition) Processes the nextactivityof the given task specified by given transition, wherefore given transition must be one of the outgoing transitions of the currenttask state(task.getTaskState().getModelState().getTargetTransitions()).
The returned context represents the nextactivityof the belongingworkflow modelproviding means toprocessthe nexttransition.
If the next activity has ascript, the activity will be processed automatically and the returned context provides only access to the task which is already in the nextstate.