Class CaseSentryPartEntity
java.lang.Object
org.camunda.bpm.engine.impl.cmmn.execution.CmmnSentryPart
org.camunda.bpm.engine.impl.cmmn.entity.runtime.CaseSentryPartEntity
- All Implemented Interfaces:
Serializable,DbEntity,HasDbReferences,HasDbRevision
public class CaseSentryPartEntity
extends CmmnSentryPart
implements DbEntity, HasDbRevision, HasDbReferences
- Author:
- Roman Smirnov
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected CaseExecutionEntityprotected Stringprotected CaseExecutionEntityprotected Stringprotected Stringprotected intprotected CaseExecutionEntityprotected Stringprotected StringFields inherited from class org.camunda.bpm.engine.impl.cmmn.execution.CmmnSentryPart
satisfied, sentryId, source, standardEvent, type, variableEvent, variableName -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidprotected voidprotected voidprotected CaseExecutionEntityfindCaseExecutionById(String caseExecutionId) voidgetId()Returns a representation of the object, as would be stored in the database.Scope: IN-MEMORY referencesScope: IN-MEMORY referencesintintvoidsetCaseExecution(CmmnExecution caseExecution) voidsetCaseInstance(CmmnExecution caseInstance) voidvoidsetRevision(int revision) voidsetSourceCaseExecution(CmmnExecution sourceCaseExecution) voidsetTenantId(String tenantId) Methods inherited from class org.camunda.bpm.engine.impl.cmmn.execution.CmmnSentryPart
getSentryId, getSource, getStandardEvent, getType, getVariableEvent, getVariableName, isSatisfied, setSatisfied, setSentryId, setSource, setStandardEvent, setType, setVariableEvent, setVariableNameMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.camunda.bpm.engine.impl.db.HasDbReferences
getDependentEntities
-
Field Details
-
caseInstance
-
caseExecution
-
sourceCaseExecution
-
id
-
revision
protected int revision -
caseInstanceId
-
caseExecutionId
-
sourceCaseExecutionId
-
tenantId
-
-
Constructor Details
-
CaseSentryPartEntity
public CaseSentryPartEntity()
-
-
Method Details
-
getId
-
setId
-
getCaseInstanceId
-
getCaseInstance
- Specified by:
getCaseInstancein classCmmnSentryPart
-
ensureCaseInstanceInitialized
protected void ensureCaseInstanceInitialized() -
setCaseInstance
- Specified by:
setCaseInstancein classCmmnSentryPart
-
getCaseExecutionId
-
getCaseExecution
- Specified by:
getCaseExecutionin classCmmnSentryPart
-
ensureCaseExecutionInitialized
protected void ensureCaseExecutionInitialized() -
setCaseExecution
- Specified by:
setCaseExecutionin classCmmnSentryPart
-
getSourceCaseExecutionId
- Specified by:
getSourceCaseExecutionIdin classCmmnSentryPart
-
getSourceCaseExecution
- Specified by:
getSourceCaseExecutionin classCmmnSentryPart
-
ensureSourceCaseExecutionInitialized
protected void ensureSourceCaseExecutionInitialized() -
setSourceCaseExecution
- Specified by:
setSourceCaseExecutionin classCmmnSentryPart
-
getRevision
public int getRevision()- Specified by:
getRevisionin interfaceHasDbRevision
-
setRevision
public void setRevision(int revision) - Specified by:
setRevisionin interfaceHasDbRevision
-
getRevisionNext
public int getRevisionNext()- Specified by:
getRevisionNextin interfaceHasDbRevision
-
getTenantId
-
setTenantId
-
forceUpdate
public void forceUpdate() -
getPersistentState
Description copied from interface:DbEntityReturns a representation of the object, as would be stored in the database. Used when deciding if updates have occurred to the object or not since it was last loaded.- Specified by:
getPersistentStatein interfaceDbEntity
-
findCaseExecutionById
-
getReferencedEntityIds
Description copied from interface:HasDbReferencesScope: IN-MEMORY references
- Specified by:
getReferencedEntityIdsin interfaceHasDbReferences- Returns:
- the ids of the entities that this entity references. Should only return ids for entities of the same type
-
getReferencedEntitiesIdAndClass
Description copied from interface:HasDbReferencesScope: IN-MEMORY references
- Specified by:
getReferencedEntitiesIdAndClassin interfaceHasDbReferences- Returns:
- a map of the ids and the entities' classes that this entity references. It's used when trying to determine if there was an Optimistic Locking occurrence on an INSERT or UPDATE of an object of this type.
-