oracle.apps.fnd.wf.design
Class Process

java.lang.Object
  |
  +--oracle.apps.fnd.wf.common.Element
        |
        +--oracle.apps.fnd.wf.common.BaseComponent
              |
              +--oracle.apps.fnd.wf.design.DesignBaseComponent
                    |
                    +--oracle.apps.fnd.wf.design.DesignBaseAttributeComponent
                          |
                          +--oracle.apps.fnd.wf.design.Activity
                                |
                                +--oracle.apps.fnd.wf.design.Process

public class Process
extends Activity

Process is the container for the workflow process.


Field Summary
static java.lang.String RCS_ID
           
static boolean RCS_ID_RECORDED
           
 
Fields inherited from class oracle.apps.fnd.wf.design.Activity
EVENT_TYPE, FUNCTION_TYPE, NOTIFICATION_TYPE, PROCESS_TYPE
 
Fields inherited from class oracle.apps.fnd.wf.common.Element
ELEMENT_DB_CREATED, ELEMENT_DB_CREATING, ELEMENT_DB_DIRTY, ELEMENT_DB_LOADED, ELEMENT_DB_LOADING, ELEMENT_DB_NOT_INITIALIZED, ELEMENT_DB_SAVED, ELEMENT_DB_SAVING
 
Constructor Summary
Process()
          Use this constructor only if the process name is not available.
Process(java.lang.String id)
          Use this constructor if the process name is available.
 
Method Summary
 java.lang.String execute()
          Executes a process (dummy method at this point)
 java.lang.String getEngineType()
          Returns the engine type.
 java.util.Iterator getProcessActivities()
          Returns the all process activities associate with this process.
 ProcessActivity getProcessActivity(java.lang.String pNodeName)
          Returns the process activity that matches the given node name.
 ProcessActivity getProcessActivityById(java.lang.String pNodeId)
          Returns the process activity that matches the given process's ID.
 java.util.Iterator getStartProcessActivities()
          Returns the starting process activity/activities.
 java.lang.String getType()
          Returns the type of the activity (i.e.
 void setEngineType(java.lang.String pEngineType)
          Setter function for engine type.
 boolean validate(oracle.apps.fnd.wf.WFContext pCtx, int pType)
          Returns the validation of this activity.
 
Methods inherited from class oracle.apps.fnd.wf.design.Activity
assign, copyActivity, createNode, getActionOnRevisit, getCost, getEffectiveDate, getErrorItemType, getErrorProcess, getExecuteRole, getFunctionType, getIconName, getItemType, getLookupType, getMessageName, getReadRole, getResult, getTempFunction, getVersion, getWriteRole, isRunnable, resolveReference, setActionOnRevisit, setCost, setEffectiveDate, setErrorItemType, setErrorProcess, setExecuteRole, setFunctionType, setIconName, setMessageName, setReadRole, setResult, setRunnable, setTempFunction, setVersion, setWriteRole
 
Methods inherited from class oracle.apps.fnd.wf.design.DesignBaseAttributeComponent
addFunction, getAttribute, getFunction
 
Methods inherited from class oracle.apps.fnd.wf.design.DesignBaseComponent
assign, createRuntimeInstance, getAccessController, getAttributes, getDescription, getDisplayName, setDescription, setDisplayName, setName, setResolved, toString
 
Methods inherited from class oracle.apps.fnd.wf.common.BaseComponent
addChild, getChildByTypeAndName, getChildren, getChildrenByName, getChildrenByType, getName, getParent, removeChild, removeChildren
 
Methods inherited from class oracle.apps.fnd.wf.common.Element
create, getDBStatus, getId, load, save, setStore
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

RCS_ID

public static final java.lang.String RCS_ID

RCS_ID_RECORDED

public static final boolean RCS_ID_RECORDED
Constructor Detail

Process

public Process(java.lang.String id)
Use this constructor if the process name is available.
Parameters:
id - : Process name.

Process

public Process()
Use this constructor only if the process name is not available. Once the process name is retrieved, setName() should be used to set the process name.
Method Detail

getType

public java.lang.String getType()
Returns the type of the activity (i.e. Process).
Overrides:
getType in class Activity
Returns:
Type of this activity (i.e. Process).

validate

public boolean validate(oracle.apps.fnd.wf.WFContext pCtx,
                        int pType)
Returns the validation of this activity.
Overrides:
validate in class Activity
Returns:
True if validation passed, false otherwise.

getProcessActivity

public ProcessActivity getProcessActivity(java.lang.String pNodeName)
Returns the process activity that matches the given node name. The process activity should be either the first node, or the node stopped from a previous call.
Parameters:
pNodeName - : Process name.
Returns:
True if validation passed, false otherwise.

getProcessActivityById

public ProcessActivity getProcessActivityById(java.lang.String pNodeId)
Returns the process activity that matches the given process's ID. The process activity should be either the first node, or the node stopped from a previous call.
Parameters:
pNodeId - : Process Id.
Returns:
True if validation passed, false otherwise.

getStartProcessActivities

public java.util.Iterator getStartProcessActivities()
Returns the starting process activity/activities.
Returns:
Iterator to a list of starting process activity/activities.

getProcessActivities

public java.util.Iterator getProcessActivities()
Returns the all process activities associate with this process.
Returns:
Iterator to a list of process activity/activities.

execute

public java.lang.String execute()
Executes a process (dummy method at this point)
Returns:
"*".

getEngineType

public java.lang.String getEngineType()
Returns the engine type.
Returns:
Engine type.

setEngineType

public void setEngineType(java.lang.String pEngineType)
Setter function for engine type.
Parameters:
pEngineType - : Engine type.