public class ForumMessageDataBean extends ForumMessageAccessBean implements ForumMessageInputDataBean, ForumMessageSmartDataBean, SmartDataBean
ForumMessageAccessBean
,
SmartDataBean
,
Serialized FormModifier and Type | Field and Description |
---|---|
static java.lang.String |
COPYRIGHT |
emptyString
Constructor and Description |
---|
ForumMessageDataBean()
Constructs a forum message data bean.
|
ForumMessageDataBean(com.ibm.commerce.negotiation.objects.ForumMessage o)
Constructs a forum message data bean.
|
ForumMessageDataBean(ForumMessageAccessBean anAccessBean)
Constructs a forum message data bean.
|
Modifier and Type | Method and Description |
---|---|
CommandContext |
getCommandContext()
Gets the active command context.
|
java.lang.String |
getFormattedPostTime()
Gets the formatted post time
|
java.lang.String |
getMsgId()
Gets the message ID.
|
java.lang.String |
getMsgSubject()
Gets the message subject
|
TypedProperty |
getRequestProperties()
Fetches the command properties.
|
UserInfoDataBean |
getUserInfoDataBean()
Gets UserInfo databean
|
java.lang.String |
getViewStatus()
Gets the view status
|
void |
populate()
Fetches field values from the access bean.
|
void |
setCommandContext(CommandContext newCommandContext)
Sets the active command context.
|
void |
setMsgId(java.lang.String newMsgId)
Sets the message Id, uses it to set key field of access bean.
|
void |
setRequestProperties(TypedProperty newRequestProperties)
Copies the input command properties.
|
findByForumAndTarget, findChildrenMsg, findRootMsg, getAction, getActionRemark, getEntity, getField1, getField1InEntityType, getField2, getField2InEntityType, getField3, getField3InEntityType, getForumId, getForumIdInEntityType, getId, getIdInEntityType, getMsgBody, getMsgStatus, getParentMsgId, getParentMsgIdInEntityType, getPosterId, getPosterIdInEntityType, getPostTime, getPostTimeInEntityType, getRootMsgId, getRootMsgIdInEntityType, getTargetId, getTargetIdInEntityType, instantiateEntity, setAction, setActionRemark, setField1, setField1, setField2, setField2, setField3, setField3, setForumId, setForumId, setId, setId, setInitKey_id, setMsgBody, setMsgStatus, setMsgSubject, setParentMsgId, setParentMsgId, setPosterId, setPosterId, setPostTime, setPostTime, setRootMsgId, setRootMsgId, setTargetId, setTargetId, setViewStatus
public static final java.lang.String COPYRIGHT
public ForumMessageDataBean()
public ForumMessageDataBean(ForumMessageAccessBean anAccessBean)
anAccessBean
- com.ibm.commerce.negotiation.objects.ForumMessageAccessBeanECException
public ForumMessageDataBean(com.ibm.commerce.negotiation.objects.ForumMessage o)
o
- javax.ejb.EJBObjectRemoteException
public CommandContext getCommandContext()
getCommandContext
in interface SmartDataBean
public java.lang.String getMsgId()
getMsgId
in interface ForumMessageSmartDataBean
public TypedProperty getRequestProperties()
getRequestProperties
in interface InputDataBean
public void populate()
populate
in interface SmartDataBean
java.lang.Exception
- On any access bean error.public void setCommandContext(CommandContext newCommandContext)
setCommandContext
in interface SmartDataBean
newCommandContext
- the active command context.public void setMsgId(java.lang.String newMsgId)
setMsgId
in interface ForumMessageInputDataBean
newMsgId
- the ID of the next message to be manipulated.public void setRequestProperties(TypedProperty newRequestProperties)
setRequestProperties
in interface InputDataBean
newRequestProperties
- The request properties.public java.lang.String getMsgSubject()
getMsgSubject
in class ForumMessageAccessBean
public java.lang.String getFormattedPostTime()
public java.lang.String getViewStatus()
getViewStatus
in class ForumMessageAccessBean
public UserInfoDataBean getUserInfoDataBean()