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:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected CaseExecutionEntity
caseExecution
protected String
caseExecutionId
protected CaseExecutionEntity
caseInstance
protected String
caseInstanceId
protected String
id
protected int
revision
protected CaseExecutionEntity
sourceCaseExecution
protected String
sourceCaseExecutionId
protected String
tenantId
-
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
-
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 String id
-
revision
protected int revision
-
caseInstanceId
protected String caseInstanceId
-
caseExecutionId
protected String caseExecutionId
-
sourceCaseExecutionId
protected String sourceCaseExecutionId
-
tenantId
protected String tenantId
-
-
Method Detail
-
getCaseInstanceId
public String getCaseInstanceId()
-
getCaseInstance
public CaseExecutionEntity getCaseInstance()
- Specified by:
getCaseInstance
in classCmmnSentryPart
-
ensureCaseInstanceInitialized
protected void ensureCaseInstanceInitialized()
-
setCaseInstance
public void setCaseInstance(CmmnExecution caseInstance)
- Specified by:
setCaseInstance
in classCmmnSentryPart
-
getCaseExecutionId
public String getCaseExecutionId()
-
getCaseExecution
public CaseExecutionEntity getCaseExecution()
- Specified by:
getCaseExecution
in classCmmnSentryPart
-
ensureCaseExecutionInitialized
protected void ensureCaseExecutionInitialized()
-
setCaseExecution
public void setCaseExecution(CmmnExecution caseExecution)
- Specified by:
setCaseExecution
in classCmmnSentryPart
-
getSourceCaseExecutionId
public String getSourceCaseExecutionId()
- Specified by:
getSourceCaseExecutionId
in classCmmnSentryPart
-
getSourceCaseExecution
public CmmnExecution getSourceCaseExecution()
- Specified by:
getSourceCaseExecution
in classCmmnSentryPart
-
ensureSourceCaseExecutionInitialized
protected void ensureSourceCaseExecutionInitialized()
-
setSourceCaseExecution
public void setSourceCaseExecution(CmmnExecution sourceCaseExecution)
- Specified by:
setSourceCaseExecution
in classCmmnSentryPart
-
getRevision
public int getRevision()
- Specified by:
getRevision
in interfaceHasDbRevision
-
setRevision
public void setRevision(int revision)
- Specified by:
setRevision
in interfaceHasDbRevision
-
getRevisionNext
public int getRevisionNext()
- Specified by:
getRevisionNext
in interfaceHasDbRevision
-
getTenantId
public String getTenantId()
-
setTenantId
public void setTenantId(String tenantId)
-
forceUpdate
public void forceUpdate()
-
getPersistentState
public Object getPersistentState()
Description copied from interface:DbEntity
Returns 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:
getPersistentState
in interfaceDbEntity
-
findCaseExecutionById
protected CaseExecutionEntity findCaseExecutionById(String caseExecutionId)
-
getReferencedEntityIds
public Set<String> getReferencedEntityIds()
Description copied from interface:HasDbReferences
Scope: IN-MEMORY references
- Specified by:
getReferencedEntityIds
in interfaceHasDbReferences
- Returns:
- the ids of the entities that this entity references. Should only return ids for entities of the same type
-
getReferencedEntitiesIdAndClass
public Map<String,Class> getReferencedEntitiesIdAndClass()
Description copied from interface:HasDbReferences
Scope: IN-MEMORY references
- Specified by:
getReferencedEntitiesIdAndClass
in 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.
-
-