Package org.camunda.bpm.engine.impl.db
Interface HasDbReferences
-
- All Known Implementing Classes:
AuthorizationEntity
,BatchEntity
,BatchStatisticsEntity
,CaseExecutionEntity
,CaseSentryPartEntity
,EventSubscriptionEntity
,EverLivingJobEntity
,ExecutionEntity
,ExternalTaskEntity
,FilterEntity
,IdentityLinkEntity
,IncidentEntity
,JobDefinitionEntity
,JobEntity
,MessageEntity
,MeterLogEntity
,TaskEntity
,TaskMeterLogEntity
,TimerEntity
,VariableInstanceEntity
public interface HasDbReferences
- Author:
- Daniel Meyer
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default java.util.Map<java.lang.String,java.lang.Class>
getDependentEntities()
Scope: PERSISTED referencesjava.util.Map<java.lang.String,java.lang.Class>
getReferencedEntitiesIdAndClass()
Scope: IN-MEMORY referencesjava.util.Set<java.lang.String>
getReferencedEntityIds()
Scope: IN-MEMORY references
-
-
-
Method Detail
-
getReferencedEntityIds
java.util.Set<java.lang.String> getReferencedEntityIds()
Scope: IN-MEMORY references
- Returns:
- the ids of the entities that this entity references. Should only return ids for entities of the same type
-
getReferencedEntitiesIdAndClass
java.util.Map<java.lang.String,java.lang.Class> getReferencedEntitiesIdAndClass()
Scope: IN-MEMORY references
- 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.
-
getDependentEntities
default java.util.Map<java.lang.String,java.lang.Class> getDependentEntities()
Scope: PERSISTED references
-
-