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:
java.io.Serializable,DbEntity,HasDbReferences,HasDbRevision
public class CaseSentryPartEntity extends CmmnSentryPart implements DbEntity, HasDbRevision, HasDbReferences
- Author:
- Roman Smirnov
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected CaseExecutionEntitycaseExecutionprotected java.lang.StringcaseExecutionIdprotected CaseExecutionEntitycaseInstanceprotected java.lang.StringcaseInstanceIdprotected java.lang.Stringidprotected intrevisionprotected CaseExecutionEntitysourceCaseExecutionprotected java.lang.StringsourceCaseExecutionIdprotected java.lang.StringtenantId-
Fields inherited from class org.camunda.bpm.engine.impl.cmmn.execution.CmmnSentryPart
satisfied, sentryId, source, standardEvent, type, variableEvent, variableName
-
-
Constructor Summary
Constructors Constructor Description CaseSentryPartEntity()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidensureCaseExecutionInitialized()protected voidensureCaseInstanceInitialized()protected voidensureSourceCaseExecutionInitialized()protected CaseExecutionEntityfindCaseExecutionById(java.lang.String caseExecutionId)voidforceUpdate()CaseExecutionEntitygetCaseExecution()java.lang.StringgetCaseExecutionId()CaseExecutionEntitygetCaseInstance()java.lang.StringgetCaseInstanceId()java.lang.StringgetId()java.lang.ObjectgetPersistentState()Returns a representation of the object, as would be stored in the database.java.util.Map<java.lang.String,java.lang.Class>getReferencedEntitiesIdAndClass()Scope: IN-MEMORY referencesjava.util.Set<java.lang.String>getReferencedEntityIds()Scope: IN-MEMORY referencesintgetRevision()intgetRevisionNext()CmmnExecutiongetSourceCaseExecution()java.lang.StringgetSourceCaseExecutionId()java.lang.StringgetTenantId()voidsetCaseExecution(CmmnExecution caseExecution)voidsetCaseInstance(CmmnExecution caseInstance)voidsetId(java.lang.String id)voidsetRevision(int revision)voidsetSourceCaseExecution(CmmnExecution sourceCaseExecution)voidsetTenantId(java.lang.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, setVariableName
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.camunda.bpm.engine.impl.db.HasDbReferences
getDependentEntities
-
-
-
-
Field Detail
-
caseInstance
protected CaseExecutionEntity caseInstance
-
caseExecution
protected CaseExecutionEntity caseExecution
-
sourceCaseExecution
protected CaseExecutionEntity sourceCaseExecution
-
id
protected java.lang.String id
-
revision
protected int revision
-
caseInstanceId
protected java.lang.String caseInstanceId
-
caseExecutionId
protected java.lang.String caseExecutionId
-
sourceCaseExecutionId
protected java.lang.String sourceCaseExecutionId
-
tenantId
protected java.lang.String tenantId
-
-
Method Detail
-
getCaseInstanceId
public java.lang.String getCaseInstanceId()
-
getCaseInstance
public CaseExecutionEntity getCaseInstance()
- Specified by:
getCaseInstancein classCmmnSentryPart
-
ensureCaseInstanceInitialized
protected void ensureCaseInstanceInitialized()
-
setCaseInstance
public void setCaseInstance(CmmnExecution caseInstance)
- Specified by:
setCaseInstancein classCmmnSentryPart
-
getCaseExecutionId
public java.lang.String getCaseExecutionId()
-
getCaseExecution
public CaseExecutionEntity getCaseExecution()
- Specified by:
getCaseExecutionin classCmmnSentryPart
-
ensureCaseExecutionInitialized
protected void ensureCaseExecutionInitialized()
-
setCaseExecution
public void setCaseExecution(CmmnExecution caseExecution)
- Specified by:
setCaseExecutionin classCmmnSentryPart
-
getSourceCaseExecutionId
public java.lang.String getSourceCaseExecutionId()
- Specified by:
getSourceCaseExecutionIdin classCmmnSentryPart
-
getSourceCaseExecution
public CmmnExecution getSourceCaseExecution()
- Specified by:
getSourceCaseExecutionin classCmmnSentryPart
-
ensureSourceCaseExecutionInitialized
protected void ensureSourceCaseExecutionInitialized()
-
setSourceCaseExecution
public void setSourceCaseExecution(CmmnExecution sourceCaseExecution)
- 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
public java.lang.String getTenantId()
-
setTenantId
public void setTenantId(java.lang.String tenantId)
-
forceUpdate
public void forceUpdate()
-
getPersistentState
public java.lang.Object 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
protected CaseExecutionEntity findCaseExecutionById(java.lang.String caseExecutionId)
-
getReferencedEntityIds
public java.util.Set<java.lang.String> 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
public java.util.Map<java.lang.String,java.lang.Class> 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.
-
-