|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
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
Activity
is the base class for all the workflow activities,
which includes FunctionActivity
, Process
,
and Notification
.
Field Summary | |
static java.lang.String |
EVENT_TYPE
|
static java.lang.String |
FUNCTION_TYPE
|
static java.lang.String |
NOTIFICATION_TYPE
|
static java.lang.String |
PROCESS_TYPE
|
static java.lang.String |
RCS_ID
|
static boolean |
RCS_ID_RECORDED
|
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 | |
Activity()
Use this constructor only if the activity name is not available. |
|
Activity(java.lang.String id)
Use this constructor if the activity name is available. |
Method Summary | |
void |
assign(DesignBaseComponent pComponent)
Assigns the information from another Activity to this activity. |
void |
copyActivity(Activity pAct)
Copies the member variables from pAct to this activity. |
ProcessActivity |
createNode()
Returns a newly created process activity base on this activity. |
java.lang.String |
getActionOnRevisit()
Returns the Workflow Engine action when this activity is transitioned to more than once. |
int |
getCost()
Returns the execution cost of this activity. |
java.lang.String |
getEffectiveDate()
Returns the effective date of this activity in String format. |
java.lang.String |
getErrorItemType()
Returns the internal name of the item type that owns the error process. |
java.lang.String |
getErrorProcess()
Returns the error process to execute in the event that an error occurs in the current activity. |
java.lang.String |
getExecuteRole()
Returns the role who can execute this activity. |
java.lang.String |
getFunctionType()
Returns the type of Function associates to this activity. |
java.lang.String |
getIconName()
Returns the icon name associates with this activity. |
ItemType |
getItemType()
Returns the item type associates to this activity. |
LookupType |
getLookupType()
Returns the lookup type associates to this activity that matches the result type of the existing activity. |
java.lang.String |
getMessageName()
Returns the name of the message associates to this activity. |
java.lang.String |
getReadRole()
Returns the role who has read access to this activity. |
java.lang.String |
getResult()
Returns the result type of this activity. |
java.lang.String |
getTempFunction()
Returns the name of the function associates to this activity. |
abstract java.lang.String |
getType()
Returns the type of activity ("PROCESS", "FUNCTION", etc). |
int |
getVersion()
Returns the version of this activity. |
java.lang.String |
getWriteRole()
Returns the role who has write access to this activity. |
boolean |
isRunnable()
Returns if the process is enabled for execution. |
void |
resolveReference()
Creates function class if there's no Java Function class created. |
void |
setActionOnRevisit(java.lang.String pActionOnRevisit)
Setter function for the Workflow Engine action when this activity is transitioned to more than once. |
void |
setCost(int pCost)
Setter function for the execution cost of this activity. |
void |
setEffectiveDate(java.lang.String pEffDate)
Setter function for the effective date of this activity. |
void |
setErrorItemType(java.lang.String pErrorItemType)
Setter function for the internal name of the item type that owns the error process. |
void |
setErrorProcess(java.lang.String pErrorProcess)
Setter function for the error process to execute in the event that an error occurs in the current activity. |
void |
setExecuteRole(java.lang.String pExecuteRole)
Setter function for the role who can execute this activity. |
void |
setFunctionType(java.lang.String pFunctionType)
Setter function for the type of Function associates to this activity. |
void |
setIconName(java.lang.String pIconName)
Setter function for the icon name associates with this activity. |
void |
setMessageName(java.lang.String pMessageName)
Setter function for the name of the message associates to this activity. |
void |
setReadRole(java.lang.String pReadRole)
Setter function for the role who has read access to this activity. |
void |
setResult(java.lang.String pResult)
Setter function for the result type of this activity. |
void |
setRunnable(boolean pIsRunnable)
Setter function for whether a process is enable during execution time. |
void |
setTempFunction(java.lang.String pFunctionName)
Setter function for the function name associates to this activity. |
void |
setVersion(int pVersion)
Setter function for the version of this activity. |
void |
setWriteRole(java.lang.String pWriteRole)
Setter function for the role who has write access to this activity. |
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.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 |
public static final java.lang.String RCS_ID
public static final boolean RCS_ID_RECORDED
public static final java.lang.String FUNCTION_TYPE
public static final java.lang.String PROCESS_TYPE
public static final java.lang.String NOTIFICATION_TYPE
public static final java.lang.String EVENT_TYPE
Constructor Detail |
public Activity(java.lang.String id)
id
- : Activity name.public Activity()
Method Detail |
public void copyActivity(Activity pAct)
pAct
- : Activity whom the values are copied from.public int getVersion()
public void setVersion(int pVersion)
pVersion
- : Version of this activity.public java.lang.String getIconName()
public void setIconName(java.lang.String pIconName)
pIconName
- : Name of the icon.public java.lang.String getEffectiveDate()
public void setEffectiveDate(java.lang.String pEffDate)
pEffDate
- : Effective date.public java.lang.String getResult()
public void setResult(java.lang.String pResult)
pResult
- : Result type.public int getCost()
public void setCost(int pCost)
pCost
- : Cost (1-100).public java.lang.String getReadRole()
public void setReadRole(java.lang.String pReadRole)
pReadRole
- : Role that can read this activity.public java.lang.String getWriteRole()
public void setWriteRole(java.lang.String pWriteRole)
pWriteRole
- : Role that can write to this activity.public java.lang.String getExecuteRole()
public void setExecuteRole(java.lang.String pExecuteRole)
pExecuteRole
- : Role that can execute this activity.public java.lang.String getErrorProcess()
public void setErrorProcess(java.lang.String pErrorProcess)
pErrorProcess
- : Error process of this activity.public java.lang.String getErrorItemType()
public void setErrorItemType(java.lang.String pErrorItemType)
pErrorItemType
- : Internal name of the item type that owns the
error process.public java.lang.String getActionOnRevisit()
public void setActionOnRevisit(java.lang.String pActionOnRevisit)
pActionOnRevisit
- : Revisit action.public java.lang.String getFunctionType()
public void setFunctionType(java.lang.String pFunctionType)
pFunctionType
- : Type of function associates to this activity.public java.lang.String getMessageName()
public void setMessageName(java.lang.String pMessageName)
pMessageName
- : Message name.public java.lang.String getTempFunction()
public void setTempFunction(java.lang.String pFunctionName)
pFunctionName
- : Effective date.public boolean isRunnable()
public void setRunnable(boolean pIsRunnable)
pIsRunnable
- : True if the process is enabled, false otherwise.public ItemType getItemType()
public LookupType getLookupType()
public abstract java.lang.String getType()
public boolean validate(oracle.apps.fnd.wf.WFContext pCtx, int pType)
public ProcessActivity createNode()
public void assign(DesignBaseComponent pComponent)
pComponent
- : Activity.public void resolveReference()
resolveReference
in class DesignBaseComponent
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |