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
Modifier and TypeFieldDescriptionprotected List<EntityLoadListener>
protected static final EnginePersistenceLogger
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addEntityLoadListener
(EntityLoadListener listener) void
protected abstract void
protected abstract void
protected abstract void
protected abstract void
protected abstract void
protected abstract void
protected abstract void
void
protected abstract void
protected abstract void
protected abstract void
protected abstract void
protected abstract void
protected abstract void
protected abstract void
void
void
protected abstract void
deleteBulk
(DbBulkOperation operation) protected abstract void
deleteEntity
(DbEntityOperation operation) void
executeDbOperation
(DbOperation operation) protected void
fireEntityLoaded
(Object result) protected abstract String
protected abstract void
insertEntity
(DbEntityOperation operation) abstract boolean
abstract boolean
abstract boolean
abstract boolean
abstract boolean
abstract boolean
abstract boolean
protected abstract void
updateBulk
(DbBulkOperation operation) protected abstract void
updateEntity
(DbEntityOperation operation) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods 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:
dbSchemaCreate
in 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:
dbSchemaDrop
in 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:
dbSchemaPrune
in 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:
dbSchemaUpdate
in interfacePersistenceSession
-
getTableNamesPresent
- Specified by:
getTableNamesPresent
in interfacePersistenceSession
-
addEntityLoadListener
- Specified by:
addEntityLoadListener
in interfacePersistenceSession
-
fireEntityLoaded
-