Class CachedDbEntity
- java.lang.Object
- 
- org.camunda.bpm.engine.impl.db.entitymanager.cache.CachedDbEntity
 
- 
- All Implemented Interfaces:
- Recyclable
 
 public class CachedDbEntity extends Object implements Recyclable A cached entity- Author:
- Daniel Meyer
 
- 
- 
Field SummaryFields Modifier and Type Field Description protected Objectcopyprotected DbEntitydbEntityprotected DbEntityStateentityStateprotected Set<String>flushRelevantEntityReferencesIds of referenced entities of the same entity type
 - 
Constructor SummaryConstructors Constructor Description CachedDbEntity()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanareFlushRelevantReferencesDetermined()voiddetermineEntityReferences()voidforceSetDirty()DbEntitygetEntity()DbEntityStategetEntityState()Class<? extends DbEntity>getEntityType()Set<String>getFlushRelevantEntityReferences()booleanisDirty()Allows checking whether this entity is dirty.voidmakeCopy()voidrecycle()voidsetEntity(DbEntity dbEntity)voidsetEntityState(DbEntityState entityState)StringtoString()
 
- 
- 
- 
Field Detail- 
dbEntityprotected DbEntity dbEntity 
 - 
copyprotected Object copy 
 - 
entityStateprotected DbEntityState entityState 
 
- 
 - 
Method Detail- 
recyclepublic void recycle() - Specified by:
- recyclein interface- Recyclable
 
 - 
isDirtypublic boolean isDirty() Allows checking whether this entity is dirty.- Returns:
- true if the entity is dirty (state has changed since it was put into the cache)
 
 - 
forceSetDirtypublic void forceSetDirty() 
 - 
makeCopypublic void makeCopy() 
 - 
determineEntityReferencespublic void determineEntityReferences() 
 - 
areFlushRelevantReferencesDeterminedpublic boolean areFlushRelevantReferencesDetermined() 
 - 
getEntitypublic DbEntity getEntity() 
 - 
setEntitypublic void setEntity(DbEntity dbEntity) 
 - 
getEntityStatepublic DbEntityState getEntityState() 
 - 
setEntityStatepublic void setEntityState(DbEntityState entityState) 
 
- 
 
-