|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
is the read-only part of the execution service.
| Method Summary | |
java.util.List |
findActiveTokensInState(java.lang.Long stateId)
retrieves non-finished tokens for the given state. |
java.util.List |
findActiveTokensInState(java.lang.Long[] stateIds)
retrieves non-finished tokens for the given states. |
java.util.List |
findByQuery(JbpmQuery jbpmQuery)
exposes the hibernate query language to jbpm clients. |
java.util.List |
getAllDefinitions()
provides access to all versions of all the process definitions. |
java.util.Collection |
getAvailableTransitions(java.lang.Long tokenId)
retrieves the list of currently available transition names for a given token. |
Definition |
getDefinition(java.lang.Long definitionId)
retrieves a definition from an id. |
byte[] |
getFile(java.lang.Long processDefinitionId,
java.lang.String fileName)
provides access to the files in the process archive. |
Definition |
getLatestDefinition(java.lang.String name)
retrieves the latest version of the process definition with the given name. |
java.util.Collection |
getLatestDefinitions()
retrieves only the latest versions of all the process definitions in the system. |
ProcessInstance |
getProcessInstance(java.lang.Long processInstanceId)
retrieves the specified ProcessInstance. |
java.util.Collection |
getTaskList(java.lang.String targetActorId)
collects all org.jbpm.workflow.execution.Flows for which the given
target-swimlane has to perform an activity. |
Token |
getToken(java.lang.Long tokenId)
retrieves the specified Token. |
java.util.Map |
getVariables(java.lang.Long tokenId)
retrieves the variables of the specified Token. |
| Methods inherited from interface org.jbpm.Service |
close |
| Method Detail |
public java.util.Collection getTaskList(java.lang.String targetActorId)
org.jbpm.workflow.execution.Flows for which the given
target-swimlane has to perform an activity.
targetActorId - specifies the swimlane for which the tasklist should be fetched.
org.jbpm.workflow.execution.Flows which are
assigned to given swimlane.
java.lang.NullPointerException - if targetActorId is null.
PersistenceException - if jbpm cannot contact its database.public Token getToken(java.lang.Long tokenId)
Token.
tokenId - the id of the token.
java.lang.NullPointerException - if tokenId is null.
PersistenceException - if jbpm cannot contact its database.public ProcessInstance getProcessInstance(java.lang.Long processInstanceId)
ProcessInstance.
processInstanceId - the id of the process instance.
java.lang.NullPointerException - if processInstanceId is null.
PersistenceException - if jbpm cannot contact its database.public java.util.Map getVariables(java.lang.Long tokenId)
Token.
tokenId - the id of the token for which the variables should be retrieved.
java.lang.NullPointerException - if tokenId is null.
PersistenceException - if jbpm cannot contact its database.public Definition getDefinition(java.lang.Long definitionId)
public Definition getLatestDefinition(java.lang.String name)
public java.util.Collection getLatestDefinitions()
public byte[] getFile(java.lang.Long processDefinitionId,
java.lang.String fileName)
public java.util.List getAllDefinitions()
public java.util.Collection getAvailableTransitions(java.lang.Long tokenId)
public java.util.List findActiveTokensInState(java.lang.Long stateId)
public java.util.List findActiveTokensInState(java.lang.Long[] stateIds)
public java.util.List findByQuery(JbpmQuery jbpmQuery)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||