public abstract class AbstractPlanItemInstanceOperation extends CmmnOperation
| Modifier and Type | Field and Description |
|---|---|
protected PlanItemInstanceEntity |
planItemInstanceEntity |
commandContext| Constructor and Description |
|---|
AbstractPlanItemInstanceOperation(CommandContext commandContext,
PlanItemInstanceEntity planItemInstanceEntity) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
deleteOrphanEventListeners()
Event listeners can become 'orphaned': when they reference sentries on plan item instances
that have moved to a terminal state, they would occur without anything listening to them
(and block completion of the parent stage).
|
protected void |
deleteSentryPartInstances()
Deletes any part instance of a sentry that was satisfied before.
|
protected List<org.flowable.cmmn.model.PlanItem> |
gatherEventListenerDependencies(org.flowable.cmmn.model.PlanItem planItem) |
protected List<org.flowable.cmmn.model.PlanItem> |
getChildPlanItemsWithDependencies(org.flowable.cmmn.model.PlanFragment planFragment) |
protected Date |
getCurrentTime(CommandContext commandContext) |
PlanItemInstanceEntity |
getPlanItemInstanceEntity() |
protected void |
internalGetChildPlanItemsWithDependencies(org.flowable.cmmn.model.PlanFragment planFragment,
List<org.flowable.cmmn.model.PlanItem> childPlanItemsWithDependencies) |
protected boolean |
isPlanItemRepeatableOnComplete(org.flowable.cmmn.model.PlanItem planItem) |
protected void |
removeSentryRelatedData() |
void |
setPlanItemInstanceEntity(PlanItemInstanceEntity planItemInstanceEntity) |
protected void |
terminateOrphanedEventListeners(List<org.flowable.cmmn.model.PlanItem> eventListenerDependencies) |
childPlanItemInstanceForPlanItemExists, copyAndInsertPlanItemInstance, createPlanItemInstancesForNewStage, evaluateRepetitionRule, evaluateRepetitionRule, getCounterVariable, getPlanModel, getRepetitionCounter, getStage, hasRepetitionRule, hasRepetitionRule, isEventListenerWithAvailableCondition, isStage, setRepetitionCounterprotected PlanItemInstanceEntity planItemInstanceEntity
public AbstractPlanItemInstanceOperation(CommandContext commandContext, PlanItemInstanceEntity planItemInstanceEntity)
public PlanItemInstanceEntity getPlanItemInstanceEntity()
public void setPlanItemInstanceEntity(PlanItemInstanceEntity planItemInstanceEntity)
protected void removeSentryRelatedData()
protected void deleteSentryPartInstances()
protected void deleteOrphanEventListeners()
protected List<org.flowable.cmmn.model.PlanItem> gatherEventListenerDependencies(org.flowable.cmmn.model.PlanItem planItem)
protected void terminateOrphanedEventListeners(List<org.flowable.cmmn.model.PlanItem> eventListenerDependencies)
protected boolean isPlanItemRepeatableOnComplete(org.flowable.cmmn.model.PlanItem planItem)
protected Date getCurrentTime(CommandContext commandContext)
protected List<org.flowable.cmmn.model.PlanItem> getChildPlanItemsWithDependencies(org.flowable.cmmn.model.PlanFragment planFragment)
protected void internalGetChildPlanItemsWithDependencies(org.flowable.cmmn.model.PlanFragment planFragment,
List<org.flowable.cmmn.model.PlanItem> childPlanItemsWithDependencies)
Copyright © 2019 Flowable. All rights reserved.