Interface CmmnCaseInstance
-
- All Superinterfaces:
BaseDelegateExecution
,CmmnActivityExecution
,CmmnModelExecutionContext
,DelegateCaseExecution
,ProcessEngineServicesAware
,VariableScope
- All Known Implementing Classes:
CaseExecutionEntity
,CaseExecutionImpl
,CmmnExecution
public interface CmmnCaseInstance extends CmmnActivityExecution
- Author:
- Roman Smirnov
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
create()
This
case instance transitions toACTIVE
state.void
create(java.util.Map<java.lang.String,java.lang.Object> variables)
This
case instance transitions toACTIVE
state.CmmnActivityExecution
findCaseExecution(java.lang.String activityId)
Find a case execution by the givenactivityId
.-
Methods inherited from interface org.camunda.bpm.engine.delegate.BaseDelegateExecution
getBusinessKey
-
Methods inherited from interface org.camunda.bpm.engine.impl.cmmn.execution.CmmnActivityExecution
close, complete, createChildExecutions, createSentryParts, createSubCaseInstance, createSubCaseInstance, createSubProcessInstance, createSubProcessInstance, createSubProcessInstance, createTask, disable, enable, exit, fireIfOnlySentryParts, getActivity, getCaseExecutions, getCurrentState, getParent, getPreviousState, isCaseInstanceExecution, isEntryCriterionSatisfied, isNew, isRequired, isSentrySatisfied, isSuspending, isTerminating, manualComplete, manualStart, occur, parentComplete, parentResume, parentSuspend, parentTerminate, performExit, performParentSuspension, performParentTerminate, performSuspension, performTerminate, reactivate, reenable, remove, resume, setCurrentState, setRequired, start, suspend, terminate, triggerChildExecutionsLifecycle
-
Methods inherited from interface org.camunda.bpm.engine.delegate.CmmnModelExecutionContext
getCmmnModelElementInstance, getCmmnModelInstance
-
Methods inherited from interface org.camunda.bpm.engine.delegate.DelegateCaseExecution
getActivityId, getActivityName, getCaseBusinessKey, getCaseDefinitionId, getCaseInstanceId, getEventName, getId, getParentId, getTenantId, isActive, isAvailable, isClosed, isCompleted, isDisabled, isEnabled, isFailed, isSuspended, isTerminated
-
Methods inherited from interface org.camunda.bpm.engine.delegate.ProcessEngineServicesAware
getProcessEngine, getProcessEngineServices
-
Methods inherited from interface org.camunda.bpm.engine.delegate.VariableScope
getVariable, getVariableLocal, getVariableLocalTyped, getVariableLocalTyped, getVariableNames, getVariableNamesLocal, getVariables, getVariableScopeKey, getVariablesLocal, getVariablesLocalTyped, getVariablesLocalTyped, getVariablesTyped, getVariablesTyped, getVariableTyped, getVariableTyped, hasVariable, hasVariableLocal, hasVariables, hasVariablesLocal, removeVariable, removeVariableLocal, removeVariables, removeVariables, removeVariablesLocal, removeVariablesLocal, setVariable, setVariableLocal, setVariables, setVariablesLocal
-
-
-
-
Method Detail
-
create
void create()
This
case instance transitions toACTIVE
state.
-
create
void create(java.util.Map<java.lang.String,java.lang.Object> variables)
This
case instance transitions toACTIVE
state.The given
variables
will be set a case instance variables.
-
findCaseExecution
CmmnActivityExecution findCaseExecution(java.lang.String activityId)
Find a case execution by the given
activityId
.- Parameters:
activityId
- the id of theactivity
to which a case execution is associated.- Returns:
- returns a case execution or null if a case execution could not be found.
-
-