public abstract class AbstractChangePlanItemInstanceStateOperation extends AbstractPlanItemInstanceOperation
planItemInstanceEntitycommandContext, isNoop| Constructor and Description |
|---|
AbstractChangePlanItemInstanceStateOperation(CommandContext commandContext,
PlanItemInstanceEntity planItemInstanceEntity) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
abortOperationIfNewStateEqualsOldState()
Overwrite this default implemented hook, if the operation should be aborted on a void transition which might be the case, if the old and new state
will be the same.
|
protected PlanItemLifeCycleEvent |
createPlanItemLifeCycleEvent() |
abstract String |
getLifeCycleTransition() |
abstract String |
getNewState() |
abstract String |
getOperationName() |
protected abstract void |
internalExecute() |
boolean |
isStateNotChanged(String oldState,
String newState) |
void |
run() |
String |
toString() |
getCaseInstanceId, getCurrentTime, getPlanItemInstanceEntity, removeSentryRelatedData, setPlanItemInstanceEntitychildPlanItemInstanceForPlanItemExists, createPlanItemInstanceIfNeeded, createPlanItemInstancesForNewOrReactivatedStage, evaluateReactivationCondition, evaluateReactivationRule, getPlanItemCreationOrReactivationType, getPlanModel, getStage, isEventListenerWithAvailableCondition, isNoop, isStage, markAsNoop, setRepetitionCounterpublic AbstractChangePlanItemInstanceStateOperation(CommandContext commandContext, PlanItemInstanceEntity planItemInstanceEntity)
public void run()
protected abstract void internalExecute()
protected PlanItemLifeCycleEvent createPlanItemLifeCycleEvent()
public abstract String getNewState()
public abstract String getLifeCycleTransition()
public boolean abortOperationIfNewStateEqualsOldState()
public abstract String getOperationName()
Copyright © 2021 Flowable. All rights reserved.