com.ibm.commerce.negotiation.beans

Class ForumMessageListBean

    • Constructor Detail

      • ForumMessageListBean

        public ForumMessageListBean()
        Constructs a forum message list bean.
    • Method Detail

      • getParentMsgId

        public java.lang.String getParentMsgId()
        Gets the parent message ID.
        Specified by:
        getParentMsgId in interface ForumMessageListSmartDataBean
        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 ForumMessageListSmartDataBean
        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 ForumMessageListSmartDataBean
        Returns:
        the ID of the first (root) message in the current thread.
      • getTargetId

        public java.lang.String getTargetId()
        Gets the ID of the relevant auction.
        Specified by:
        getTargetId in interface ForumMessageListSmartDataBean
        Returns:
        the ID of the relevant auction.
      • populate

        public void populate()
                      throws java.lang.Exception
        Looks up forum messages and populates an array with the result.
        Specified by:
        populate in interface SmartDataBean
        Overrides:
        populate in class SmartDataBeanImpl
        Throws:
        java.lang.Exception - if any problems are encountered.
      • setForumId

        public void setForumId(java.lang.String newForumId)
        Set forum ID(String) Sets the value of field forum ID.
        Specified by:
        setForumId in interface ForumMessageListInputDataBean
        Parameters:
        newForumId - java.lang.String
      • setMsgStatus

        public void setMsgStatus(java.lang.String newMsgStatus)
        Sets the msg status.
        Specified by:
        setMsgStatus in interface ForumMessageListInputDataBean
        Parameters:
        newMsgStatus - the message status; Active or Deleted.
      • setParentMsgId

        public void setParentMsgId(java.lang.String newParentMsgId)
        Sets the parent message ID.
        Specified by:
        setParentMsgId in interface ForumMessageListInputDataBean
        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 ForumMessageListInputDataBean
        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 ForumMessageListInputDataBean
        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 ForumMessageListInputDataBean
        Parameters:
        newTargetId - the ID of the relevant auction.
      • setViewStatus

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