oracle.apps.fnd.wf.design
Class Notification
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.Notification
- public class Notification
- extends Activity
Notification
is the base class for the workflow notification.
Constructor Summary |
Notification()
Use this constructor only if the notification name is
not available. |
Notification(java.lang.String id)
Use this constructor if the notification name is available. |
Notification(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 notification activity. |
Method Summary |
Message |
getMessage()
Returns the message associates with this notification. |
Role |
getRole()
Returns the role associates with this notification. |
java.lang.String |
getType()
Returns the type of this activity (i.e. |
boolean |
isRoleExpandable()
Returns if more than one response is required to continue a activity. |
void |
setExpandRole(boolean pExpRole)
Setter function for expand role. |
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
Notification
public Notification(java.lang.String id)
- Use this constructor if the notification name is available.
- Parameters:
id
- : Notification name.
Notification
public Notification()
- Use this constructor only if the notification name is
not available. Once the function notification name is retrieved,
setName() should be used to set the notification name.
Notification
public Notification(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 notification activity.
- Parameters:
id
- : Notification name.pAct
- : Activity to copy the attributes from.
isRoleExpandable
public boolean isRoleExpandable()
- Returns if more than one response is required to continue a activity.
- Returns:
- True if more than one response from a role is required to
continue a activity (for example, voting), or false if only one response
from a role is required to continue the flow.
setExpandRole
public void setExpandRole(boolean pExpRole)
- Setter function for expand role.
- Parameters:
pExpRole
- : Set this to true if more than one response from
a role is required to continue a activity (for example, voting), or
false if only one response from a role is required to continue the flow.
getMessage
public Message getMessage()
- Returns the message associates with this notification.
- Returns:
- Message.
getRole
public Role getRole()
- Returns the role associates with this notification.
- Returns:
- Role.
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. Notification).
- Overrides:
getType
in class Activity
- Returns:
- Type of this activity (i.e. Notification).