com.ibm.commerce.negotiation.beans

Class ForumMessageDataBean

    • Constructor Detail

      • ForumMessageDataBean

        public ForumMessageDataBean()
        Constructs a forum message data bean.
      • ForumMessageDataBean

        public ForumMessageDataBean(ForumMessageAccessBean anAccessBean)
        Constructs a forum message data bean.
        Parameters:
        anAccessBean - com.ibm.commerce.negotiation.objects.ForumMessageAccessBean
        Throws:
        ECException
      • ForumMessageDataBean

        public ForumMessageDataBean(com.ibm.commerce.negotiation.objects.ForumMessage o)
        Constructs a forum message data bean.
        Parameters:
        o - javax.ejb.EJBObject
        Throws:
        RemoteException
    • Method Detail

      • populate

        public void populate()
        Fetches field values from the access bean.
        Specified by:
        populate in interface SmartDataBean
        Throws:
        java.lang.Exception - On any access bean error.
      • setCommandContext

        public void setCommandContext(CommandContext newCommandContext)
        Sets the active command context.
        Specified by:
        setCommandContext in interface SmartDataBean
        Parameters:
        newCommandContext - the active command context.
      • setMsgId

        public void setMsgId(java.lang.String newMsgId)
        Sets the message Id, uses it to set key field of access bean.
        Specified by:
        setMsgId in interface ForumMessageInputDataBean
        Parameters:
        newMsgId - the ID of the next message to be manipulated.
      • setRequestProperties

        public void setRequestProperties(TypedProperty newRequestProperties)
        Copies the input command properties.
        Specified by:
        setRequestProperties in interface InputDataBean
        Parameters:
        newRequestProperties - The request properties.
      • getFormattedPostTime

        public java.lang.String getFormattedPostTime()
        Gets the formatted post time
        Returns:
        formatted post time
      • getUserInfoDataBean

        public UserInfoDataBean getUserInfoDataBean()
        Gets UserInfo databean
        Returns:
        UserInfo databean