com.ibm.commerce.negotiation.beans

Class AuctionInfoListBean

    • Constructor Detail

      • AuctionInfoListBean

        public AuctionInfoListBean()
        Constructs an auction list bean object.
    • Method Detail

      • getAuction

        public AuctionInfoDataBean getAuction(int index)
        Returns a specific auction from an auction list.
        Specified by:
        getAuction in interface AuctionInfoListSmartDataBean
        Parameters:
        index - The index in the list of the auction to be returned.
        Returns:
        The auction specified by the index.
      • getAuctItem

        public java.lang.String getAuctItem()
        Gets auction catalog entry ID. Catalog entry ID is also referred to as the item ID.
        Specified by:
        getAuctItem in interface AuctionInfoListSmartDataBean
        Returns:
        The auction catalog entry ID.
      • getAuctMultipleStatus

        public java.lang.String[] getAuctMultipleStatus()
        Gets multiple auction status. The possible auction status is:
        • F=Future
        • C=Current
        • R=Retracted(deleted)
        • SC=Settlement Closed
        • BC=Bidding Closed.
        Specified by:
        getAuctMultipleStatus in interface AuctionInfoListSmartDataBean
        Returns:
        The auction status array.
      • getAuctShopperId

        public java.lang.String getAuctShopperId()
        Gets shopper ID. This ID is used to find all auctions in a shopper's gallery.
        Specified by:
        getAuctShopperId in interface AuctionInfoListSmartDataBean
        Returns:
        The auction shopper ID.
      • getAuctStatus

        public java.lang.String getAuctStatus()
        Gets auction status. The possible status is:
        • F=Future
        • C=Current
        • R=Retracted(deleted)
        • SC=Settlement Closed
        • BC=Bidding Closed.
        Specified by:
        getAuctStatus in interface AuctionInfoListSmartDataBean
        Returns:
        The auction status.
      • getAuctChannelStoreId

        public java.lang.String getAuctChannelStoreId()
        Gets channel store ID.
        Returns:
        The channel store ID.
      • populate

        public void populate()
                      throws java.lang.Exception
        Populates a sorted list of auctions. The list selection criteria are established by assigning non-null selector values using the setter methods:
        • setAuctItem()
        • setAuctStoreId()
        • setAuctShopperId()
        • setAuctId()
        • setAuctMultipleStatus()
        • setAuctOwnerId()
        • setAuctStatus()
        • setAuctType()
        Specified by:
        populate in interface SmartDataBean
        Overrides:
        populate in class SmartDataBeanImpl
        Throws:
        java.lang.Exception - if an AuctionInfoAccessBean could not be instantiated.
      • setAuctId

        public void setAuctId(java.lang.String newAuctId)
        Sets auction ID.
        Specified by:
        setAuctId in interface AuctionInfoListInputDataBean
        Parameters:
        newAuctId - The auction ID.
      • setAuctItem

        public void setAuctItem(java.lang.String newAuctItem)
        Sets auction item ID. Item ID is also catalog entry ID.
        Specified by:
        setAuctItem in interface AuctionInfoListInputDataBean
        Parameters:
        The - auction item ID.
      • setAuctMultipleStatus

        public void setAuctMultipleStatus(java.lang.String[] newAuctMultipleStatus)
        Sets multiple auction status. The possible status is:
        • F=Future
        • C=Current
        • R=Retracted(deleted)
        • SC=Settlement Closed
        • BC=Bidding Closed.
        Specified by:
        setAuctMultipleStatus in interface AuctionInfoListInputDataBean
        Parameters:
        newAuctMultipleStatus - The auction status array.
      • setAuctMultipleStatusWithString

        public void setAuctMultipleStatusWithString(java.lang.String newAuctMultipleStatus)
        Sets multiple auction status. The possible status is:
        • F=Future
        • C=Current
        • R=Retracted(deleted)
        • SC=Settlement Closed
        • BC=Bidding Closed.
        Parameters:
        newAuctMultipleStatus - The auction status list.
      • setAuctOwnerId

        public void setAuctOwnerId(java.lang.String newAuctOwnerId)
        Sets owner ID.
        Specified by:
        setAuctOwnerId in interface AuctionInfoListInputDataBean
        Parameters:
        newAuctOwnerId - The auction owner ID.
      • setAuctShopperId

        public void setAuctShopperId(java.lang.String newAuctShopperId)
        Sets shopper ID.
        Specified by:
        setAuctShopperId in interface AuctionInfoListInputDataBean
        Parameters:
        newAuctShopperId - The shopper ID.
      • setAuctStatus

        public void setAuctStatus(java.lang.String newAuctStatus)
        Sets auction status. The possible status is:
        • F=Future
        • C=Current
        • R=Retracted(deleted)
        • SC=Settlement Closed
        • BC=Bidding Closed.
        Specified by:
        setAuctStatus in interface AuctionInfoListInputDataBean
        Parameters:
        newAuctStatus - The auction status.
      • setAuctStoreId

        public void setAuctStoreId(java.lang.String newAuctStoreId)
        Sets store ID.
        Specified by:
        setAuctStoreId in interface AuctionInfoListInputDataBean
        Parameters:
        newAuctStoreId - The store ID.
      • setAuctType

        public void setAuctType(java.lang.String newAuctType)
        Sets auction type. The possible types are:
        • O=Open Cry
        • S=Sealed Bid
        • D=Dutch
        Specified by:
        setAuctType in interface AuctionInfoListInputDataBean
        Parameters:
        newAuctType - The auction type.
      • setAuctChannelStoreId

        public void setAuctChannelStoreId(java.lang.String newAuctChannelStoreId)
        Sets channel store ID.
        Parameters:
        newAuctChannelStoreId - The channel store ID.
      • getAuctionsNum

        public java.lang.Integer getAuctionsNum()
        Get number of auctions
        Returns:
        number of auctions
      • getFormattedCurrentTime

        public java.lang.String getFormattedCurrentTime()
        Get formatted current time
        Returns:
        formatted current time