com.ibm.commerce.negotiation.commands

Interface AuctionTaskBaseCmd

    • Field Detail

      • COPYRIGHT

        static final java.lang.String COPYRIGHT
        IBM copyright notice field.
        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
      • NAME

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

        static final java.sql.Timestamp AUCTION_BASE_TIMESTAMP
        The timestamp for the auction.
    • Method Detail

      • getAuction

        AuctionAccessBean getAuction()
        Returns the access bean representing the auction.
        Returns:
        the AuctionAccessBean
      • setBidRuleId

        void setBidRuleId(java.lang.Long br_id)
                   throws ECException
        Stores the identifier of the bid control rule used by the auction.
        Parameters:
        br_id - is the bid rule ID.
        Throws:
        throws - ECException if anything goes wrong.
        ECException
      • setCloseType

        void setCloseType(int aType)
                   throws ECException
        Stores an integer representing the auction close type.

        Auction closing rule has the following valid values:

        1. 1=auction closes at a fixed end time.
        2. 2=auction closes if a specified amount of time has elapsed since the last bid.
        3. 3=based on logical OR between 1 and 2.
        4. 4=based on logical AND between 1 and 2.
        Parameters:
        aType -
        Throws:
        ECException
      • setCurrentAskPrice

        void setCurrentAskPrice(java.math.BigDecimal aPrice)
                         throws ECException
        Stores the current asking price for the item on a Dutch auction.
        Parameters:
        aPrice -
        Throws:
        ECException
      • setDeposit

        void setDeposit(java.math.BigDecimal amount)
                 throws ECException
        Stores the value of the deposit that should accompany each bid for the auction.
        Parameters:
        amount -
        Throws:
        ECException
      • setDurationDays

        void setDurationDays(java.lang.Integer param)
        Stores the number of days between successive bids for which the auction would stay active.
        Parameters:
        param - is the number of days.
      • setDurationTime

        void setDurationTime(java.lang.Integer hours,
                             java.lang.Integer minutes)
        Hours and minute for the duration field on auction closing rule.
        Parameters:
        hours -
        minutes -
      • setDurationTimestamp

        void setDurationTimestamp(java.sql.Timestamp dur)
                           throws ECException
        Stores the duration timestamp.
        Parameters:
        dur - is the timestamp.
        Throws:
        ECException
      • setEndTime

        void setEndTime(java.sql.Timestamp end)
                 throws ECException
        Stores the end date and time for the auction.
        Parameters:
        end - is the timestamp.
        Throws:
        ECException
      • setFulfillmentCenterId

        void setFulfillmentCenterId(java.lang.Integer newFulfillmentCenterId)
                             throws ECException
        Stores the identifier for the fulfillment center.
        Parameters:
        newFulfillmentCenterId -
        Throws:
        ECException
      • setLongDescription

        void setLongDescription(java.lang.Integer langid,
                                java.lang.String ld)
                         throws ECException
        Stores the long description for the auction for the specified language.
        Parameters:
        langid - Language ID.
        ld - Long description.
        Throws:
        ECException
      • setPricingRuleType

        void setPricingRuleType(java.lang.String s)
                         throws ECException
        Stores the pricing rule for the auction.

        ND for nondiscriminative, D for discriminative.

        Parameters:
        s - is the string.
        Throws:
        ECException
      • setProductDisplayPage

        void setProductDisplayPage(java.lang.String s)
                            throws ECException
        Stores the path and name of the product display page.
        Parameters:
        s - is the page name.
        Throws:
        ECException
      • setQuantity

        void setQuantity(java.lang.Double quant)
                  throws ECException
        Stores the quantity of the item on auction.
        Parameters:
        quant - is the quantity.
        Throws:
        ECException
      • setReservationId

        void setReservationId(java.lang.Long v)
        Stores the identifier for the reservation.
        Parameters:
        v -
      • setReservePrice

        void setReservePrice(java.math.BigDecimal aPrice)
                      throws ECException
        Stores the minimum price for which the item will be sold.
        Parameters:
        aPrice. -
        Throws:
        ECException
      • setRuleDisplayPage

        void setRuleDisplayPage(java.lang.String s)
                         throws ECException
        Stores the path and name of the web page that displays the auction rules.
        Parameters:
        s - is the rule page name.
        Throws:
        ECException
      • setShortDescription

        void setShortDescription(java.lang.Integer langid,
                                 java.lang.String s)
                          throws ECException
        Stores the short description for the specified language.
        Parameters:
        langid - The language ID.
        s - The short description.
        Throws:
        ECException
      • setStartPrice

        void setStartPrice(java.math.BigDecimal s)
                    throws ECException
        Stores the starting price for the Dutch auction.
        Parameters:
        s - is the price.
        Throws:
        ECException
      • setStartTime

        void setStartTime(java.sql.Timestamp s)
                   throws ECException
        Stores the starting date and time for the auction.
        Parameters:
        s - is the time stamp.
        Throws:
        ECException