Methods
Modifier and Type |
Method and Description |
protected DbEntity |
cacheFilter(DbEntity persistentObject)
returns the object in the cache.
|
void |
close() |
CaseDefinitionQueryImpl |
createCaseDefinitionQuery() |
DeploymentQueryImpl |
createDeploymentQuery() |
ExecutionQueryImpl |
createExecutionQuery() |
GroupQueryImpl |
createGroupQuery() |
HistoricActivityInstanceQueryImpl |
createHistoricActivityInstanceQuery() |
HistoricDetailQueryImpl |
createHistoricDetailQuery() |
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 |
flushEntityCache()
Flushes the entity cache:
Depending on the entity state, the required DbOperation is performed and the cache is updated.
|
void |
forceUpdate(DbEntity entity) |
protected String |
formatExceptionMessage(Exception e,
DbOperation dbOperation,
List<DbOperation> operationsToFlush) |
<T extends DbEntity> List<T> |
getCachedEntitiesByType(Class<T> type) |
<T extends DbEntity> T |
getCachedEntity(Class<T> type,
String id) |
DbEntityCache |
getDbEntityCache() |
DbOperationManager |
getDbOperationManager() |
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) |
protected void |
logFlushSummary(Collection<DbOperation> operations) |
void |
merge(DbEntity dbEntity) |
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 |
update(Class<? extends DbEntity> entityType,
String statement,
Object parameter) |