public interface WorkflowEngine
| Modifier and Type | Method and Description |
|---|---|
boolean |
checkRequiredFieldsForTransition(WorkflowTransition transition)
Checks whether the required fields must be filled in to complete the specified transition..
|
void |
forceInvokeAutoTransition(WorkflowableTask task,
WorkflowTransition transition)
Performing an automatic transition for a given task without checking its capability.
|
TransitionResult |
forceInvokeAutoTransitionIgnorePostFunctions(WorkflowTransition transition,
WorkflowableTask task)
Performing an automatic transition for a specified task without executing post functions and checking its capability.
|
void |
forceInvokeAutoTransitionToHiddenStep(WorkflowableTask task)
Performing an automatic transition for a specified task to a step with the HIDDEN status, if it exists in the transition model.
|
org.springframework.data.jpa.domain.Specification<io.tesler.model.core.entity.User> |
getAssigneeRecommendationSpecification(WorkflowableTask task)
Returns a specification for searching for recommended performers for a specified task.
|
List<String> |
getDisableFields(WorkflowableTask task)
Returns a list of fields that are not editable for a specified task.
|
List<WorkflowTransition> |
getTransitions(WorkflowableTask task)
Returns available transitions for the specified task.
|
TransitionResult |
invokeAutoTransition(WorkflowableTask task,
WorkflowTransition transition)
Performing an automatic transition for the specified task.
|
TransitionResult |
invokeTransition(BcDescription bcDescription,
WorkflowableTask task,
WorkflowTransition transition,
List<String> preInvokeParameters)
Performing a user-initiated transition for a specific task
|
boolean |
isChildBcDisabled(BcIdentifier bcIdentifier,
WorkflowableTask task)
Checks whether editing of child business components of a specified task is blocked.
|
void |
setCustomStep(WorkflowableTask task,
WorkflowStep step)
Sets the specified task to the specified step of the corresponding transition model.
|
void |
setInitialStep(WorkflowableTask task)
Sets the specified task to the initial step of the corresponding transition model.
|
void setInitialStep(WorkflowableTask task)
WorkflowableTask.getTaskType() of task.task - workflow taskvoid setCustomStep(WorkflowableTask task, WorkflowStep step)
task - taskstep - step of the transition modelList<WorkflowTransition> getTransitions(WorkflowableTask task)
task - tasjTransitionResult invokeTransition(BcDescription bcDescription, WorkflowableTask task, WorkflowTransition transition, List<String> preInvokeParameters)
bcDescription - description of the business component of a tasktask - tasktransition - transitionpreInvokeParameters - the user's confirmation of the transitionTransitionResult invokeAutoTransition(WorkflowableTask task, WorkflowTransition transition)
task - tasktransition - transitionvoid forceInvokeAutoTransition(WorkflowableTask task, WorkflowTransition transition)
task - tasktransition - transitionvoid forceInvokeAutoTransitionToHiddenStep(WorkflowableTask task)
task - taskboolean isChildBcDisabled(BcIdentifier bcIdentifier, WorkflowableTask task)
bcIdentifier - identifier of business component which is mapped to a tasktask - taskList<String> getDisableFields(WorkflowableTask task)
task - taskorg.springframework.data.jpa.domain.Specification<io.tesler.model.core.entity.User> getAssigneeRecommendationSpecification(WorkflowableTask task)
task - taskboolean checkRequiredFieldsForTransition(WorkflowTransition transition)
transition - transitionTransitionResult forceInvokeAutoTransitionIgnorePostFunctions(WorkflowTransition transition, WorkflowableTask task)
transition - transition to be performedtask - taskCopyright © 2018–2022 Tesler. All rights reserved.