org.jbpm.env.session
Interface PvmDbSession

All Superinterfaces:
DbSession
All Known Implementing Classes:
HibernatePvmDbSession

public interface PvmDbSession
extends DbSession

Author:
Tom Baeyens, Pascal Verdage

Method Summary
 java.util.List<Timer> findAllTimers()
          all scheduled timers
 Execution findExecution(java.lang.String processDefinitionName, java.lang.String key)
          an execution identified by process definition and business key
 Timer findNextTimer()
          next timer to execute
 ProcessDefinition findProcessDefinition(java.lang.String name)
          latest version of the processDefinition with the given name.
 ProcessDefinition findProcessDefinition(java.lang.String name, int version)
          specific version of a named processDefinition.
 java.util.List<java.lang.String> findProcessDefinitionNames()
          all deployed process names.
 java.util.List<ProcessDefinition> findProcessDefinitions(java.lang.String name)
          all versions of the given process.
 java.util.List<Timer> findTimers(Execution execution)
          all timers scheduled on a given execution
 java.util.List<Job<?>> getJobs()
          all jobs
 
Methods inherited from interface org.jbpm.env.session.DbSession
delete, flush, forceVersionUpdate, get, lockPessimistically, save
 

Method Detail

findProcessDefinitionNames

java.util.List<java.lang.String> findProcessDefinitionNames()
all deployed process names.


findProcessDefinitions

java.util.List<ProcessDefinition> findProcessDefinitions(java.lang.String name)
all versions of the given process.


findProcessDefinition

ProcessDefinition findProcessDefinition(java.lang.String name)
latest version of the processDefinition with the given name.


findProcessDefinition

ProcessDefinition findProcessDefinition(java.lang.String name,
                                        int version)
specific version of a named processDefinition.


findNextTimer

Timer findNextTimer()
next timer to execute


findAllTimers

java.util.List<Timer> findAllTimers()
all scheduled timers


findTimers

java.util.List<Timer> findTimers(Execution execution)
all timers scheduled on a given execution


findExecution

Execution findExecution(java.lang.String processDefinitionName,
                        java.lang.String key)
an execution identified by process definition and business key


getJobs

java.util.List<Job<?>> getJobs()
all jobs