org.ow2.bonita.definition
Interface ActivityInstantiator


public interface ActivityInstantiator


Method Summary
 ActivityInstantiatorDescriptor execute(QueryAPIAccessor accessor, ProcessInstanceUUID instanceUUID, java.lang.String activityId, java.lang.String iterationId)
          Method of the interface to be implemented.
 

Method Detail

execute

ActivityInstantiatorDescriptor execute(QueryAPIAccessor accessor,
                                       ProcessInstanceUUID instanceUUID,
                                       java.lang.String activityId,
                                       java.lang.String iterationId)
                                       throws java.lang.Exception
Method of the interface to be implemented.
Put in all your required user-defined operations.

Parameters:
accessor - The QueryAPIAccessor interface to access: QueryRuntimeAPI or QueryDefinitionAPI.
instanceUUID - Id of the instance.
activityId - Id of the activity.
iterationId - Id of the iteration.
Returns:
an ActivityInstantiatorDescriptor that describes the number of activities to instantiate.
Throws:
java.lang.Exception - If an Exception has occurred.


Copyright © 2008 OW2 Consortium. All Rights Reserved.