com.ibm.commerce.negotiation.beans
Class ForumMessageLightListBean

java.lang.Object
  |
  +--com.ibm.commerce.beans.InputDataBeanImpl
        |
        +--com.ibm.commerce.beans.SmartDataBeanImpl
              |
              +--com.ibm.commerce.negotiation.beans.NegotiationListBean
                    |
                    +--com.ibm.commerce.negotiation.beans.ForumMessageLightListBean
All Implemented Interfaces:
DataBean, ForumMessageLightListInputDataBean, ForumMessageLightListSmartDataBean, InputDataBean, NegotiationListInputDataBean, NegotiationListSmartDataBean, java.io.Serializable, SmartDataBean

public class ForumMessageLightListBean
extends NegotiationListBean
implements ForumMessageLightListInputDataBean, ForumMessageLightListSmartDataBean

Provides sorted lists of ForumMessageLight beans.

See Also:
NegotiationListBean, CommandDataBean, Serialized Form

Field Summary
protected  java.lang.String forumId
           
protected  ForumMessageLightDataBean[] forumMessageBeans
           
protected  java.lang.String msgStatus
           
protected  java.lang.String parentMsgId
           
protected  java.lang.String posterId
           
protected  java.lang.String rootMsgId
           
protected  java.lang.String targetId
           
protected  java.lang.String viewStatus
           
 
Fields inherited from class com.ibm.commerce.negotiation.beans.NegotiationListBean
listSize, sortingAtt
 
Fields inherited from class com.ibm.commerce.beans.SmartDataBeanImpl
commandContext
 
Fields inherited from class com.ibm.commerce.beans.InputDataBeanImpl
requestProperties
 
Fields inherited from interface com.ibm.commerce.beans.SmartDataBean
COPYRIGHT
 
Fields inherited from interface com.ibm.commerce.beans.DataBean
emptyString
 
Constructor Summary
ForumMessageLightListBean()
          Constructs a ForumMessageLightListBean.
 
Method Summary
 java.lang.String getForumId()
          Gets the forumId.
 ForumMessageLightDataBean[] getForumMessageBeans()
          Gets a sorted list of ForumMessageLight objects.
 java.lang.String getMsgStatus()
          Gets the msgStatus.
 java.lang.String getParentMsgId()
          Gets the id of the parent message.
 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 targetId.
 java.lang.String getViewStatus()
          Gets the viewStatus.
 void populate()
          Creates a sorted list of beans.
 void setForumId(java.lang.String newForumId)
          Sets the forumId.
 void setForumMessageBeans(ForumMessageLightDataBean[] newForumMessageBeans)
          Sets the array of forum message beans.
 void setMsgStatus(java.lang.String newMsgStatus)
          Sets the value of field msgStatus.
 void setParentMsgId(java.lang.String newParentMsgId)
          Sets the parentMsgId.
 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 viewStatus.
 
Methods inherited from class com.ibm.commerce.negotiation.beans.NegotiationListBean
getLength, getSortAtt, setSortAtt
 
Methods inherited from class com.ibm.commerce.beans.SmartDataBeanImpl
fulfills, getCommandContext, getResources, setCommandContext
 
Methods inherited from class com.ibm.commerce.beans.InputDataBeanImpl
getRequestProperties, setRequestProperties
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.ibm.commerce.beans.InputDataBean
getRequestProperties, setRequestProperties
 

Field Detail

forumId

protected java.lang.String forumId

forumMessageBeans

protected ForumMessageLightDataBean[] forumMessageBeans

msgStatus

protected java.lang.String msgStatus

parentMsgId

protected java.lang.String parentMsgId

posterId

protected java.lang.String posterId

rootMsgId

protected java.lang.String rootMsgId

targetId

protected java.lang.String targetId

viewStatus

protected java.lang.String viewStatus
Constructor Detail

ForumMessageLightListBean

public ForumMessageLightListBean()
Constructs a ForumMessageLightListBean.
Method Detail

getForumId

