org.ow2.orchestra.facade.runtime
Interface ProcessInstance

All Superinterfaces:
ActivityInstance, ActivityWithSingleChildInstance, Record, RuntimeRecord, ScopeActivityInstance, java.io.Serializable

public interface ProcessInstance
extends ScopeActivityInstance

A process is considered as an activity. This is the subtype of activity instance.

Author:
Alfonso Fuca, Guillaume Renault

Method Summary
 void addProcessInstanceState(ProcessInstanceStateUpdate state)
          Update the process instance state list
 java.util.List<ProcessInstanceStateUpdate> getProcessInstanceStateUpdate()
          Returns the list of process instance states.
 ProcessInstanceUUID getUUID()
          Returns the UUID of the process instance.
 
Methods inherited from interface org.ow2.orchestra.facade.runtime.ScopeActivityInstance
getCompensationHandlerActivityUUID, getCorrelationSet, getFaultHandlerActivityUUID, getPartnerLink, getScopeState, getTerminationHandlerActivityUUID, getVariables
 
Methods inherited from interface org.ow2.orchestra.facade.runtime.ActivityWithSingleChildInstance
getEnclosedActivityUUID
 
Methods inherited from interface org.ow2.orchestra.facade.runtime.ActivityInstance
getDefinitionUUID, getLastException, getType
 
Methods inherited from interface org.ow2.orchestra.facade.runtime.RuntimeRecord
getEndedDate, getProcessDefinitionUUID, getProcessInstanceUUID, getStartedDate, getState
 

Method Detail

getUUID

ProcessInstanceUUID getUUID()
Returns the UUID of the process instance.

Specified by:
getUUID in interface ActivityInstance
Specified by:
getUUID in interface Record
Returns:
The UUID of the process instance.

getProcessInstanceStateUpdate

java.util.List<ProcessInstanceStateUpdate> getProcessInstanceStateUpdate()
Returns the list of process instance states.

Returns:
The list of process instance states.

addProcessInstanceState

void addProcessInstanceState(ProcessInstanceStateUpdate state)
Update the process instance state list

Parameters:
state - the ProcessInstanceStateUpdate object


Copyright © 2009 OW2 Consortium. All Rights Reserved.