public class ForumMessageListBean extends NegotiationListBean implements ForumMessageListInputDataBean, ForumMessageListSmartDataBean
NegotiationListBean
,
CommandDataBean
,
Serialized FormModifier and Type | Field and Description |
---|---|
static java.lang.String |
COPYRIGHT |
sortingAtt
emptyString
Constructor and Description |
---|
ForumMessageListBean()
Constructs a forum message list bean.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getForumId()
Gets the forum ID.
|
ForumMessageDataBean[] |
getForumMessageBeans()
Gets a sorted list of forum message data bean objects.
|
java.lang.String |
getMsgStatus()
Gets the msg status.
|
java.lang.String |
getParentMsgId()
Gets the parent message ID.
|
java.lang.String |
getPosterId()
Gets the ID of the user posting the message.
|
java.lang.String |
getRootMsgId()
Gets the ID of the first (root) message in the current thread.
|
java.lang.String |
getTargetId()
Gets the ID of the relevant auction.
|
java.lang.String |
getViewStatus()
Gets the view status.
|
void |
populate()
Looks up forum messages and populates an array with the result.
|
void |
setForumId(java.lang.String newForumId)
Set forum ID(String)
Sets the value of field forum ID.
|
void |
setForumMessageBeans(ForumMessageDataBean[] newForumMessageBeans)
Loads the array of forum message data bean.
|
void |
setMsgStatus(java.lang.String newMsgStatus)
Sets the msg status.
|
void |
setParentMsgId(java.lang.String newParentMsgId)
Sets the parent message ID.
|
void |
setPosterId(java.lang.String newPosterId)
Sets the ID of the user posting the message.
|
void |
setRootMsgId(java.lang.String newRootMsgId)
Sets the ID of the first (root) message in the current thread.
|
void |
setTargetId(java.lang.String newTargetId)
Sets the ID of the relevant auction.
|
void |
setViewStatus(java.lang.String newViewStatus)
Sets the view status.
|
getLength, getSortAtt, setSortAtt, setSortAttByString
fulfills, getCommandContext, getHttpRequest, getHttpResponse, getResources, getViewCommandContext, setCommandContext, setHttpRequest, setHttpResponse, setViewCommandContext
getRequestProperties, setRequestProperties
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getRequestProperties, setRequestProperties
public static final java.lang.String COPYRIGHT
public ForumMessageListBean()
public java.lang.String getForumId()
getForumId
in interface ForumMessageListSmartDataBean
public ForumMessageDataBean[] getForumMessageBeans()
getForumMessageBeans
in interface ForumMessageListSmartDataBean
public java.lang.String getMsgStatus()
getMsgStatus
in interface ForumMessageListSmartDataBean
public java.lang.String getParentMsgId()
getParentMsgId
in interface ForumMessageListSmartDataBean
public java.lang.String getPosterId()
getPosterId
in interface ForumMessageListSmartDataBean
public java.lang.String getRootMsgId()
getRootMsgId
in interface ForumMessageListSmartDataBean
public java.lang.String getTargetId()
getTargetId
in interface ForumMessageListSmartDataBean
public java.lang.String getViewStatus()
getViewStatus
in interface ForumMessageListSmartDataBean
public void populate() throws java.lang.Exception
populate
in interface SmartDataBean
populate
in class SmartDataBeanImpl
java.lang.Exception
- if any problems are encountered.public void setForumId(java.lang.String newForumId)
setForumId
in interface ForumMessageListInputDataBean
newForumId
- java.lang.Stringpublic void setForumMessageBeans(ForumMessageDataBean[] newForumMessageBeans)
setForumMessageBeans
in interface ForumMessageListInputDataBean
newForumMessageBeans
- new array of forum message data bean objects.public void setMsgStatus(java.lang.String newMsgStatus)
setMsgStatus
in interface ForumMessageListInputDataBean
newMsgStatus
- the message status; Active or Deleted.public void setParentMsgId(java.lang.String newParentMsgId)
setParentMsgId
in interface ForumMessageListInputDataBean
newParentMsgId
- for a response message, the original message ID;
for an original message, the message ID.public void setPosterId(java.lang.String newPosterId)
setPosterId
in interface ForumMessageListInputDataBean
newPosterId
- the ID of the user posting the message.public void setRootMsgId(java.lang.String newRootMsgId)
setRootMsgId
in interface ForumMessageListInputDataBean
newRootMsgId
- the ID of the first (root) message in the current thread.public void setTargetId(java.lang.String newTargetId)
setTargetId
in interface ForumMessageListInputDataBean
newTargetId
- the ID of the relevant auction.public void setViewStatus(java.lang.String newViewStatus)
setViewStatus
in interface ForumMessageListInputDataBean
newViewStatus
- the view status; Public or PrIvate.