public interface PlanItemView extends ElementView
Exposes a view to a plan item instance (i.e. wraps the respective underlying object and exposes a simplified public API for the object). Can be used for expression resolution (e.g. to expose plan items EL expressions without wanting to expose all public properties of the object).
getCaseFileItemInternal, getClientId, getId, getInstanceId, getInstanceIntId, getLastTransition, getPlanItemInternal, getState, isCaseFileItem
int getIndex()
Synonym for ElementView.getInstanceIntId()
.
int getIndexInStage()
int getInstanceCountInStage()
int getAvailableCount()
int getAvailableCountInStage()
int getActiveCount()
int getActiveCountInStage()
int getTriggeredCount()
int getTriggeredCountInStage()
int getCompletedCount()
int getCompletedCountInStage()
int getTerminatedCount()
int getTerminatedCountInStage()
int getEnabledCount()
int getEnabledCountInStage()
int getDisabledCount()
int getDisabledCountInStage()
int getInstanceCount()
String getName()
boolean isRequired()
boolean isRepetition()
boolean isManualActivation()
boolean isCompletionNeutral()
boolean isAutoComplete()
boolean isBlocking()
boolean isTerminal()
true
if and only if this plan item is in terminal state.boolean isSemiTerminal()
true
if and only if this plan item is in semi-terminal state.boolean isPreActivation()
true
if and only if this plan item is in any state before PlanItemState.ACTIVE
.PlanItemView getParent()
null
if not applicable.PlanItemView getCasePlanModel()
null
if not applicable.String getParentClientId()
null
.Set<String> getArmedEntrySentries()
Set<String> getDeferredEntrySentries()
Set<String> getArmedExitSentries()
Set<String> getDeferredExitSentries()
boolean isArmed()
true
if the underlying plan item is armed. For a plan item with entry sentries this means that
the plan item is in state AVAILABLE and one or more of the plan item’s entry sentry (or sentries) are armed
(See getArmedEntrySentries()
). For an event listener, armed means that invoking the OCCUR transition
on the event listener has an effect, i.e. it triggers a transition on one or more connected plan items.Map<String,String> getCustomState()
The plan item’s custom run-time state. The map is managed by modelers and extension implementers.
May be null
.
int getAvailableChildrenCount()
int getActiveChildrenCount()
int getChildInstanceCount()
int getCompletedChildrenCount()
int getDisabledChildrenCount()
int getEnabledChildrenCount()
int getTerminatedChildrenCount()
int getTriggeredChildrenCount()
boolean isWaitingOnChildren()
true
if this stage plan item is waiting on its children in order to complete.
Return `false> otherwise or when called on a non stage plan item.boolean waitingOnChildren(boolean stageAutoComplete)
true
if this stage plan item is waiting on its children in order to complete (under the scenario that the stage’s
auto-complete property has the value as passed in the method parameter).
Return `false> otherwise or when called on a non stage plan item.boolean isCaseTask()
true
when called on a plan item of a case plan model that represents a case task. Returns
false
otherwise.boolean isSubCaseTask()
true
if the current case plan model was created from a case task and is of type sub-case.
Returns false
otherwise.boolean isRootCaseTask()
true
if the current case plan model was created from a case task and is of type root case.
Returns false
otherwise.Copyright © 2010 - 2019 edorasware ag. All Rights Reserved.