All Methods Instance Methods Concrete Methods
Modifier and Type |
Method and Description |
protected DbEntity |
cacheFilter(DbEntity persistentObject)
returns the object in the cache.
|
protected boolean |
canIgnoreHistoryModificationFailure(DbOperation dbOperation)
Determines if a failed database operation (OptimisticLockingException)
on a Historic entity can be ignored.
|
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) |
DbBulkOperation |
deletePreserveOrder(Class<? extends DbEntity> entityType,
String statement,
Object parameter)
Several delete operations added by this method will be executed preserving the order of method calls, no matter what entity type they refer to.
|
protected void |
ensureHasId(DbEntity dbEntity) |
protected List |
filterLoadedObjects(List<Object> loadedObjects) |
void |
flush() |
protected void |
flushCachedEntity(CachedDbEntity cachedDbEntity) |
protected void |
flushDbOperationManager() |
protected void |
flushDbOperations(List<DbOperation> operationsToFlush,
List<DbOperation> allOperations) |
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 |
handleConcurrentModification(DbOperation dbOperation)
Decides if an operation that failed for concurrent modifications can be tolerated,
or if OptimisticLockingException should be raised
|
protected void |
handleConcurrentModificationCrdb(DbOperation dbOperation) |
protected void |
initializeEntityCache() |
protected void |
initializeOperationManager() |
void |
insert(DbEntity dbEntity) |
boolean |
isDeleted(DbEntity object) |
boolean |
isDirty(DbEntity dbEntity) |
protected boolean |
isHistoricByteArray(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 DbBulkOperation |
performBulkOperationPreserveOrder(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) |
void |
updatePreserveOrder(Class<? extends DbEntity> entityType,
String statement,
Object parameter)
Several update operations added by this method will be executed preserving the order of method calls, no matter what entity type they refer to.
|
protected void |
validateId(DbEntity dbEntity) |