Interface CalculateBestBidCmd

  • All Superinterfaces:,,,, ECCommand,,, TaskCommand
    All Known Implementing Classes:

    public interface CalculateBestBidCmd
    extends TaskCommand
    Calculate the highest winning bid and lowest winning bid (also known as best bid) interfaces.
    • Field Detail


        static final java.lang.String COPYRIGHT
        IBM copyright notice field.
        See Also:
        Constant Field Values
      • NAME

        static final java.lang.String NAME
        The full class name for this interface file.
        See Also:
        Constant Field Values
      • defaultCommandClassName

        static final java.lang.String defaultCommandClassName
        The default implementation class name. This is used if there is no record found in the CMDREG table.
        See Also:
        Constant Field Values
    • Method Detail

      • getHighestWinningBid

        java.lang.Long getHighestWinningBid()
        Gets the highest winning bid ID for the specified auction.
        Long - Highest winning bid ID.
      • getLowestWinningBid

        java.lang.Long getLowestWinningBid()
        Gets the lowest winning bid (also known as Best Bid) ID for the specified auction
        Long - Lowest winning bid ID.
      • setActiveBids

        void setActiveBids(java.util.Vector bids)
        Sets the list of active bids to be processed.
        bids - Vector - Active bids list
      • setAuctionId

        void setAuctionId(java.lang.Long id)
        Sets the current auction ID value,
        id - Long - Auction ID
      • setErrorTaskName

        void setErrorTaskName(java.lang.String errorTaskName)
        Sets error task name that will be returned by the exceptions.
        errorTaskName - java.lang.String
      • setQuantityOnAuction

        void setQuantityOnAuction(java.lang.Double quantity)
        Sets the quantity on auction value.
        quantity - Double - Quantity on auction.