@Service @Extension public class WorkflowDaoImpl extends Object implements WorkflowDao
| Constructor and Description |
|---|
WorkflowDaoImpl() |
public io.tesler.model.workflow.entity.WorkflowStep getCurrentStep(io.tesler.model.workflow.entity.WorkflowableTask task)
getCurrentStep in interface WorkflowDaopublic io.tesler.model.workflow.entity.WorkflowStep getHiddenStep(io.tesler.model.workflow.entity.WorkflowVersion version)
getHiddenStep in interface WorkflowDaopublic io.tesler.model.workflow.entity.WorkflowStep getInitialStep(io.tesler.model.core.entity.Project project, io.tesler.api.data.dictionary.LOV taskType)
getInitialStep in interface WorkflowDaopublic boolean isInitialStep(io.tesler.model.workflow.entity.WorkflowStep workflowStep)
isInitialStep in interface WorkflowDaopublic io.tesler.model.workflow.entity.WorkflowStep getStepByName(io.tesler.model.workflow.entity.WorkflowVersion version, String name)
getStepByName in interface WorkflowDaopublic List<io.tesler.model.workflow.entity.WorkflowTransition> getTransitionsByName(io.tesler.model.workflow.entity.Workflow workflow, String name)
getTransitionsByName in interface WorkflowDaopublic io.tesler.model.workflow.entity.WorkflowTransition getTransitionByName(io.tesler.model.workflow.entity.WorkflowVersion version, String name)
getTransitionByName in interface WorkflowDaopublic io.tesler.model.workflow.entity.WorkflowTransition getLastWorkflowTransitionByName(String name)
getLastWorkflowTransitionByName in interface WorkflowDaopublic io.tesler.model.workflow.entity.WorkflowTransition getActiveWorkflowTransitionByName(String name)
getActiveWorkflowTransitionByName in interface WorkflowDaopublic io.tesler.model.workflow.entity.WorkflowTransition getTransition(io.tesler.api.data.dictionary.LOV taskType, io.tesler.api.data.dictionary.LOV sourceStepTaskStatus, io.tesler.api.data.dictionary.LOV destinationStepTaskStatus)
getTransition in interface WorkflowDaopublic io.tesler.model.workflow.entity.WorkflowTransitionHistory getLastTransitionHistoryByDestinationStep(io.tesler.model.workflow.entity.WorkflowTask task, io.tesler.model.workflow.entity.WorkflowStep destinationStep)
getLastTransitionHistoryByDestinationStep in interface WorkflowDaopublic io.tesler.model.workflow.entity.WorkflowTransitionHistory getLastTransitionHistory(io.tesler.model.workflow.entity.WorkflowTask task)
getLastTransitionHistory in interface WorkflowDaopublic void createDefaultPostFunctions(io.tesler.model.workflow.entity.WorkflowTransitionConditionGroup transitionConditionGroup)
createDefaultPostFunctions in interface WorkflowDaopublic void deletePostFunction(io.tesler.model.workflow.entity.WorkflowPostFunction postFunction)
deletePostFunction in interface WorkflowDaopublic void deleteTransitionConditionGroup(io.tesler.model.workflow.entity.WorkflowTransitionConditionGroup transitionConditionGroup)
deleteTransitionConditionGroup in interface WorkflowDaopublic io.tesler.model.workflow.entity.WorkflowVersion getWorkflowVersion(io.tesler.model.workflow.entity.WorkflowableTask task)
getWorkflowVersion in interface WorkflowDaopublic List<io.tesler.api.data.dictionary.LOV> getTaskTypesNotInWf(io.tesler.model.core.entity.Project project)
getTaskTypesNotInWf in interface WorkflowDaopublic BigDecimal getMaxVersion(io.tesler.model.workflow.entity.Workflow workflow)
getMaxVersion in interface WorkflowDaopublic BigDecimal getNextVersion(io.tesler.model.workflow.entity.Workflow workflow, boolean majorVersion)
getNextVersion in interface WorkflowDaopublic io.tesler.model.workflow.entity.PendingTransition createPendingTransition(io.tesler.model.workflow.entity.WorkflowTransition transition, io.tesler.model.core.entity.User sessionUser, io.tesler.api.data.dictionary.LOV sessionUserRole)
public io.tesler.model.workflow.entity.WorkflowTask createWorkflowTask(io.tesler.model.workflow.entity.WorkflowStep step)
public List<io.tesler.model.workflow.entity.WorkflowStepConditionGroup> getStepConditionGroups(io.tesler.model.workflow.entity.WorkflowStep step)
public List<io.tesler.model.workflow.entity.WorkflowAssigneeRecommendation> getAssigneeRecommendations(io.tesler.model.workflow.entity.WorkflowStepConditionGroup condGroup)
public List<io.tesler.model.workflow.entity.WorkflowTransitionConditionGroup> getTransitionConditionGroups(io.tesler.model.workflow.entity.WorkflowTransition transition, io.tesler.api.data.dictionary.LOV condGroupCd)
public <V extends io.tesler.model.workflow.entity.WorkflowTransitionValidation> List<V> getValidations(Class<V> transitionValidationClass, io.tesler.model.workflow.entity.WorkflowTransitionConditionGroup conditionGroup)
public <P extends io.tesler.model.workflow.entity.WorkflowPostFunction> List<P> getPostFunctions(Class<P> postFunctionClass, io.tesler.model.workflow.entity.WorkflowTransitionConditionGroup conditionGroup)
public io.tesler.model.workflow.entity.WorkflowTransition getTransition(Long transitionId)
public List<io.tesler.model.workflow.entity.WorkflowStepField> getStepFields(io.tesler.model.workflow.entity.WorkflowStep sourceStep)
public List<io.tesler.model.workflow.entity.WorkflowTransition> getTransitions(io.tesler.model.workflow.entity.WorkflowStep sourceStep)
public List<io.tesler.model.workflow.entity.WorkflowTaskChildBcAvailability> getWorkflowTaskChildBcAvailabilities(io.tesler.model.workflow.entity.WorkflowStep workflowStep)
public io.tesler.model.workflow.entity.WorkflowTransition getTransitionBetweenSteps(io.tesler.model.workflow.entity.WorkflowStep sourceStep, io.tesler.model.workflow.entity.WorkflowStep destinationStep)
public io.tesler.model.workflow.entity.WorkflowTransitionHistory saveTransitionHistory(io.tesler.model.workflow.entity.WorkflowableTask task, io.tesler.model.workflow.entity.WorkflowTransition transition, io.tesler.model.core.entity.User currentUser, io.tesler.model.core.entity.User previousAssignee)
public <C extends io.tesler.model.workflow.entity.WorkflowCondition> List<C> getConditions(Class<C> conditionClass, io.tesler.model.workflow.entity.WorkflowTransitionConditionGroup conditionGroup)
public <C extends io.tesler.model.workflow.entity.WorkflowCondition> List<C> getConditions(Class<C> conditionClass, io.tesler.model.workflow.entity.WorkflowStepConditionGroup conditionGroup)
public <C extends io.tesler.model.workflow.entity.WorkflowCondition> List<C> getConditions(Class<C> conditionClass, io.tesler.model.workflow.entity.WorkflowStepField stepField)
public <C extends io.tesler.model.workflow.entity.WorkflowCondition> List<C> getConditions(Class<C> conditionClass, io.tesler.model.workflow.entity.WorkflowTaskChildBcAvailability childBcAvailability)
Copyright © 2020 Tesler. All rights reserved.