oracle.apps.fnd.wf.design
Class FunctionActivity

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.FunctionActivity

public class FunctionActivity
extends Activity

FunctionActivity is the container for the workflow function activity.


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
FunctionActivity()
          Use this constructor only if the function activity name is not available.
FunctionActivity(java.lang.String id)
          Use this constructor if the function activity name is available.
FunctionActivity(java.lang.String id, Activity pAct)
          Use this constructor if the activity is available and if the activity information needs to be copied to this function activity.
 
Method Summary
 java.lang.String getFunctionType()
          Returns the type of Function associates to this activity.
 java.lang.String getType()
          Returns the type of this activity (i.e.
 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, 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

FunctionActivity

public FunctionActivity(java.lang.String id)
Use this constructor if the function activity name is available.
Parameters:
id - : Function name.

FunctionActivity

public FunctionActivity()
Use this constructor only if the function activity name is not available. Once the function activity name is retrieved, setName() should be used to set the function activity name.

FunctionActivity

public FunctionActivity(java.lang.String id,
                        Activity pAct)
Use this constructor if the activity is available and if the activity information needs to be copied to this function activity.
Parameters:
id - : Function name.
pAct - : Activity to copy the attributes from.
Method Detail

getFunctionType

public java.lang.String getFunctionType()
Returns the type of Function associates to this activity. Set the function type to Function.PLSQL_TYPE if it is null. This piece of information might come from function instead of activity level
Overrides:
getFunctionType in class Activity
Returns:
Type of function associates to this activity.

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.

getType

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