com.ibm.commerce.negotiation.commands

Interface CheckBidControlCmd

  • 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:
    CheckBidControlCmdImpl


    public interface CheckBidControlCmd
    extends TaskCommand
    Defines the interface used by task commands that check bids for compliance with auction rules.
    • 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

      • getBidQuantity

        java.lang.String getBidQuantity()
        Gets the bid quantity.
        Returns:
        The bid quantity.
      • getBidValue

        java.lang.String getBidValue()
        Gets the bid value.
        Returns:
        The bid value.
      • getErrorTaskName

        java.lang.String getErrorTaskName()
        Gets the error task name; if null, returns the default error task name.
        Returns:
        The error task name.
      • getLowestWinningBid

        java.lang.String getLowestWinningBid()
        Gets the lowest winning bid.
        Returns:
        The lowest winning bid.
      • isBidOkay

        boolean isBidOkay()
        Returns the status of bid-control compliance test.
        Returns:
        true if the bid control compliance test is met, false otherwise.
      • setBidQuantity

        void setBidQuantity(java.lang.String newBidQuantity)
                     throws ECApplicationException
        Sets the bid quantity.
        Parameters:
        newBidQuantity - The bid quantity.
        Throws:
        ECApplicationException - if any problems are encountered.
      • setErrorTaskName

        void setErrorTaskName(java.lang.String newErrorTaskName)
        Sets the error task name.
        Parameters:
        newErrorTaskName - The error task name.
      • setLowestWinningBid

        void setLowestWinningBid(java.lang.String newLowestWinningBid)
        Sets the lowest winning bid.
        Parameters:
        newLowestWinningBid - The lowest winning bid.