Class DbEntityOperation
- java.lang.Object
-
- org.camunda.bpm.engine.impl.db.entitymanager.operation.DbOperation
-
- org.camunda.bpm.engine.impl.db.entitymanager.operation.DbEntityOperation
-
- All Implemented Interfaces:
Recyclable
public class DbEntityOperation extends DbOperation
An operation on a single DbEntity- Author:
- Daniel Meyer
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.camunda.bpm.engine.impl.db.entitymanager.operation.DbOperation
DbOperation.State
-
-
Field Summary
Fields Modifier and Type Field Description protected DbOperation
dependentOperation
protected DbEntity
entity
The entity the operation is performed on.protected Set<String>
flushRelevantEntityReferences
-
Fields inherited from class org.camunda.bpm.engine.impl.db.entitymanager.operation.DbOperation
entityType, failure, operationType, rowsAffected, state
-
-
Constructor Summary
Constructors Constructor Description DbEntityOperation()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object obj)
DbOperation
getDependentOperation()
DbEntity
getEntity()
Set<String>
getFlushRelevantEntityReferences()
int
hashCode()
void
recycle()
void
setDependency(DbOperation owner)
void
setEntity(DbEntity dbEntity)
void
setFlushRelevantEntityReferences(Set<String> flushRelevantEntityReferences)
String
toString()
-
Methods inherited from class org.camunda.bpm.engine.impl.db.entitymanager.operation.DbOperation
getEntityType, getFailure, getOperationType, getRowsAffected, getState, isFailed, setEntityType, setFailure, setOperationType, setRowsAffected, setState
-
-
-
-
Field Detail
-
entity
protected DbEntity entity
The entity the operation is performed on.
-
dependentOperation
protected DbOperation dependentOperation
-
-
Method Detail
-
recycle
public void recycle()
- Specified by:
recycle
in interfaceRecyclable
- Overrides:
recycle
in classDbOperation
-
getEntity
public DbEntity getEntity()
-
setEntity
public void setEntity(DbEntity dbEntity)
-
setFlushRelevantEntityReferences
public void setFlushRelevantEntityReferences(Set<String> flushRelevantEntityReferences)
-
setDependency
public void setDependency(DbOperation owner)
-
getDependentOperation
public DbOperation getDependentOperation()
-
-