com.ibm.commerce.negotiation.beans

Class MessageInfoDataBean

    • Constructor Detail

      • MessageInfoDataBean

        public MessageInfoDataBean()
        Constructs a message info data bean object.
      • MessageInfoDataBean

        public MessageInfoDataBean(MessageInfoAccessBean anAccess)
        Constructs a message info data bean object.
      • MessageInfoDataBean

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

      • fulfills

        public boolean fulfills(java.lang.Long member,
                                java.lang.String relationship)
        Determines if a given member fulfills a given relationship with the resource.
        Specified by:
        fulfills in interface Protectable
        Parameters:
        member - Member ID of the member
        relationship - The relationship the member has with respect to the resource
        Returns:
        true if the member fulfills the relationship with the resource
      • getMsgDelayDate

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

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

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

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

        public java.lang.Long getOwner()
        Returns the member reference number of the owner.
        Specified by:
        getOwner in interface Protectable
        Returns:
        long
      • populate

        public void populate()
        Retrieves message information and populates MessageInfoDataBean 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.
      • setRequestProperties

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

        public java.lang.String getFormattedPostTime()
        Get formatted message post time
        Returns:
        formatted message post time
      • getAuctionId

        public java.lang.String getAuctionId()
        Get auction ID
        Returns:
        auction ID
      • getAuctStatus

        public java.lang.String getAuctStatus()
        Get auction status
        Returns:
        auction status
      • getCatDesc

        public java.lang.String getCatDesc()
        get the Description of the auction item
        Returns:
        the Description of the auction item
      • getCatEntryId

        public java.lang.String getCatEntryId()
        get the catentry ID of the auction item
        Returns:
        the catentry ID of the auction item
      • getBidReferenceCode

        public java.lang.String getBidReferenceCode()
        get the bid reference code
        Returns:
        the bid reference code