oracle.apps.fnd.wf.design
Class Function

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

public class Function
extends DesignBaseComponent

Function is the container for the workflow function.


Field Summary
static java.lang.String CANCEL_MODE
           
static java.lang.String EJB_TYPE
           
static java.lang.String EXTERNAL_TYPE
           
static java.lang.String EXTJAVA_TYPE
           
static java.lang.String JAVA_TYPE
           
static java.lang.String PLSQL_TYPE
           
static java.lang.String RCS_ID
           
static boolean RCS_ID_RECORDED
           
static java.lang.String RUN_MODE
           
static java.lang.String SOAP_TYPE
           
static java.lang.String TIMEOUT_MODE
           
 
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
Function()
          Use this constructor only if the function mode of the function is not available.
Function(java.lang.String id)
          Use this constructor if the function mode of this function is available.
 
Method Summary
 DesignBaseAttributeComponent getActivity()
          Returns the activity that owns this function.
 java.lang.String getDescriptor()
          Returns the descriptor of this function.
 java.lang.String getFunctionMode()
          Returns the function mode of this function.
 java.lang.String getFunctionName()
          Returns the function name associates with this function.
 java.lang.String getFunctionType()
          Returns the function type of this function.
 java.lang.String getSecGroupId()
          Returns the security group Id of this function.
 void resolveReference()
          Resolves the function mode definition reference to the actual function name.
 void setDescriptor(java.lang.String pDescriptor)
          Setter function for the descriptor of this function.
 void setFunctionName(java.lang.String pFunction)
          Setter function for the function name associates to this function.
 void setFunctionType(java.lang.String pFunctionType)
          Setter function for the function type of this function.
 void setName(java.lang.String pFunctionMode)
          Sets the name of this function, which also sets the function mode of this function.
 void setSecGroupId(java.lang.String pSecGroupId)
          Setter function for the security group Id of this function.
 
Methods inherited from class oracle.apps.fnd.wf.design.DesignBaseComponent
assign, createRuntimeInstance, getAccessController, getAttribute, getAttributes, getDescription, getDisplayName, setDescription, setDisplayName, 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

RUN_MODE

public static final java.lang.String RUN_MODE

CANCEL_MODE

public static final java.lang.String CANCEL_MODE

TIMEOUT_MODE

public static final java.lang.String TIMEOUT_MODE

PLSQL_TYPE

public static final java.lang.String PLSQL_TYPE

EXTERNAL_TYPE

public static final java.lang.String EXTERNAL_TYPE

EXTJAVA_TYPE

public static final java.lang.String EXTJAVA_TYPE

SOAP_TYPE

public static final java.lang.String SOAP_TYPE

JAVA_TYPE

public static final java.lang.String JAVA_TYPE

EJB_TYPE

public static final java.lang.String EJB_TYPE
Constructor Detail

Function

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

Function

public Function()
Use this constructor only if the function mode of the function is not available. Once the function mode is retrieved, setName() should be used to set the function mode.
Method Detail

getFunctionMode

public java.lang.String getFunctionMode()
Returns the function mode of this function.
Returns:
Function mode.

getDescriptor

public java.lang.String getDescriptor()
Returns the descriptor of this function. Descriptor includes information like file location (URL) or URI.
Returns:
Descriptor.

setDescriptor

public void setDescriptor(java.lang.String pDescriptor)
Setter function for the descriptor of this function.
Parameters:
pDescriptor - : Descriptor.

getFunctionName

public java.lang.String getFunctionName()
Returns the function name associates with this function.
Returns:
Function name.

setFunctionName

public void setFunctionName(java.lang.String pFunction)
Setter function for the function name associates to this function.
Parameters:
pFunction - : Function name.

getFunctionType

public java.lang.String getFunctionType()
Returns the function type of this function. Currently function type should match the parent (function) activity's function type.
Returns:
Function type.

setFunctionType

public void setFunctionType(java.lang.String pFunctionType)
Setter function for the function type of this function. Function type should match one of the pre-defined types and it should be identical to the parent (function) activity's function type.
Parameters:
pFunctionType - : Function type.

getSecGroupId

public java.lang.String getSecGroupId()
Returns the security group Id of this function.
Returns:
Security group id.

setSecGroupId

public void setSecGroupId(java.lang.String pSecGroupId)
Setter function for the security group Id of this function.
Parameters:
pSecGroupId - : Security group id.

getActivity

public DesignBaseAttributeComponent getActivity()
Returns the activity that owns this function.
Returns:
Activity.

setName

public void setName(java.lang.String pFunctionMode)
Sets the name of this function, which also sets the function mode of this function.
Overrides:
setName in class DesignBaseComponent
Parameters:
pFunctionMode - : Name of the component, which should be identical to one of the pre-defined function mode.

resolveReference

public void resolveReference()
Resolves the function mode definition reference to the actual function name. Function mode should match one of the pre-defined function mode.
Overrides:
resolveReference in class DesignBaseComponent