com.ibm.commerce.negotiation.commands

Class AutoBidSubmitCmdImpl

  • All Implemented Interfaces:
    AccCommand, ControllerCommand, ECCommand, ECTargetableCommand, AutoBidSubmitCmd, BidSubmitCmd, com.ibm.commerce.negotiation.util.AuctionConstants, Protectable, com.ibm.websphere.cache.Sizeable, com.ibm.websphere.command.CacheableCommand, com.ibm.websphere.command.Command, com.ibm.websphere.command.CommandCaller, com.ibm.websphere.command.TargetableCommand, java.io.Serializable


    public class AutoBidSubmitCmdImpl
    extends BidSubmitCmdImpl
    implements AutoBidSubmitCmd
    Auto bid submit command implementation.
    • If the autobid currently does not exist: A new autobid will be created based on the input request parameter values. A new bid will be created on behalf of the autobid. If the bid value is not provided, a new bid value will be calculated.
    • If the autobid already exists: The current autobid will be updated. No bids will be created on behalf of the updated autobid.

    Redirect to URL when executed completely Otherwise to Error View AutoBidSubmitErrorView This command calls the following TaskCommands: This command uses the following AccessBeans:
    See Also:
    Serialized Form
    • Field Summary

      Fields 
      Modifier and Type Field and Description
      static java.lang.String COPYRIGHT
      IBM copyright notice field.
      static java.lang.String EC_AUTOBID_SUBMIT_ERROR_VIEW_CMD
      AutoBidSubmitCmd default Error View
      • Fields inherited from class com.ibm.websphere.command.TargetableCommandImpl

        LOCAL
      • Fields inherited from interface com.ibm.websphere.command.Command

        serialVersionUID
      • Fields inherited from interface com.ibm.commerce.negotiation.util.AuctionConstants

        AUCTION_DEPOSIT_KEY, AUCTION_DURATION_KEY, AUCTION_END_TIME_KEY, AUCTION_INV_KEY, AUCTION_ITEM_KEY, AUCTION_QUANTITY_KEY, AUCTION_REF_NUM_KEY, AUCTION_START_TIME_KEY, AUCTION_STATUS_KEY, AUCTION_TYPE_KEY, AUTOBID_ID_KEY, AUTOBID_REF_NUM_KEY, AUTOBID_STATUS_KEY, AUTOBID_UPPR_LIMIT_KEY, BEST_BID_REF_NUM_KEY, BEST_BID_VAL_KEY, BID_DATA_KEY, BID_ID_KEY, BID_PAYMENT_ACTION_TYPE_KEY, BID_QUANT_KEY, BID_REF_NUM_KEY, BID_RULE_KEY, BID_STATUS_KEY, BID_TIME_STAMP_KEY, BID_TYPE_KEY, BID_VAL_KEY, BILL_ADDR_REF_NUM_KEY, COMMAND_NAME_KEY, CRYPT_KEY_KEY, CRYPT_MODE_KEY, CRYPT_VAL_KEY, DEDUCT_AUTH_KEY, DEVICE_EXP_MON_KEY, DEVICE_EXP_YEAR_KEY, DEVICE_NUM_KEY, DEVICE_TYPE_KEY, EC_ADMIN_BID_DELETE_ACK_VIEW_CMD, EC_AUC_ACKPAGE, EC_AUC_ACTION_CREATE, EC_AUC_ACTION_DELETE, EC_AUC_ACTION_TYPE, EC_AUC_ACTION_UPDATE, EC_AUC_AUCTION_THREAD_POOL, EC_AUC_CC_ENCRYPTED, EC_AUC_CC_NOT_ENCRYPTED, EC_AUC_DATA_DECRYPTION_MODE, EC_AUC_DATA_ENCRYPTION_MODE, EC_AUC_ERROR_CODE, EC_AUC_ERRORPAGE, EC_AUC_PAYMENT_CREATE, EC_AUC_PAYMENT_TYPE_DEPOSIT, EC_AUC_PAYMENT_TYPE_ORDER, EC_AUC_PAYMENT_UPDATE, EC_AUC_PROCESS_THREAD_COUNT, EC_AUC_SUPERSEDED_STATUS, EC_AUC_THREAD_TIMEOUT, EC_AUC_VIEWTASKNAME, EC_AUCTION_ACK_VIEW_CMD, EC_AUCTION_ACTION, EC_AUCTION_BASE_TIME, EC_AUCTION_BID_RULE, EC_AUCTION_CALLER, EC_AUCTION_CLOSE_RULE_DISC, EC_AUCTION_CLOSE_RULE_NONDISC, EC_AUCTION_CURRENCY, EC_AUCTION_CURRENT_ASK_PRICE, EC_AUCTION_CURRENT_AVAILABLE_QUANTITY, EC_AUCTION_DAY_DURATION, EC_AUCTION_DEPOSIT, EC_AUCTION_DESCRIPTION, EC_AUCTION_DUTCH_TYPE, EC_AUCTION_END_DATE, EC_AUCTION_END_TIME, EC_AUCTION_ERR_VIEW_CMD, EC_AUCTION_IS_OFF, EC_AUCTION_IS_ON, EC_AUCTION_LDESCRIPTION, EC_AUCTION_LIST_VIEW_CMD, EC_AUCTION_LOCALE, EC_AUCTION_LOCALE_ID, EC_AUCTION_LOCKFLAG_LOCKED, EC_AUCTION_LOCKFLAG_UNLOCKED, EC_AUCTION_MIN_BID, EC_AUCTION_OPEN_CRY_TYPE, EC_AUCTION_OWNERID, EC_AUCTION_PRICE, EC_AUCTION_PRODUCT_PAGE, EC_AUCTION_QUANTITY, EC_AUCTION_REF_CODE, EC_AUCTION_REF_NUM, EC_AUCTION_REFERENCE_NUM, EC_AUCTION_RULE_PAGE, EC_AUCTION_RULE_TYPE, EC_AUCTION_RULES_VIEW_CMD, EC_AUCTION_SDESCRIPTION, EC_AUCTION_SEALED_BID_TYPE, EC_AUCTION_START_DATE, EC_AUCTION_START_PRICE, EC_AUCTION_START_TIME, EC_AUCTION_STATE_AVAILABLE, EC_AUCTION_STATE_BUSY, EC_AUCTION_STATUS_CLOSE_BIDDING, EC_AUCTION_STATUS_CLOSE_COMPLETE, EC_AUCTION_STATUS_FUTURE, EC_AUCTION_STATUS_PRESENT, EC_AUCTION_STATUS_RETRACTED, EC_AUCTION_STATUS_SUPERSEDED, EC_AUCTION_TIME_DURATION, EC_AUCTION_TYPE, EC_AUCTION_TYPE_HIDDEN, EC_AUCTSTYLE_END_DAY, EC_AUCTSTYLE_NAME, EC_AUCTSTYLE_START_DAY, EC_AUTOBID_ACTION, EC_AUTOBID_CREATE_FORM_VIEW_CMD, EC_AUTOBID_ID, EC_AUTOBID_MAX_BID_LIMIT, EC_AUTOBID_REF_NUM, EC_AUTOBID_STATUS_ACTIVE, EC_AUTOBID_STATUS_RETRACTED, EC_AUTOBID_TYPE, EC_AUTOBID_UPDATE_FORM_VIEW_CMD, EC_BID_ACTION, EC_BID_BILL_ADDR_REF_NUM, EC_BID_CREATE_FORM_VIEW_CMD, EC_BID_CREATE_TIME, EC_BID_DEDUCT_AUTH, EC_BID_DEDUCT_AUTH_FLAG, EC_BID_ID, EC_BID_ORDER_STATUS_COMPLETED, EC_BID_ORDER_STATUS_FAILED, EC_BID_ORDER_STATUS_PENDING, EC_BID_PARTIAL_QUANT, EC_BID_PAY_INFO_STR, EC_BID_PAY_SELECTION_INDEX, EC_BID_QUANTITY, EC_BID_QUANTITY_FLAG, EC_BID_REF_NUM, EC_BID_SHIP_ADDR_REF_NUM, EC_BID_SHIP_MODE_REF_NUM, EC_BID_STATUS_ACTIVE, EC_BID_STATUS_DELETED, EC_BID_STATUS_RETRACTED, EC_BID_STATUS_SUPERSEDED, EC_BID_STATUS_WINNING, EC_BID_TYPE, EC_BID_UPDATE_FORM_VIEW_CMD, EC_BID_VAL_WINOPT_FULL, EC_BID_VAL_WINOPT_PARTIAL, EC_BID_VALUE, EC_CONTRLRULE_CLASS_ID, EC_CONTRLRULE_FIELD1, EC_CONTRLRULE_FIELD2, EC_CONTRLRULE_FIELD3, EC_CONTRLRULE_MIN_QTY, EC_CONTRLRULE_MIN_VAL, EC_CONTRLRULE_OWNER_ID, EC_CONTRLRULE_RULE_DESC, EC_CONTRLRULE_RULE_ID, EC_CONTRLRULE_RULE_NAME, EC_CONTRLRULE_RULE_TEXT, EC_CONTRLRULE_RULE_TYPE, EC_DIALOG_NAVIGATION_VIEW_CMD, EC_EVALUATE_FULL_ACCEPT, EC_EVALUATE_PARTIAL_ACCEPT, EC_EVALUATE_TYPE, EC_FORUM_ID, EC_FORUMMSG_ACTION, EC_FORUMMSG_ACTREMARK, EC_FORUMMSG_BODY, EC_FORUMMSG_MSG_ID, EC_FORUMMSG_MSGACTION, EC_FORUMMSG_NO_ADMINACT, EC_FORUMMSG_PARENT_ID, EC_FORUMMSG_POSTER_ID, EC_FORUMMSG_POSTTIME, EC_FORUMMSG_PRIVATE_VIEW, EC_FORUMMSG_PUBLIC_ADMINACT, EC_FORUMMSG_PUBLIC_VIEW, EC_FORUMMSG_RESPOND_ADMINACT, EC_FORUMMSG_ROOT_ID, EC_FORUMMSG_STATUS, EC_FORUMMSG_STATUS_ACTIVE, EC_FORUMMSG_STATUS_DELETED, EC_FORUMMSG_SUBJECT, EC_FORUMMSG_TARGET_ID, EC_FORUMMSG_VIEW, EC_FORWARD_VIEW_CMD, EC_MEMBERAUCTION_TYPE_GALLERY, EC_MEMBERAUCTION_TYPE_VIEWRULE, EC_MESSAGE_BIDOVERRIDE_VIEW_CMD, EC_MESSAGE_BIDOVERRIDESUBJECT_VIEW_CMD, EC_MESSAGE_COMPLETEORDER_VIEW_CMD, EC_MESSAGE_COMPLETEORDERSUBJECT_VIEW_CMD, EC_MESSAGE_REF_NUM, EC_MESSAGE_STARTAUCTION_VIEW_CMD, EC_MESSAGE_STARTAUCTIONSUBJEC_VIEW_CMDT, EC_MESSAGE_STATUS, EC_MESSAGE_STATUS_DELETED, EC_MESSAGE_STATUS_NEW, EC_MESSAGE_STATUS_NOT_YET_SUBMITTED, EC_MESSAGE_STATUS_OPENED, EC_MESSAGE_STATUS_SUBMITTED, EC_MESSAGE_TYPE_AUC_LOST, EC_MESSAGE_TYPE_AUC_STARTED, EC_MESSAGE_TYPE_AUC_WON, EC_MESSAGE_TYPE_BID_OVERRIDDEN, EC_MESSAGE_TYPE_BIDOVERRIDE, EC_MESSAGE_TYPE_BIDOVERRIDE_NAME, EC_MESSAGE_TYPE_BIDOVERRIDESUBJECT, EC_MESSAGE_TYPE_BIDOVERRIDESUBJECT_NAME, EC_MESSAGE_TYPE_COMPLETEORDER, EC_MESSAGE_TYPE_COMPLETEORDER_NAME, EC_MESSAGE_TYPE_COMPLETEORDERSUBJECT, EC_MESSAGE_TYPE_COMPLETEORDERSUBJECT_NAME, EC_MESSAGE_TYPE_ORDER_COMPLETED, EC_MESSAGE_TYPE_STARTAUCTION, EC_MESSAGE_TYPE_STARTAUCTION_NAME, EC_MESSAGE_TYPE_STARTAUCTIONSUBJECT, EC_MESSAGE_TYPE_STARTAUCTIONSUBJECT_NAME, EC_MESSAGE_TYPE_WINNER, EC_MESSAGE_TYPE_WINNER_NAME, EC_MESSAGE_TYPE_WINNERSUBJECT, EC_MESSAGE_TYPE_WINNERSUBJECT_NAME, EC_MESSAGE_WINNER_VIEW_CMD, EC_MESSAGE_WINNERSUBJECT_VIEW_CMD, EC_NOTEBOOK_NAVIGATION_VIEW_CMD, EC_REDIRECT_VIEW_CMD, EC_REQUEST_PROPS, EC_SHOPPER_AUCTION_LIST_VIEW_CMD, EC_TOOL_ADMINBIDDELETE_NAV_VIEW_CMD, EC_TOOL_CLOSEBIDDING_NAV_VIEW_CMD, EC_TOOL_DELETEAUCTION_NAV_VIEW_CMD, EC_TOOL_DELETEAUCTIONSTYLE_NAV_VIEW_CMD, EC_TOOL_DELETEBIDRULE_NAV_VIEW_CMD, EC_TOOL_NOTEBOOK_NAV_VIEW_CMD, EC_TOOL_WIZARD_NAV_VIEW_CMD, EC_WIZARD_NAVIGATION_VIEW_CMD, ERROR_TASK_NAME_KEY, PROCESS_THREAD_COUNT_KEY, REDIR_URL_KEY, SHIP_ADDR_REF_NUM_KEY, SHIP_MODE_REF_NUM_KEY, THREAD_TIMEOUT_KEY, USER_NUM_KEY
    • Constructor Summary

      Constructors 
      Constructor and Description
      AutoBidSubmitCmdImpl()
      AutoBidSubmitCmdImpl default constructor.
    • Field Detail

      • COPYRIGHT

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

        public static final java.lang.String EC_AUTOBID_SUBMIT_ERROR_VIEW_CMD
        AutoBidSubmitCmd default Error View
        See Also:
        Constant Field Values
    • Constructor Detail

      • AutoBidSubmitCmdImpl

        public AutoBidSubmitCmdImpl()
        AutoBidSubmitCmdImpl default constructor.
    • Method Detail

      • isReadyToCallExecute

        public boolean isReadyToCallExecute()
        Verifies that the this command is ready to be executed.
        Specified by:
        isReadyToCallExecute in interface com.ibm.websphere.command.Command
        Overrides:
        isReadyToCallExecute in class BidSubmitCmdImpl
        Returns:
        boolean =true if command is ready, otherwise false.
      • reset

        public void reset()
        Resets the output properties to the values they had prior to calling the execute method. So that the get methods no longer work but the isReadyToCallExecute returns true. It provides a convenient and efficient way to reuse the same command instance with changes in some input properties or in the CommandTarget.
        Specified by:
        reset in interface com.ibm.websphere.command.Command
        Overrides:
        reset in class BidSubmitCmdImpl
      • validateParameters

        public void validateParameters()
                                throws ECException
        This is where parameter checking is done. This method replaces checkParameters() in 5.1. The default implementation of validateParameters() is a no op. It is the responsibility of the command writers to implements this method if they want to perform server side parameter checking.

        Specified by:
        validateParameters in interface ECCommand
        Overrides:
        validateParameters in class BidSubmitCmdImpl
        Throws:
        ECException.
        ECException