com.ibm.commerce.negotiation.beans
Class MessageDataBean
java.lang.Object
|
+--com.ibm.ivj.ejb.runtime.AbstractAccessBean
|
+--com.ibm.ivj.ejb.runtime.AbstractEntityAccessBean
|
+--com.ibm.commerce.negotiation.objects.MessageAccessBean
|
+--com.ibm.commerce.negotiation.beans.MessageDataBean
- All Implemented Interfaces:
- DataBean, InputDataBean, MessageAccessBeanData, MessageInputDataBean, MessageSmartDataBean, java.io.Serializable, SmartDataBean
- public class MessageDataBean
- extends MessageAccessBean
- implements MessageInputDataBean, MessageSmartDataBean, SmartDataBean
Retrieves information about a message. The primary key is message id.
- See Also:
- Serialized Form
Fields inherited from class com.ibm.ivj.ejb.runtime.AbstractAccessBean |
DEFAULT_NAMESERVICE_PROVIDER_URL, DEFAULT_NAMESERVICE_TYPE, ejbRef |
Methods inherited from class com.ibm.commerce.negotiation.objects.MessageAccessBean |
commitCopyHelper, findAllMessages, findBySender, getBase, getBaseInEJBType, getContent, getDelayTime, getDelayTimeInEJBType, getId, getIdInEJBType, getMsgParam1, getMsgParam2, getMsgParam3, getMsgType, getMsgTypeInEJBType, getPostTime, getPostTimeInEJBType, getSenderId, getSenderIdInEJBType, getSubject, getTargetId, getTargetIdInEJBType, refreshCopyHelper, sendTo, setBase, setBase, setContent, setDelayTime, setDelayTime, setDelayTimePeriod, setId, setId, setInitKey_id, setMsgParam1, setMsgParam2, setMsgParam3, setMsgStatus, setMsgType, setMsgType, setPostTime, setPostTime, setSenderId, setSenderId, setSendStatus, setSubject, setTargetId, setTargetId |
Methods inherited from class com.ibm.ivj.ejb.runtime.AbstractEntityAccessBean |
__getCache, __getCache, __getKey, __setCache, __setCache, __setKey, commitCopyHelper, createAccessBeans, createAccessBeans, instantiateEJBByPrimaryKey, refreshCopyHelper, setEJBRef |
Methods inherited from class com.ibm.ivj.ejb.runtime.AbstractAccessBean |
defaultJNDIName, defaultNameServiceType, defaultNameServiceURL, getEJBRef, getGlobalHome, getHome, getInit_GlobalNameServiceTypeName, getInit_GlobalNameServiceURLName, getInit_JNDIName, getInit_NameServiceTypeName, getInit_NameServiceURLName, getInitContext, getInitContext, instantiateEJB, resetEJBRef, resetHomeCache, setInit_GlobalNameServiceTypeName, setInit_GlobalNameServiceURLName, setInit_JNDIName, setInit_NameServiceTypeName, setInit_NameServiceURLName |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
aString
protected java.lang.String aString
commandContext
protected CommandContext commandContext
messageId
protected java.lang.String messageId
msgSenderId
protected java.lang.String msgSenderId
requestProperties
protected TypedProperty requestProperties
MessageDataBean
public MessageDataBean()
- Constructs a MessageDataBean object.
MessageDataBean
public MessageDataBean(javax.ejb.EJBObject o)
throws java.rmi.RemoteException
- Constructs a MessageDataBean object.
- Parameters:
o
- javax.ejb.EJBObject- Throws:
java.rmi.RemoteException
- If an error occurs while processing an EJB request.
MessageDataBean
public MessageDataBean(MessageAccessBean anAccessBean)
throws java.lang.Exception
- Constructs a MessageDataBean object.
getCommandContext
public CommandContext getCommandContext()
- Get command context.
- Specified by:
getCommandContext
in interface SmartDataBean
getMessageId
public java.lang.String getMessageId()
- Get message id. This is the primary key.
- Specified by:
getMessageId
in interface MessageSmartDataBean
getMsgDelayDate
public java.lang.String getMsgDelayDate()
- Get message delay date.
- Specified by:
getMsgDelayDate
in interface MessageSmartDataBean
- Returns:
- message delay date. Format yyyy-mm-dd.
getMsgDelayTime
public java.lang.String getMsgDelayTime()
- Get message delay time.
- Specified by:
getMsgDelayTime
in interface MessageSmartDataBean
- Returns:
- message delay time. Format hh:mm:ss.
getMsgPostDate
public java.lang.String getMsgPostDate()
- Get message post date. This date is when message is sent.
- Specified by:
getMsgPostDate
in interface MessageSmartDataBean
- Returns:
- message post date. Format yyyy-mm-dd.
getMsgPostTime
public java.lang.String getMsgPostTime()
- Get message post time.
- Specified by:
getMsgPostTime
in interface MessageSmartDataBean
- Returns:
- message post time. Format hh:mm:ss.
getRequestProperties
public TypedProperty getRequestProperties()
- Fetches the command properties.
- Specified by:
getRequestProperties
in interface InputDataBean
- Returns:
- com.ibm.commerce.datatype.TypedProperty
populate
public void populate()
throws java.lang.Exception
- Retrieves message information and populates MessageDataBean object.
- Specified by:
populate
in interface SmartDataBean
setCommandContext
public void setCommandContext(CommandContext aCommandContext)
- Set command context.
- Specified by:
setCommandContext
in interface SmartDataBean
setMessageId
public void setMessageId(java.lang.String newMessageId)
- Set message id. This is the primary key.
- Specified by:
setMessageId
in interface MessageInputDataBean
setRequestProperties
public void setRequestProperties(TypedProperty newRequestProperties)
- Copies the request properties.
- Specified by:
setRequestProperties
in interface InputDataBean
- Parameters:
newRequestProperties
- com.ibm.commerce.datatype.TypedProperty