|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface DbSession
| Method Summary | ||
|---|---|---|
void |
cascadeExecutionResume(ExecutionImpl execution)
|
|
void |
cascadeExecutionSuspend(ExecutionImpl execution)
|
|
DeploymentQueryImpl |
createDeploymentQuery()
|
|
HistoryActivityInstanceQueryImpl |
createHistoryActivityInstanceQuery()
|
|
HistoryDetailQueryImpl |
createHistoryDetailQuery()
|
|
HistoryProcessInstanceQueryImpl |
createHistoryProcessInstanceQuery()
|
|
JobQueryImpl |
createJobQuery()
|
|
ProcessInstanceQueryImpl |
createProcessInstanceQuery()
create a process instance query |
|
TaskImpl |
createTask()
|
|
TaskQueryImpl |
createTaskQuery()
create a task query |
|
void |
delete(java.lang.Object entity)
|
|
void |
deleteProcessDefinitionHistory(java.lang.String processDefinitionId)
deletes the history information for all process instances for the given process definition |
|
void |
deleteProcessInstance(java.lang.String processInstanceId,
boolean deleteHistory)
delete the process instance and optionally deletes the history. |
|
java.util.List<HistoryComment> |
findCommentsByTaskId(java.lang.String taskId)
|
|
java.util.List<JobImpl> |
findExclusiveJobs(Execution processInstance)
the list of jobs of the process instance that mustn't be concurrent |
|
ClientExecution |
findExecutionById(java.lang.String executionId)
the execution uniquely identified by the given executionKey. |
|
JobImpl |
findFirstAcquirableJob()
the first job to finish among eligible and non-locked jobs or null if none |
|
JobImpl |
findFirstDueJob()
the first job to finish among non-owned jobs or null if none |
|
ClientExecution |
findProcessInstanceById(java.lang.String processInstanceId)
the process instance uniquely identified by the given executionKey. |
|
java.util.List<java.lang.String> |
findProcessInstanceIds(java.lang.String processDefinitionId)
|
|
java.util.List<StartProcessTimer> |
findStartProcessTimers(java.lang.String processDefinitionId)
returns a list of start process timers for the given process definition |
|
TaskImpl |
findTaskByExecution(Execution execution)
|
|
void |
flush()
|
|
|
get(java.lang.Class<T> entityClass,
java.lang.Object primaryKey)
|
|
void |
save(java.lang.Object entity)
|
|
void |
update(java.lang.Object entity)
|
|
| Method Detail |
|---|
void save(java.lang.Object entity)
void update(java.lang.Object entity)
<T> T get(java.lang.Class<T> entityClass,
java.lang.Object primaryKey)
void delete(java.lang.Object entity)
void flush()
ProcessInstanceQueryImpl createProcessInstanceQuery()
TaskQueryImpl createTaskQuery()
HistoryProcessInstanceQueryImpl createHistoryProcessInstanceQuery()
HistoryActivityInstanceQueryImpl createHistoryActivityInstanceQuery()
HistoryDetailQueryImpl createHistoryDetailQuery()
JobQueryImpl createJobQuery()
DeploymentQueryImpl createDeploymentQuery()
java.util.List<HistoryComment> findCommentsByTaskId(java.lang.String taskId)
ClientExecution findExecutionById(java.lang.String executionId)
ClientExecution findProcessInstanceById(java.lang.String processInstanceId)
java.util.List<java.lang.String> findProcessInstanceIds(java.lang.String processDefinitionId)
void deleteProcessDefinitionHistory(java.lang.String processDefinitionId)
void deleteProcessInstance(java.lang.String processInstanceId,
boolean deleteHistory)
void cascadeExecutionSuspend(ExecutionImpl execution)
void cascadeExecutionResume(ExecutionImpl execution)
TaskImpl createTask()
TaskImpl findTaskByExecution(Execution execution)
JobImpl findFirstAcquirableJob()
java.util.List<JobImpl> findExclusiveJobs(Execution processInstance)
JobImpl findFirstDueJob()
java.util.List<StartProcessTimer> findStartProcessTimers(java.lang.String processDefinitionId)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||