|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.ow2.bonita.pvm.internal.hibernate.HibernateDbSession
org.ow2.bonita.pvm.internal.hibernate.HibernateJobDbSession
public class HibernateJobDbSession
Field Summary |
---|
Fields inherited from class org.ow2.bonita.pvm.internal.hibernate.HibernateDbSession |
---|
session |
Constructor Summary | |
---|---|
HibernateJobDbSession()
|
Method Summary | |
---|---|
java.util.List<JobImpl<?>> |
findExclusiveJobs(Execution processInstance)
the list of jobs of the process instance that mustn't be concurrent |
JobImpl<?> |
findFirstAcquirableJob()
the first jobImpl to finish among eligible and non-locked jobs or null if none |
JobImpl<?> |
findFirstDueJob()
the first jobImpl to finish among non-owned jobs or null if none |
JobImpl<?> |
getJob(long jobId)
the jobImpl with the given id or null if none |
Methods inherited from class org.ow2.bonita.pvm.internal.hibernate.HibernateDbSession |
---|
close, delete, flush, forceVersionUpdate, get, getSession, lockPessimistically, save, setSession |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.ow2.bonita.pvm.session.DbSession |
---|
delete, flush, forceVersionUpdate, get, lockPessimistically, save |
Constructor Detail |
---|
public HibernateJobDbSession()
Method Detail |
---|
public JobImpl<?> findFirstAcquirableJob()
JobDbSession
findFirstAcquirableJob
in interface JobDbSession
public java.util.List<JobImpl<?>> findExclusiveJobs(Execution processInstance)
JobDbSession
findExclusiveJobs
in interface JobDbSession
public JobImpl<?> findFirstDueJob()
JobDbSession
findFirstDueJob
in interface JobDbSession
public JobImpl<?> getJob(long jobId)
JobDbSession
getJob
in interface JobDbSession
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |