oracle.owb.processflow
Interface Activity

All Superinterfaces:
OWBNamedObject, ProcessActivityParameterOwner
All Known Subinterfaces:
SubProcess

public interface Activity
extends ProcessActivityParameterOwner

A Activity is the interface that defines the unit of execution within a give process. The user can create a process activity to define atomic operations that he wants so that they can later be chained together using transitions to define dependency information.


Field Summary
static int TRANSITION_INCOMING
          Constant used to specify Incoming Transition of Activity.
static int TRANSITION_OUTGOING
          Constant used to specify outgoing Transition of Activity.
 
Method Summary
 OWBNamedObject getBoundObject()
          Retrieve the OWBNamedObject that this activity refers to.
 Transition[] getConnectedTransitions(int inoutComing)
          Gets the type of Activity of a ProcessFlow.
 ProcessFlow getProcessFlow()
          Returns the owning processflow object which the current Activity belongs to.
 int getType()
          Gets the type of Activity of a ProcessFlow.
 
Methods inherited from interface oracle.owb.processflow.ProcessActivityParameterOwner
createParameter, createParameter, createParameter, findParameter, getParameters, getParameters, getPosition, setPosition
 
Methods inherited from interface oracle.owb.foundation.OWBNamedObject
delete, getBusinessName, getClassDefinition, getComponent, getDescription, getName, getUOID, isDeletable, isEditable, isRenamable, setBusinessName, setDescription, setName
 

Field Detail

TRANSITION_INCOMING

public static final int TRANSITION_INCOMING
Constant used to specify Incoming Transition of Activity.

TRANSITION_OUTGOING

public static final int TRANSITION_OUTGOING
Constant used to specify outgoing Transition of Activity.
Method Detail

getProcessFlow

public ProcessFlow getProcessFlow()
                           throws OWBException
Returns the owning processflow object which the current Activity belongs to.
Returns:
owning ProcessFlow object.
Throws:
OWBException - if unable to retrieve Process Flow Object.

getType

public int getType()
Gets the type of Activity of a ProcessFlow.
Returns:
integer value of Activity Type. The type code of the activity that has been created.

getConnectedTransitions

public Transition[] getConnectedTransitions(int inoutComing)
Gets the type of Activity of a ProcessFlow.
Parameters:
intoutcoming - can be one of the following value, for incoming transition use TRANSITION_INCOMING and for outgoing transition use TRANSITION_OUTGOING
Returns:
an array of Transition objects.

getBoundObject

public OWBNamedObject getBoundObject()
                              throws OWBException
Retrieve the OWBNamedObject that this activity refers to.
Returns:
the referred OWBNamedObject or null if there is no reference.
Throws:
OWBException - if unable to retrieve OWBNamedObject Object.