com.ibm.commerce.negotiation.beans

Class MessageCountListBean

    • Constructor Detail

      • MessageCountListBean

        public MessageCountListBean()
        Constructs a message list bean object.
    • Method Detail

      • fulfills

        public boolean fulfills(java.lang.Long member,
                                java.lang.String relationship)
                         throws java.lang.Exception
        Determines if a given member fulfills a given relationship with the resource.
        Specified by:
        fulfills in interface Protectable
        Overrides:
        fulfills in class SmartDataBeanImpl
        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
        Throws:
        java.lang.Exception
      • getMsgMultipleStatus

        public java.lang.String[] getMsgMultipleStatus()
        Gets multiple message status. The possible status is:
        1. N=New. Bidder has not opened this message
        2. O=Opened. Bidder opened this message
        3. D=Deleted. Bidder deleted this message
        Specified by:
        getMsgMultipleStatus in interface MessageCountListSmartDataBean
        Returns:
        message status array.
      • getOwner

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

        public void populate()
                      throws java.lang.Exception
        Looks-up messages and creates a sorted list.
        Specified by:
        populate in interface SmartDataBean
        Overrides:
        populate in class SmartDataBeanImpl
        Throws:
        java.lang.Exception - If any problems are encountered.
      • setMsgMultipleStatus

        public void setMsgMultipleStatus(java.lang.String[] newMsgMultipleStatus)
        Sets multiple message status. The possible status is:
        1. N=New. Bidder has not opened this message
        2. O=Opened. Bidder opened this message
        3. D=Deleted. Bidder deleted this message
        Specified by:
        setMsgMultipleStatus in interface MessageCountListInputDataBean
      • setMsgMultipleStatusStr

        public void setMsgMultipleStatusStr(java.lang.String newMsgMultipleStatusStr)
        Sets multiple message status. The possible status is:
        1. N=New. Bidder has not opened this message
        2. O=Opened. Bidder opened this message
        3. D=Deleted. Bidder deleted this message
      • getMsgsCountNum

        public java.lang.Integer getMsgsCountNum()
        Gets the number of messages.
        Returns:
        the number of messages