com.ibm.commerce.negotiation.beans

Class MessageInfoListBean

    • Constructor Detail

      • MessageInfoListBean

        public MessageInfoListBean()
        Constructs a message info 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
      • 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
        Creates a sorted list of message info beans.
        Specified by:
        populate in interface SmartDataBean
        Overrides:
        populate in class SmartDataBeanImpl
        Throws:
        java.lang.Exception - This method should never be thrown because there is no data retrieved to populate the data bean.
      • setMsgMultipleStatus

        public void setMsgMultipleStatus(java.lang.String[] newMsgMultipleStatus)
        Sets multiple message status.
        Specified by:
        setMsgMultipleStatus in interface MessageInfoListInputDataBean
        Parameters:
        newMsgMultipleStatus -
      • setMsgMultipleStatusStr

        public void setMsgMultipleStatusStr(java.lang.String newMsgMultipleStatusStr)
        Sets multiple message status.
        Parameters:
        newMsgMultipleStatus -
      • getMsgsNum

        public java.lang.Integer getMsgsNum()
        Gets number of messages.