com.ibm.commerce.negotiation.commands

Interface CalculateBestBidCmd

  • All Superinterfaces:
    com.ibm.websphere.command.CacheableCommand, com.ibm.commerce.command.CacheableECCommand, com.ibm.websphere.command.Command, com.ibm.websphere.command.CommandCaller, ECCommand, java.io.Serializable, com.ibm.websphere.command.TargetableCommand, TaskCommand
    All Known Implementing Classes:
    CalculateBestBidCmdImpl


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

      • COPYRIGHT

        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.
        Returns:
        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
        Returns:
        Long - Lowest winning bid ID.
      • setActiveBids

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

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

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

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