Package org.camunda.bpm.engine.impl.db
Class AbstractPersistenceSession
java.lang.Object
org.camunda.bpm.engine.impl.db.AbstractPersistenceSession
- All Implemented Interfaces:
PersistenceSession,Session
- Direct Known Subclasses:
DbSqlSession
- Author:
- Sebastian Menski
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected List<EntityLoadListener>protected static final EnginePersistenceLogger -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddEntityLoadListener(EntityLoadListener listener) voidprotected abstract voidprotected abstract voidprotected abstract voidprotected abstract voidprotected abstract voidprotected abstract voidprotected abstract voidvoidprotected abstract voidprotected abstract voidprotected abstract voidprotected abstract voidprotected abstract voidprotected abstract voidprotected abstract voidvoidvoidprotected abstract voiddeleteBulk(DbBulkOperation operation) protected abstract voiddeleteEntity(DbEntityOperation operation) voidexecuteDbOperation(DbOperation operation) protected voidfireEntityLoaded(Object result) protected abstract Stringprotected abstract voidinsertEntity(DbEntityOperation operation) abstract booleanabstract booleanabstract booleanabstract booleanabstract booleanabstract booleanabstract booleanprotected abstract voidupdateBulk(DbBulkOperation operation) protected abstract voidupdateEntity(DbEntityOperation operation) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.camunda.bpm.engine.impl.db.PersistenceSession
commit, dbSchemaCheckVersion, executeDbOperations, executeNonEmptyUpdateStmt, flushOperations, lock, rollback, selectById, selectList, selectOne
-
Field Details
-
LOG
-
listeners
-
-
Constructor Details
-
AbstractPersistenceSession
public AbstractPersistenceSession()
-
-
Method Details
-
executeDbOperation
-
insertEntity
-
deleteEntity
-
deleteBulk
-
updateEntity
-
updateBulk
-
getDbVersion
-
dbSchemaCreate
public void dbSchemaCreate()- Specified by:
dbSchemaCreatein interfacePersistenceSession
-
dbSchemaCreateIdentity
protected abstract void dbSchemaCreateIdentity() -
dbSchemaCreateHistory
protected abstract void dbSchemaCreateHistory() -
dbSchemaCreateEngine
protected abstract void dbSchemaCreateEngine() -
dbSchemaCreateCmmn
protected abstract void dbSchemaCreateCmmn() -
dbSchemaCreateCmmnHistory
protected abstract void dbSchemaCreateCmmnHistory() -
dbSchemaCreateDmn
protected abstract void dbSchemaCreateDmn() -
dbSchemaCreateDmnHistory
protected abstract void dbSchemaCreateDmnHistory() -
dbSchemaDrop
public void dbSchemaDrop()- Specified by:
dbSchemaDropin interfacePersistenceSession
-
dbSchemaDropIdentity
protected abstract void dbSchemaDropIdentity() -
dbSchemaDropHistory
protected abstract void dbSchemaDropHistory() -
dbSchemaDropEngine
protected abstract void dbSchemaDropEngine() -
dbSchemaDropCmmn
protected abstract void dbSchemaDropCmmn() -
dbSchemaDropCmmnHistory
protected abstract void dbSchemaDropCmmnHistory() -
dbSchemaDropDmn
protected abstract void dbSchemaDropDmn() -
dbSchemaDropDmnHistory
protected abstract void dbSchemaDropDmnHistory() -
dbSchemaPrune
public void dbSchemaPrune()- Specified by:
dbSchemaPrunein interfacePersistenceSession
-
isEngineTablePresent
public abstract boolean isEngineTablePresent() -
isHistoryTablePresent
public abstract boolean isHistoryTablePresent() -
isIdentityTablePresent
public abstract boolean isIdentityTablePresent() -
isCmmnTablePresent
public abstract boolean isCmmnTablePresent() -
isCmmnHistoryTablePresent
public abstract boolean isCmmnHistoryTablePresent() -
isDmnTablePresent
public abstract boolean isDmnTablePresent() -
isDmnHistoryTablePresent
public abstract boolean isDmnHistoryTablePresent() -
dbSchemaUpdate
public void dbSchemaUpdate()- Specified by:
dbSchemaUpdatein interfacePersistenceSession
-
getTableNamesPresent
- Specified by:
getTableNamesPresentin interfacePersistenceSession
-
addEntityLoadListener
- Specified by:
addEntityLoadListenerin interfacePersistenceSession
-
fireEntityLoaded
-