com.ibm.commerce.negotiation.commands
Class ProcessOpenCryBidsCmdImpl
- java.lang.Object
-
- com.ibm.websphere.command.TargetableCommandImpl
-
- com.ibm.websphere.command.CacheableCommandImpl
-
- com.ibm.commerce.command.MeasuredCacheableCommandImpl
-
- com.ibm.commerce.command.AbstractECTargetableCommand
-
- com.ibm.commerce.command.ControllerCommandImpl
-
- com.ibm.commerce.negotiation.commands.ProcessControllerCmdImpl
-
- com.ibm.commerce.negotiation.commands.ProcessOpenCryBidsCmdImpl
-
- All Implemented Interfaces:
- AccCommand, ControllerCommand, ECCommand, ECTargetableCommand, ProcessControllerCmd, ProcessOpenCryBidsCmd, 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 ProcessOpenCryBidsCmdImpl extends ProcessControllerCmdImpl implements ProcessOpenCryBidsCmd
This task retrieves all of the Open Cry active (Current) auctions, and loop through the auctions to process bids submitted for each auction.- 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_PROCESS_OPEN_CRY_BIDS_ERROR_VIEW_CMD
AutoBidSubmitCmd default Error View-
Fields inherited from interface com.ibm.commerce.negotiation.commands.ProcessOpenCryBidsCmd
defaultCommandClassName, NAME
-
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 ProcessOpenCryBidsCmdImpl()
ProcessOpenCryBidsCmdImpl default constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description void
performExecute()
Retrieves all active open cry auctions sorted by earliest book-keeping time first.-
Methods inherited from class com.ibm.commerce.negotiation.commands.ProcessControllerCmdImpl
getAllExceptions, isReadyToCallExecute, reset, setErrorTaskName, setRequestProperties
-
Methods inherited from class com.ibm.commerce.command.ControllerCommandImpl
checkPermission, fulfills, getForUserId, getGeneric, getOwner, getRequestProperties, getResolvedRequestProperties, getResourceOwners, getResponseProperties, getRetriable, getViewInputProperties, isGeneric, isRetriable, mergeProperties, setForUserId, setGeneric, setOwner, setResponseProperties, setRetriable, setViewInputProperties
-
Methods inherited from class com.ibm.commerce.command.AbstractECTargetableCommand
accessControlCheck, checkIsAllowed, checkResourcePermission, createCommandExecutionEvent, execute, getAccCheck, getCommandContext, getCommandIfName, getCommandName, getCommandStoreId, getDefaultProperties, getExceptionInvokeParameters, getObjectSize, getPostInvokeParameters, getPreInvokeParameters, getResources, getStoreId, getUser, getUserId, setAccCheck, setCommandContext, setCommandIfName, setCommandStoreId, setDefaultProperties, validateParameters
-
Methods inherited from class com.ibm.websphere.command.CacheableCommandImpl
executeFromCache, getCaller, getEntryInfo, getId, getSharingPolicy, postExecute, preExecute, setCaller, setObjectSize, unionDependencies, updateCache
-
Methods inherited from class com.ibm.websphere.command.TargetableCommandImpl
getCommandTarget, getCommandTargetName, getTargetPolicy, hasOutputProperties, setCommandTarget, setCommandTargetName, setHasOutputProperties, setOutputProperties, setTargetPolicy
-
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.ibm.commerce.negotiation.commands.ProcessControllerCmd
getAllExceptions, setErrorTaskName
-
Methods inherited from interface com.ibm.commerce.command.ControllerCommand
checkPermission, execute, getGeneric, getRequestProperties, getResolvedRequestProperties, getResponseProperties, getRetriable, getViewInputProperties, isGeneric, isRetriable, mergeProperties, setGeneric, setRequestProperties, setRetriable, setViewInputProperties
-
Methods inherited from interface com.ibm.websphere.command.CacheableCommand
executeFromCache, getCaller, getEntryInfo, getId, getSharingPolicy, postExecute, preExecute, setCaller, updateCache
-
Methods inherited from interface com.ibm.websphere.command.TargetableCommand
getCommandTarget, getCommandTargetName, hasOutputProperties, setCommandTarget, setCommandTargetName, setOutputProperties
-
Methods inherited from interface com.ibm.commerce.command.AccCommand
accessControlCheck, getAccCheck, getForUserId, getResourceOwners, setAccCheck, setForUserId, setOwner
-
Methods inherited from interface com.ibm.commerce.command.ECCommand
checkIsAllowed, checkResourcePermission, createCommandExecutionEvent, getCommandContext, getCommandIfName, getCommandName, getCommandStoreId, getDefaultProperties, getExceptionInvokeParameters, getPostInvokeParameters, getPreInvokeParameters, getResources, getStoreId, getUser, getUserId, setCommandContext, setCommandIfName, setCommandStoreId, setDefaultProperties, validateParameters
-
Methods inherited from interface com.ibm.commerce.security.Protectable
fulfills, getOwner
-
-
-
-
Field Detail
-
COPYRIGHT
public static final java.lang.String COPYRIGHT
IBM copyright notice field.- See Also:
- Constant Field Values
-
EC_PROCESS_OPEN_CRY_BIDS_ERROR_VIEW_CMD
public static final java.lang.String EC_PROCESS_OPEN_CRY_BIDS_ERROR_VIEW_CMD
AutoBidSubmitCmd default Error View- See Also:
- Constant Field Values
-
-
Constructor Detail
-
ProcessOpenCryBidsCmdImpl
public ProcessOpenCryBidsCmdImpl()
ProcessOpenCryBidsCmdImpl default constructor.
-
-
Method Detail
-
performExecute
public void performExecute() throws ECException
Retrieves all active open cry auctions sorted by earliest book-keeping time first. For each auction: Create an Open Cry Bids runner, and set the auction data handle. Create and start a thread on behalf of the runner.- Specified by:
performExecute
in interfaceECCommand
- Specified by:
performExecute
in interfacecom.ibm.websphere.command.TargetableCommand
- Overrides:
performExecute
in classAbstractECTargetableCommand
- Throws:
ECException
- - Exception during processing auctions.
-
-