Class DbOperation
java.lang.Object
org.camunda.bpm.engine.impl.db.entitymanager.operation.DbOperation
- All Implemented Interfaces:
- Recyclable
- Direct Known Subclasses:
- DbBulkOperation,- DbEntityOperation
A database operation.
- Author:
- Daniel Meyer
- 
Nested Class SummaryNested Classes
- 
Field SummaryFieldsModifier and TypeFieldDescriptionThe type of the DbEntity this operation is executed on.protected Exceptionprotected DbOperationTypeThe type of the operation.protected intprotected DbOperation.State
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionintgetState()booleanisFailed()voidrecycle()voidsetEntityType(Class<? extends DbEntity> entityType) voidsetFailure(Exception failure) voidsetOperationType(DbOperationType operationType) voidsetRowsAffected(int rowsAffected) voidsetState(DbOperation.State state) 
- 
Field Details- 
operationTypeThe type of the operation.
- 
rowsAffectedprotected int rowsAffected
- 
failure
- 
state
- 
entityTypeThe type of the DbEntity this operation is executed on.
 
- 
- 
Constructor Details- 
DbOperationpublic DbOperation()
 
- 
- 
Method Details- 
recyclepublic void recycle()- Specified by:
- recyclein interface- Recyclable
 
- 
getEntityType
- 
setEntityType
- 
getOperationType
- 
setOperationType
- 
getRowsAffectedpublic int getRowsAffected()
- 
setRowsAffectedpublic void setRowsAffected(int rowsAffected) 
- 
isFailedpublic boolean isFailed()
- 
getState
- 
setState
- 
getFailure
- 
setFailure
 
-