Methods
Modifier and Type |
Method and Description |
protected DbEntity |
cacheFilter(DbEntity persistentObject)
returns the object in the cache.
|
void |
close() |
boolean |
contains(DbEntity dbEntity) |
CaseDefinitionQueryImpl |
createCaseDefinitionQuery() |
DeploymentQueryImpl |
createDeploymentQuery() |
ExecutionQueryImpl |
createExecutionQuery() |
GroupQueryImpl |
createGroupQuery() |
HistoricActivityInstanceQueryImpl |
createHistoricActivityInstanceQuery() |
HistoricDetailQueryImpl |
createHistoricDetailQuery() |
HistoricJobLogQueryImpl |
createHistoricJobLogQuery() |
HistoricProcessInstanceQueryImpl |
createHistoricProcessInstanceQuery() |
HistoricTaskInstanceQueryImpl |
createHistoricTaskInstanceQuery() |
HistoricVariableInstanceQueryImpl |
createHistoricVariableInstanceQuery() |
JobQueryImpl |
createJobQuery() |
ProcessDefinitionQueryImpl |
createProcessDefinitionQuery() |
ProcessInstanceQueryImpl |
createProcessInstanceQuery() |
TaskQueryImpl |
createTaskQuery() |
UserQueryImpl |
createUserQuery() |
void |
delete(Class<? extends DbEntity> entityType,
String statement,
Object parameter) |
void |
delete(DbEntity dbEntity) |
protected void |
ensureHasId(DbEntity dbEntity) |
protected List |
filterLoadedObjects(List<Object> loadedObjects) |
void |
flush() |
protected void |
flushCachedEntity(CachedDbEntity cachedDbEntity) |
protected void |
flushDbOperationManager() |
void |
flushEntity(DbEntity entity) |
protected void |
flushEntityCache()
Flushes the entity cache:
Depending on the entity state, the required DbOperation is performed and the cache is updated.
|
void |
forceUpdate(DbEntity entity) |
<T extends DbEntity> List<T> |
getCachedEntitiesByType(Class<T> type) |
<T extends DbEntity> T |
getCachedEntity(Class<T> type,
String id) |
DbEntityCache |
getDbEntityCache() |
DbOperationManager |
getDbOperationManager() |
List<String> |
getTableNamesPresentInDatabase() |
protected void |
handleOptimisticLockingException(DbOperation dbOperation) |
protected void |
initializeEntityCache() |
protected void |
initializeOperationManager() |
void |
insert(DbEntity dbEntity) |
boolean |
isDeleted(DbEntity object) |
boolean |
isDirty(DbEntity dbEntity) |
void |
lock(String statement) |
void |
lock(String statement,
Object parameter) |
void |
merge(DbEntity dbEntity) |
void |
onEntityLoaded(DbEntity entity) |
protected DbBulkOperation |
performBulkOperation(Class<? extends DbEntity> entityType,
String statement,
Object parameter,
DbOperationType operationType) |
protected void |
performEntityOperation(CachedDbEntity cachedDbEntity,
DbOperationType type) |
<T extends DbEntity> List<T> |
pruneDeletedEntities(List<T> listToPrune) |
void |
registerOptimisticLockingListener(OptimisticLockingListener optimisticLockingListener) |
boolean |
selectBoolean(String statement,
Object parameter) |
<T extends DbEntity> T |
selectById(Class<T> entityClass,
String id) |
List |
selectList(String statement) |
List |
selectList(String statement,
ListQueryParameterObject parameter) |
List |
selectList(String statement,
ListQueryParameterObject parameter,
Page page) |
List |
selectList(String statement,
Object parameter) |
List |
selectList(String statement,
Object parameter,
int firstResult,
int maxResults) |
List |
selectList(String statement,
Object parameter,
Page page) |
List |
selectListWithRawParameter(String statement,
Object parameter,
int firstResult,
int maxResults) |
Object |
selectOne(String statement,
Object parameter) |
void |
setDbEntityCache(DbEntityCache dbEntityCache) |
void |
setDbOperationManager(DbOperationManager operationManager) |
void |
setIgnoreForeignKeysForNextFlush(boolean ignoreForeignKeysForNextFlush) |
void |
undoDelete(DbEntity entity) |
void |
update(Class<? extends DbEntity> entityType,
String statement,
Object parameter) |
protected void |
validateId(DbEntity dbEntity) |