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.
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.DesignBaseComponent |
assign, createRuntimeInstance, getAccessController, getAttributes, getDescription, getDisplayName, setDescription, setDisplayName, setName, setResolved, toString |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
RCS_ID
public static final java.lang.String RCS_ID
RCS_ID_RECORDED
public static final boolean RCS_ID_RECORDED
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.
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.