java.lang.Object | +--MessagingDataBean | +--com.ibm.commerce.messaging.databeans.MsgObjectDataBean
MsgObjectDataBean, data bean used to encapsulate a messaging object
Field Summary | |
---|---|
static java.lang.String |
COPYRIGHT The internal copyright field. |
Constructor Summary | |
---|---|
MsgObjectDataBean() Constructor for MsgObjectDataBean. |
Method Summary | |
---|---|
java.lang.String |
getMsgConfigData(java.lang.String key) Returns the config data given the input key. |
java.lang.String |
getMsgContent() Returns the message content for the messaging object and default language encoding. |
java.lang.String |
getMsgContent(java.lang.String language) Returns the message content for the messaging object and language. |
Messaging |
getMsgObject() Returns the messaging object. |
java.lang.Integer |
getRetries() Returns the retires field for the messaging object. |
void |
populate() Retrieves and build a messaging object from either the MSGARCHIVE or the MSGSTORE table. |
void |
setMode(java.lang.Integer newMode) Sets the mode identifying the table to be retrieved. |
void |
setMsgId(java.lang.Long newMsgId) Sets the msg id for the desired messaging object to be retrieved. |
void |
setTransportId(java.lang.Integer newTranId) Sets the transport id for the desired messaging object to be retrieved. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll,
toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String COPYRIGHT
Constructor Detail |
---|
public MsgObjectDataBean()
Method Detail |
---|
public void setMsgId(java.lang.Long newMsgId)
public void setTransportId(java.lang.Integer newTranId)
public 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)
public java.lang.Integer getRetries()
public Messaging getMsgObject()
public void populate() throws java.lang.Exception
java.lang.Exception
- Raised by all sub populate
methods.