org.ow2.bonita.pvm.session
Interface PvmDbSession

All Superinterfaces:
DbSession
All Known Implementing Classes:
HibernatePvmDbSession

public interface PvmDbSession
extends DbSession

Author:
Tom Baeyens, Pascal Verdage

Method Summary
 ClientExecution findExecutionById(java.lang.String executionId)
          the execution uniquely identified by the given executionKey.
 Execution findExecutionByKey(java.lang.String processDefinitionName, java.lang.String executionKey)
          the execution uniquely identified by the given processDefinition name and the execution key.
 java.util.List<Job> findJobsWithException(int firstResult, int maxResults)
          the jobs for which all the retries have failed and which will not be picked up any more by the jobImpl executor
 ClientProcessDefinition findLatestProcessDefinitionByName(java.lang.String name)
          latest version of the processDefinition with the given name.
 java.util.List<Message> findMessages(int firstResult, int maxResults)
          timers
 ClientProcessDefinition findProcessDefinitionById(java.lang.String processDefinitionId)
          the process definition uniquely identified by the given processDefinition id.
 ClientProcessDefinition findProcessDefinitionByName(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<ClientProcessDefinition> findProcessDefinitionsByName(java.lang.String name)
          all versions of the given process.
 java.util.List<Timer> findTimers(int firstResult, int maxResults)
          timers
 
Methods inherited from interface org.ow2.bonita.pvm.session.DbSession
delete, flush, forceVersionUpdate, get, lockPessimistically, save
 

Method Detail

findProcessDefinitionNames

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


findProcessDefinitionsByName

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


findProcessDefinitionByName

ClientProcessDefinition findProcessDefinitionByName(java.lang.String name,
                                                    int version)
specific version of a named processDefinition.


findLatestProcessDefinitionByName

ClientProcessDefinition findLatestProcessDefinitionByName(java.lang.String name)
latest version of the processDefinition with the given name.


findProcessDefinitionById

ClientProcessDefinition findProcessDefinitionById(java.lang.String processDefinitionId)
the process definition uniquely identified by the given processDefinition id.


findExecutionById

ClientExecution findExecutionById(java.lang.String executionId)
the execution uniquely identified by the given executionKey.


findExecutionByKey

Execution findExecutionByKey(java.lang.String processDefinitionName,
                             java.lang.String executionKey)
the execution uniquely identified by the given processDefinition name and the execution key.


findTimers

java.util.List<Timer> findTimers(int firstResult,
                                 int maxResults)
timers


findMessages

java.util.List<Message> findMessages(int firstResult,
                                     int maxResults)
timers


findJobsWithException

java.util.List<Job> findJobsWithException(int firstResult,
                                          int maxResults)
the jobs for which all the retries have failed and which will not be picked up any more by the jobImpl executor



Copyright © 2009 OW2 Consortium. All Rights Reserved.