com.ibm.commerce.negotiation.beans

Class MessageDataBean

    • Constructor Detail

      • MessageDataBean

        public MessageDataBean()
        Constructs a message data bean object.
      • MessageDataBean

        public MessageDataBean(MessageAccessBean anAccessBean)
        Constructs a message data bean object.
      • MessageDataBean

        public MessageDataBean(com.ibm.commerce.negotiation.objects.Message o)
        Constructs a message data bean object.
        Parameters:
        o - javax.ejb.EJBObject
    • Method Detail

      • getMessageId

        public java.lang.String getMessageId()
        Gets message ID. This is the primary key.
        Specified by:
        getMessageId in interface MessageSmartDataBean
      • getMsgDelayDate

        public java.lang.String getMsgDelayDate()
        Gets message delay date.
        Specified by:
        getMsgDelayDate in interface MessageSmartDataBean
        Returns:
        message delay date. Format yyyy-mm-dd.
      • getMsgDelayTime

        public java.lang.String getMsgDelayTime()
        Gets message delay time.
        Specified by:
        getMsgDelayTime in interface MessageSmartDataBean
        Returns:
        message delay time. Format hh:mm:ss.
      • getMsgPostDate

        public java.lang.String getMsgPostDate()
        Gets message post date. This date is when message is sent.
        Specified by:
        getMsgPostDate in interface MessageSmartDataBean
        Returns:
        message post date. Format yyyy-mm-dd.
      • getMsgPostTime

        public java.lang.String getMsgPostTime()
        Gets message post time.
        Specified by:
        getMsgPostTime in interface MessageSmartDataBean
        Returns:
        message post time. Format hh:mm:ss.
      • populate

        public void populate()
        Retrieves message information and populates MessageDataBean object.
        Specified by:
        populate in interface SmartDataBean
      • setCommandContext

        public void setCommandContext(CommandContext aCommandContext)
        Sets command context.
        Specified by:
        setCommandContext in interface SmartDataBean
        Parameters:
        aCommandContext - This is the command context.
      • setMessageId

        public void setMessageId(java.lang.String newMessageId)
        Sets message ID. This is the primary key.
        Specified by:
        setMessageId in interface MessageInputDataBean
      • setRequestProperties

        public void setRequestProperties(TypedProperty newRequestProperties)
        Copies the request properties.
        Specified by:
        setRequestProperties in interface InputDataBean
        Parameters:
        newRequestProperties - com.ibm.commerce.datatype.TypedProperty