Uses of Interface
de.espirit.firstspirit.workflow.model.Transition
Package
Description
-
Uses of Transition in de.espirit.firstspirit.access
Modifier and TypeMethodDescription@Nullable Transition
TransitionParameters.getTransition()
Return selected transition.Modifier and TypeMethodDescription@NotNull WorkflowScriptContext
WorkflowContext.createWorkflowScriptContext
(Script script, Transition transition, Activity activity, TaskState.Mode callMode, @Nullable Data data) Deprecated, for removal: This API element is subject to removal in a future version.WorkflowContext.createWorkflowScriptContext
(Script script, Transition transition, Activity activity, TaskState.Mode callMode, @Nullable FormData data) Create script context for executing a script.Task.doTransition
(@NotNull WorkflowContext context, @NotNull Transition transition) Perform transition execution on this task.@Nullable TransitionParameters
WorkflowContext.selectManualTransition
(Transition transition) Select manual workflow transition parameters (show dialog).void
WorkflowContext.sendEMail
(Transition transition) Called to send a email on transition activation.void
TransitionParameters.setTransition
(Transition transition) Set target transition. -
Uses of Transition in de.espirit.firstspirit.access.store.templatestore
Modifier and TypeMethodDescription@Nullable Transition
WorkflowScriptContext.getTransition()
Return result transition of the script execution.WorkflowTransitionPermission.getTransition()
Provides the transition.@NotNull Transition[]
WorkflowScriptContext.getTransitions()
Returns all Transitions allowed for the current user, which points FROM the underlyingactivity
.WorkflowScriptContext.showActionDialog()
Show ActionDialog and forward all values (including the selected transition) to theTransitionParameters
object for thisTask
, if a target transition is selected.
All values are updated automatically.Modifier and TypeMethodDescriptionvoid
WorkflowScriptContext.doTransition
(Transition transition) Starts the transition given by the transition parameterWorkflowPermission.getTransitionPermission
(Transition transition) Get all permissions for the given transition.void
WorkflowPermission.removeTransitionPermission
(Transition transition) Remove the permissions for the given transition. -
Uses of Transition in de.espirit.firstspirit.workflow
Modifier and TypeMethodDescription@Nullable Transition
WorkflowAgent.WorkflowProcessContext.showActionDialog()
Shows an action gui dialog and returns the transition selected by the user.Modifier and TypeMethodDescriptionWorkflowAgent.WorkflowProcessContext.getTransitions()
Return the next possible transitions of the activity this context belongs to.Modifier and TypeMethodDescriptionvoid
WorkflowAgent.WorkflowProcessContext.doTransition
(@Nullable Transition transition) Process the next transition (one ofWorkflowAgent.WorkflowProcessContext.getTransitions()
and completes this workflow process activity.boolean
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
. -
Uses of Transition in de.espirit.firstspirit.workflow.model
Modifier and TypeMethodDescriptionList<? extends Transition>
Activity.getSourceTransitions()
Returns all transitions that points TO this activity.List<? extends Transition>
State.getSourceTransitions()
Returns all transitions that points TO this state.List<? extends Transition>
Activity.getTargetTransitions()
Returns all Transitions which points FROM this activity.List<? extends Transition>
State.getTargetTransitions()
Returns all Transitions which points FROM this state.Iterator<? extends Transition>
Workflow.transitions()
Returns all transitions that belongs to this workflow.
WorkflowContext.createWorkflowScriptContext(Script, Transition, Activity, TaskState.Mode, FormData)