public abstract class AbstractPersistenceSession extends Object implements PersistenceSession
Modifier and Type | Field and Description |
---|---|
protected List<EntityLoadListener> |
listeners |
protected static EnginePersistenceLogger |
LOG |
Constructor and Description |
---|
AbstractPersistenceSession() |
Modifier and Type | Method and Description |
---|---|
void |
addEntityLoadListener(EntityLoadListener listener) |
void |
dbSchemaCreate() |
protected abstract void |
dbSchemaCreateCmmn() |
protected abstract void |
dbSchemaCreateCmmnHistory() |
protected abstract void |
dbSchemaCreateDmn() |
protected abstract void |
dbSchemaCreateDmnHistory() |
protected abstract void |
dbSchemaCreateEngine() |
protected abstract void |
dbSchemaCreateHistory() |
protected abstract void |
dbSchemaCreateIdentity() |
void |
dbSchemaDrop() |
protected abstract void |
dbSchemaDropCmmn() |
protected abstract void |
dbSchemaDropCmmnHistory() |
protected abstract void |
dbSchemaDropDmn() |
protected abstract void |
dbSchemaDropDmnHistory() |
protected abstract void |
dbSchemaDropEngine() |
protected abstract void |
dbSchemaDropHistory() |
protected abstract void |
dbSchemaDropIdentity() |
void |
dbSchemaPrune() |
void |
dbSchemaUpdate() |
protected abstract void |
deleteBulk(DbBulkOperation operation) |
protected abstract void |
deleteEntity(DbEntityOperation operation) |
void |
executeDbOperation(DbOperation operation) |
protected void |
fireEntityLoaded(Object result) |
protected abstract String |
getDbVersion() |
List<String> |
getTableNamesPresent() |
protected abstract void |
insertEntity(DbEntityOperation operation) |
abstract boolean |
isCmmnHistoryTablePresent() |
abstract boolean |
isCmmnTablePresent() |
abstract boolean |
isDmnHistoryTablePresent() |
abstract boolean |
isDmnTablePresent() |
abstract boolean |
isEngineTablePresent() |
abstract boolean |
isHistoryTablePresent() |
abstract boolean |
isIdentityTablePresent() |
protected abstract void |
updateBulk(DbBulkOperation operation) |
protected abstract void |
updateEntity(DbEntityOperation operation) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
commit, dbSchemaCheckVersion, executeDbOperations, executeNonEmptyUpdateStmt, flushOperations, lock, rollback, selectById, selectList, selectOne
protected static final EnginePersistenceLogger LOG
protected List<EntityLoadListener> listeners
public void executeDbOperation(DbOperation operation)
protected abstract void insertEntity(DbEntityOperation operation)
protected abstract void deleteEntity(DbEntityOperation operation)
protected abstract void deleteBulk(DbBulkOperation operation)
protected abstract void updateEntity(DbEntityOperation operation)
protected abstract void updateBulk(DbBulkOperation operation)
protected abstract String getDbVersion()
public void dbSchemaCreate()
dbSchemaCreate
in interface PersistenceSession
protected abstract void dbSchemaCreateIdentity()
protected abstract void dbSchemaCreateHistory()
protected abstract void dbSchemaCreateEngine()
protected abstract void dbSchemaCreateCmmn()
protected abstract void dbSchemaCreateCmmnHistory()
protected abstract void dbSchemaCreateDmn()
protected abstract void dbSchemaCreateDmnHistory()
public void dbSchemaDrop()
dbSchemaDrop
in interface PersistenceSession
protected abstract void dbSchemaDropIdentity()
protected abstract void dbSchemaDropHistory()
protected abstract void dbSchemaDropEngine()
protected abstract void dbSchemaDropCmmn()
protected abstract void dbSchemaDropCmmnHistory()
protected abstract void dbSchemaDropDmn()
protected abstract void dbSchemaDropDmnHistory()
public void dbSchemaPrune()
dbSchemaPrune
in interface PersistenceSession
public abstract boolean isEngineTablePresent()
public abstract boolean isHistoryTablePresent()
public abstract boolean isIdentityTablePresent()
public abstract boolean isCmmnTablePresent()
public abstract boolean isCmmnHistoryTablePresent()
public abstract boolean isDmnTablePresent()
public abstract boolean isDmnHistoryTablePresent()
public void dbSchemaUpdate()
dbSchemaUpdate
in interface PersistenceSession
public List<String> getTableNamesPresent()
getTableNamesPresent
in interface PersistenceSession
public void addEntityLoadListener(EntityLoadListener listener)
addEntityLoadListener
in interface PersistenceSession
protected void fireEntityLoaded(Object result)
Copyright © 2021. All rights reserved.