public java.lang.String getForumId()
Gets the forumId.
Specified by:
getForumId in interface ForumMessageLightListSmartDataBean
Returns:
the forum id.

getForumMessageBeans

public ForumMessageLightDataBean[] getForumMessageBeans()
Gets a sorted list of ForumMessageLight objects.
Specified by:
getForumMessageBeans in interface ForumMessageLightListSmartDataBean
Returns:
an array of ForumMessageLight.

getMsgStatus

public java.lang.String getMsgStatus()
Gets the msgStatus.
Specified by:
getMsgStatus in interface ForumMessageLightListSmartDataBean
Returns:
the message status; Active or Deleted.

getParentMsgId

public java.lang.String getParentMsgId()
Gets the id of the parent message.
Specified by:
getParentMsgId in interface ForumMessageLightListSmartDataBean
Returns:
for a response message, the original message id; for an original message, the message id.

getPosterId

public java.lang.String getPosterId()
Gets the id of the user posting the message.
Specified by:
getPosterId in interface ForumMessageLightListSmartDataBean
Returns:
the id of the user posting the message.

getRootMsgId

public java.lang.String getRootMsgId()
Gets the id of the first (root) message in the current thread.
Specified by:
getRootMsgId in interface ForumMessageLightListSmartDataBean
Returns:
the id of the first (root) message of the current thread.

getTargetId

public java.lang.String getTargetId()
Gets the targetId.
Specified by:
getTargetId in interface ForumMessageLightListSmartDataBean
Returns:
the id of the relevant auction.

getViewStatus

public java.lang.String getViewStatus()
Gets the viewStatus.
Specified by:
getViewStatus in interface ForumMessageLightListSmartDataBean
Returns:
the view status; Public or PrIvate.

populate

public void populate()
              throws java.lang.Exception
Creates a sorted list of beans.
Overrides:
populate in class SmartDataBeanImpl
Throws:
java.lang.Exception - if any problems are encountered.

setForumId

public void setForumId(java.lang.String newForumId)
Sets the forumId.
Specified by:
setForumId in interface ForumMessageLightListInputDataBean
Parameters:
newForumId - the relevant forum id.

setForumMessageBeans

public void setForumMessageBeans(ForumMessageLightDataBean[] newForumMessageBeans)
Sets the array of forum message beans.
Specified by:
setForumMessageBeans in interface ForumMessageLightListInputDataBean
Parameters:
newForumMessageBeans - The array of forum message light data beans.

setMsgStatus

public void setMsgStatus(java.lang.String newMsgStatus)
Sets the value of field msgStatus.
Specified by:
setMsgStatus in interface ForumMessageLightListInputDataBean
Parameters:
newMsgStatus - the message status; Active or Deleted.

setParentMsgId

public void setParentMsgId(java.lang.String newParentMsgId)
Sets the parentMsgId.
Specified by:
setParentMsgId in interface ForumMessageLightListInputDataBean
Parameters:
newParentMsgId - for a response message, the original message id; for an original message, the message id.

setPosterId

public void setPosterId(java.lang.String newPosterId)
Sets the id of the user posting the message.
Specified by:
setPosterId in interface ForumMessageLightListInputDataBean
Parameters:
newPosterId - the id of the user posting the message.

setRootMsgId

public void setRootMsgId(java.lang.String newRootMsgId)
Sets the id of the first (root) message in the current thread.
Specified by:
setRootMsgId in interface ForumMessageLightListInputDataBean
Parameters:
newRootMsgId - the id of the first (root) message in the current thread.

setTargetId

public void setTargetId(java.lang.String newTargetId)
Sets the id of the relevant auction.
Specified by:
setTargetId in interface ForumMessageLightListInputDataBean
Parameters:
newTargetId - the id of the relevant auction.

setViewStatus

public void setViewStatus(java.lang.String newViewStatus)
Sets viewStatus.
Specified by:
setViewStatus in interface ForumMessageLightListInputDataBean
Parameters:
newViewStatus - the view status; Public or PrIvate.