org.camunda.bpm.engine.impl.db
Interface PersistenceSession

All Superinterfaces:
Session
All Known Implementing Classes:
AbstractPersistenceSession, DbSqlSession

public interface PersistenceSession
extends Session

Author:
Daniel Meyer

Method Summary
 void addEntityLoadListener(EntityLoadListener listener)
           
 void commit()
           
 void dbSchemaCheckVersion()
           
 void dbSchemaCreate()
           
 void dbSchemaDrop()
           
 void dbSchemaPrune()
           
 void dbSchemaUpdate()
           
 void executeDbOperation(DbOperation operation)
           
 int executeNonEmptyUpdateStmt(String updateStmt, Object parameter)
           
 int executeUpdate(String updateStatement, Object parameter)
           
 List<String> getTableNamesPresent()
           
 void lock(String statement, Object parameter)
           
 void rollback()
           
<T extends DbEntity>
T
selectById(Class<T> type, String id)
           
 List<?> selectList(String statement, Object parameter)
           
 Object selectOne(String statement, Object parameter)
           
 
Methods inherited from interface org.camunda.bpm.engine.impl.interceptor.Session
close, flush
 

Method Detail

executeDbOperation

void executeDbOperation(DbOperation operation)

selectList

List<?> selectList(String statement,
                   Object parameter)

selectById

<T extends DbEntity> T selectById(Class<T> type,
                                  String id)

selectOne

Object selectOne(String statement,
                 Object parameter)

lock

void lock(String statement,
          Object parameter)

executeUpdate

int executeUpdate(String updateStatement,
                  Object parameter)

executeNonEmptyUpdateStmt

int executeNonEmptyUpdateStmt(String updateStmt,
                              Object parameter)

commit

void commit()

rollback

void rollback()

dbSchemaCheckVersion

void dbSchemaCheckVersion()

dbSchemaCreate

void dbSchemaCreate()

dbSchemaDrop

void dbSchemaDrop()

dbSchemaPrune

void dbSchemaPrune()

dbSchemaUpdate

void dbSchemaUpdate()

getTableNamesPresent

List<String> getTableNamesPresent()

addEntityLoadListener

void addEntityLoadListener(EntityLoadListener listener)


Copyright © 2017 camunda services GmbH. All rights reserved.