org.jbpm.api.model
Interface OpenProcessInstance

All Superinterfaces:
Execution, OpenExecution, ProcessInstance, java.io.Serializable

public interface OpenProcessInstance
extends OpenExecution, ProcessInstance

process instance for which the relations are exposed. Open refers to the relations being accessible. This is related to hibernate's lazy loading capabilities. That requires an active session. Inside process execution, there is such an active session and hence the relations can be exposed. But for the client of the service methods, it's not sure if the session is still active. That is why the relations are not exposed in the return values of service methods.

Author:
Tom Baeyens

Field Summary
 
Fields inherited from interface org.jbpm.api.Execution
STATE_ACTIVE_CONCURRENT, STATE_ACTIVE_ROOT, STATE_ASYNC, STATE_CREATED, STATE_ENDED, STATE_INACTIVE_CONCURRENT_ROOT, STATE_INACTIVE_JOIN, STATE_INACTIVE_SCOPE, STATE_SUSPENDED
 
Fields inherited from interface org.jbpm.api.Execution
STATE_ACTIVE_CONCURRENT, STATE_ACTIVE_ROOT, STATE_ASYNC, STATE_CREATED, STATE_ENDED, STATE_INACTIVE_CONCURRENT_ROOT, STATE_INACTIVE_JOIN, STATE_INACTIVE_SCOPE, STATE_SUSPENDED
 
Method Summary
 
Methods inherited from interface org.jbpm.api.model.OpenExecution
createVariable, findActiveExecutionIn, getExecution, getParent, getProcessInstance, getSubProcessInstance, getVariable, getVariableKeys, getVariables, hasVariable, hasVariables, removeVariable, removeVariables, setPriority, setState, setVariable, setVariables
 
Methods inherited from interface org.jbpm.api.Execution
findActiveActivityNames, getExecutions, getExecutionsMap, getId, getIsProcessInstance, getKey, getName, getPriority, getProcessDefinitionId, getState, hasExecution, isActive, isEnded, isSuspended
 
Methods inherited from interface org.jbpm.api.Execution
findActiveActivityNames, getExecutions, getExecutionsMap, getId, getIsProcessInstance, getKey, getName, getPriority, getProcessDefinitionId, getState, hasExecution, isActive, isEnded, isSuspended
 



Copyright © 2009 JBoss, a division of Red Hat. All Rights Reserved.