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 Task
UserService.getTask
(long taskId) Returns the task specified by the given task id ornull
if no task exists with the given id.@Nullable Task
Workflowable.getTask()
Get the possible assignedTask
or null.@NotNull Task
WorkflowContext.getTask()
Get the task.Methods in de.espirit.firstspirit.access with parameters of type TaskModifier and TypeMethodDescriptionvoid
Close 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.void
Set the task.void
Set 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 TypeMethodDescriptionboolean
WorkflowAgent.isTransitionAllowed
(@NotNull Task task, @NotNull StoreElement element, @NotNull Transition transition, @NotNull User user) Returns whether or not aTransition
is allowed for a givenTask
performed by aUser
on aStoreElement
WorkflowAgent.process
(@NotNull Task task, @NotNull Transition transition) Processes the nextactivity
of 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 nextactivity
of the belongingworkflow model
providing means toprocess
the 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
.