org.camunda.bpm.engine.impl.db.entitymanager.operation
Class DbOperation

java.lang.Object
  extended by org.camunda.bpm.engine.impl.db.entitymanager.operation.DbOperation
All Implemented Interfaces:
Recyclable
Direct Known Subclasses:
DbBulkOperation, DbEntityOperation

public abstract class DbOperation
extends Object
implements Recyclable

A database operation.

Author:
Daniel Meyer

Field Summary
protected  Class<? extends DbEntity> entityType
          The type of the DbEntity this operation is executed on.
protected  DbOperationType operationType
          The type of the operation.
 
Constructor Summary
DbOperation()
           
 
Method Summary
 Class<? extends DbEntity> getEntityType()
           
 DbOperationType getOperationType()
           
abstract  boolean isFailed()
           
 void recycle()
           
 void setEntityType(Class<? extends DbEntity> entityType)
           
 void setOperationType(DbOperationType operationType)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

operationType

protected DbOperationType operationType
The type of the operation.


entityType

protected Class<? extends DbEntity> entityType
The type of the DbEntity this operation is executed on.

Constructor Detail

DbOperation

public DbOperation()
Method Detail

recycle

public void recycle()
Specified by:
recycle in interface Recyclable

isFailed

public abstract boolean isFailed()

getEntityType

public Class<? extends DbEntity> getEntityType()

setEntityType

public void setEntityType(Class<? extends DbEntity> entityType)

getOperationType

public DbOperationType getOperationType()

setOperationType

public void setOperationType(DbOperationType operationType)


Copyright © 2017 camunda services GmbH. All rights reserved.