Uses of Interface
de.espirit.firstspirit.workflow.model.Transition
Packages that use Transition
Package
Description
-
Uses of Transition in de.espirit.firstspirit.access
Methods in de.espirit.firstspirit.access that return TransitionModifier and TypeMethodDescription@Nullable TransitionTransitionParameters.getTransition()Return selected transition.Methods in de.espirit.firstspirit.access with parameters of type TransitionModifier and TypeMethodDescriptionWorkflowContext.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 TransitionParametersWorkflowContext.selectManualTransition(Transition transition) Select manual workflow transition parameters (show dialog).voidWorkflowContext.sendEMail(Transition transition) Called to send a email on transition activation.voidTransitionParameters.setTransition(Transition transition) Set target transition. -
Uses of Transition in de.espirit.firstspirit.access.store.templatestore
Methods in de.espirit.firstspirit.access.store.templatestore that return TransitionModifier and TypeMethodDescription@Nullable TransitionWorkflowScriptContext.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 theTransitionParametersobject for thisTask, if a target transition is selected.
All values are updated automatically.Methods in de.espirit.firstspirit.access.store.templatestore with parameters of type TransitionModifier and TypeMethodDescriptionvoidWorkflowScriptContext.doTransition(Transition transition) Starts the transition given by the transition parameterWorkflowPermission.getTransitionPermission(Transition transition) Get all permissions for the given transition.voidWorkflowPermission.removeTransitionPermission(Transition transition) Remove the permissions for the given transition. -
Uses of Transition in de.espirit.firstspirit.workflow
Methods in de.espirit.firstspirit.workflow that return TransitionModifier and TypeMethodDescription@Nullable TransitionWorkflowAgent.WorkflowProcessContext.showActionDialog()Shows an action gui dialog and returns the transition selected by the user.Methods in de.espirit.firstspirit.workflow that return types with arguments of type TransitionModifier and TypeMethodDescriptionWorkflowAgent.WorkflowProcessContext.getTransitions()Return the next possible transitions of the activity this context belongs to.Methods in de.espirit.firstspirit.workflow with parameters of type TransitionModifier and TypeMethodDescriptionvoidWorkflowAgent.WorkflowProcessContext.doTransition(@Nullable Transition transition) Process the next transition (one ofWorkflowAgent.WorkflowProcessContext.getTransitions()and completes this workflow process activity.booleanWorkflowAgent.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. -
Uses of Transition in de.espirit.firstspirit.workflow.model
Methods in de.espirit.firstspirit.workflow.model that return types with arguments of type TransitionModifier 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.