oracle.apps.fnd.wf.design
Class Message

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

public class Message
extends DesignBaseAttributeComponent

Function is the container for the workflow function.


Field Summary
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
Message()
          Use this constructor only if the message name is not available.
Message(java.lang.String id)
          Use this constructor if the message name is available.
 
Method Summary
 java.lang.String getBody()
          Returns the message body.
 java.lang.String getExecuteRole()
          Returns the the role who has execute access to this message.
 java.lang.String getHtmlBody()
          Returns the HTML body of the message.
 ItemType getItemType()
          Returns the item type which this message belogs to.
 java.util.List getMessageAttributes()
          Returns the message attribute associate to this message.
 java.lang.String getPriority()
          Returns the priority of the message.
 java.lang.String getReadRole()
          Returns the the role who has read access to this message.
 java.lang.String getSubject()
          Returns the message subject.
 java.lang.String getWriteRole()
          Returns the the role who has write access to this message.
 void setBody(java.lang.String pBody)
          Setter function for the message body.
 void setExecuteRoleName(java.lang.String pRoleName)
          Setter function for the role name who has execute access to this message.
 void setHtmlBody(java.lang.String pHtmlBody)
          Setter function for the HTML body of the message.
 void setPriority(java.lang.String pPriority)
          Setter function for the priority of the message.
 void setReadRoleName(java.lang.String pRoleName)
          Setter function for the role name who has read access to this message.
 void setSubject(java.lang.String pSubject)
          Setter function for the message subject.
 void setWriteRoleName(java.lang.String pRoleName)
          Setter function for the role name who has write access to this message.
 
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, resolveReference, 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

Message

public Message(java.lang.String id)
Use this constructor if the message name is available.
Parameters:
id - : Message name.

Message

public Message()
Use this constructor only if the message name is not available. Once the message name is retrieved, setName() should be used to set the message name.
Method Detail

getSubject

public java.lang.String getSubject()
Returns the message subject.
Returns:
Subject.

setSubject

public void setSubject(java.lang.String pSubject)
Setter function for the message subject.
Parameters:
pSubject - : Subject of a message.

getBody

public java.lang.String getBody()
Returns the message body.
Returns:
Body of the message.

setBody

public void setBody(java.lang.String pBody)
Setter function for the message body.
Parameters:
pBody - : Body of a message.

getPriority

public java.lang.String getPriority()
Returns the priority of the message.
Returns:
Priority.

setPriority

public void setPriority(java.lang.String pPriority)
Setter function for the priority of the message.
Parameters:
pPriority - : Priority.

getHtmlBody

public java.lang.String getHtmlBody()
Returns the HTML body of the message.
Returns:
HTML body.

setHtmlBody

public void setHtmlBody(java.lang.String pHtmlBody)
Setter function for the HTML body of the message.
Parameters:
pHtmlBody - : HTML body.

getReadRole

public java.lang.String getReadRole()
Returns the the role who has read access to this message.
Returns:
Role name.

setReadRoleName

public void setReadRoleName(java.lang.String pRoleName)
Setter function for the role name who has read access to this message.
Parameters:
pRoleName - : Role name

getWriteRole

public java.lang.String getWriteRole()
Returns the the role who has write access to this message.
Returns:
Role name.

setWriteRoleName

public void setWriteRoleName(java.lang.String pRoleName)
Setter function for the role name who has write access to this message.
Parameters:
pRoleName - : Role name

getExecuteRole

public java.lang.String getExecuteRole()
Returns the the role who has execute access to this message.
Returns:
Role name.

setExecuteRoleName

public void setExecuteRoleName(java.lang.String pRoleName)
Setter function for the role name who has execute access to this message.
Parameters:
pRoleName - : Role name

getItemType

public ItemType getItemType()
Returns the item type which this message belogs to.
Returns:
Itme type.

getMessageAttributes

public java.util.List getMessageAttributes()
Returns the message attribute associate to this message.
Returns:
A list of message attributes.