public class MsgObjectDataBean
extends com.ibm.commerce.messaging.databeans.MessagingDataBean
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
COPYRIGHT
The internal copyright field.
|
emptyString| Constructor and Description |
|---|
MsgObjectDataBean()
The constructor for MsgObjectDataBean calls its parents constructor.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getMsgConfigData(java.lang.String key)
This method returns the configuration data given the input key.
|
java.lang.String |
getMsgContent()
This method returns the message content for the messaging object and default language encoding.
|
java.lang.String |
getMsgContent(java.lang.String language)
This method returns the message content for the messaging object and language.
|
Messaging |
getMsgObject()
This method returns the messaging object.
|
java.lang.Integer |
getRetries()
This method returns the retries value for the messaging object.
|
void |
populate()
This method retrieves and builds a messaging object from either the MSGARCHIVE or
the MSGSTORE table.
|
void |
setMode(java.lang.Integer newMode)
This method sets the mode identifying the table to retrieve.
|
void |
setMsgId(java.lang.Long newMsgId)
This method sets the message ID for the desired messaging object to retrieve.
|
void |
setTransportId(java.lang.Integer newTranId)
This method sets the transport ID for the desired messaging object to retrieve.
|
fulfills, getCommandContext, getHttpRequest, getHttpResponse, getResources, getViewCommandContext, setCommandContext, setHttpRequest, setHttpResponse, setViewCommandContextgetRequestProperties, setRequestPropertiesequals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetRequestProperties, setRequestPropertiespublic static final java.lang.String COPYRIGHT
public MsgObjectDataBean()
public void setMsgId(java.lang.Long newMsgId)
the - message ID for the command to usepublic void setTransportId(java.lang.Integer newTranId)
the - transport ID for the command to usepublic void setMode(java.lang.Integer newMode)
1=MSGSTORE
newMode - the modepublic java.lang.String getMsgConfigData(java.lang.String key)
key - the key to look up the configuration valuepublic java.lang.String getMsgContent()
public java.lang.String getMsgContent(java.lang.String language)
langauage - The language used during content creation.public java.lang.Integer getRetries()
public Messaging getMsgObject()
public void populate()
throws java.lang.Exception
populate in interface SmartDataBeanpopulate in class SmartDataBeanImpljava.lang.Exception - Raised by all sub populate methods.