public class DetermineWinnersCmdImpl extends TaskCommandImpl implements DetermineWinnersCmd, com.ibm.commerce.negotiation.util.AuctionConstants
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
COPYRIGHT
IBM copyright notice field.
|
defaultCommandClassName, NAME
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 and Description |
---|
DetermineWinnersCmdImpl()
DetermineWinnersCmdImpl default constructor.
|
Modifier and Type | Method and Description |
---|---|
java.util.Vector |
getWinners()
Gets the list of auto bids that are winning.
|
boolean |
isReadyToCallExecute()
Verifies that the this command is ready to be executed.
|
void |
performExecute()
For all active auto bids.
|
void |
reset()
Resets this command to allow for future reuse.
|
void |
setActiveBids(java.util.Vector bids)
Sets the list of active bids to be processed.
|
void |
setBidRuleId(java.lang.Long id)
Sets the auction Bid rule ID
|
void |
setErrorTaskName(java.lang.String errorTaskName)
Sets error task name that will be returned by the exceptions.
|
void |
setQuantityOnAuction(java.lang.Double quantity)
Sets the quantity available for auction.
|
void |
setWinners(java.util.Vector newWinners)
Sets the list of autobids that are currently winning.
|
static java.lang.String |
traceBid(com.ibm.commerce.negotiation.objimpl.BidDataLight bid)
Returns a string that shows the information about a bid.
|
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
executeFromCache, getCaller, getEntryInfo, getId, getSharingPolicy, postExecute, preExecute, setCaller, setObjectSize, unionDependencies, updateCache
getCommandTarget, getCommandTargetName, getTargetPolicy, hasOutputProperties, setCommandTarget, setCommandTargetName, setHasOutputProperties, setOutputProperties, setTargetPolicy
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
executeFromCache, getCaller, getEntryInfo, getId, getSharingPolicy, postExecute, preExecute, setCaller, updateCache
getCommandTarget, getCommandTargetName, hasOutputProperties, setCommandTarget, setCommandTargetName, setOutputProperties
checkIsAllowed, checkResourcePermission, createCommandExecutionEvent, getAccCheck, getCommandContext, getCommandIfName, getCommandName, getCommandStoreId, getDefaultProperties, getExceptionInvokeParameters, getPostInvokeParameters, getPreInvokeParameters, getResources, getStoreId, getUser, getUserId, setAccCheck, setCommandContext, setCommandIfName, setCommandStoreId, setDefaultProperties, validateParameters
public static final java.lang.String COPYRIGHT
public DetermineWinnersCmdImpl()
public java.util.Vector getWinners()
public boolean isReadyToCallExecute()
isReadyToCallExecute
in interface com.ibm.websphere.command.Command
isReadyToCallExecute
in class AbstractECTargetableCommand
public void performExecute() throws ECException
performExecute
in interface ECCommand
performExecute
in interface com.ibm.websphere.command.TargetableCommand
performExecute
in class AbstractECTargetableCommand
ECException
public void reset()
reset
in interface com.ibm.websphere.command.Command
reset
in class AbstractECTargetableCommand
public void setActiveBids(java.util.Vector bids)
setActiveBids
in interface DetermineWinnersCmd
bids
- Vector - Active bids listpublic void setBidRuleId(java.lang.Long id)
setBidRuleId
in interface DetermineWinnersCmd
id
- Long - Bid rule IDpublic void setErrorTaskName(java.lang.String errorTaskName)
setErrorTaskName
in interface DetermineWinnersCmd
errorTaskName
- java.lang.Stringpublic void setQuantityOnAuction(java.lang.Double quantity)
setQuantityOnAuction
in interface DetermineWinnersCmd
quantity
- Double - Quantity available for auction.public void setWinners(java.util.Vector newWinners)
setWinners
in interface DetermineWinnersCmd
newWinners
- java.util.Vectorpublic static java.lang.String traceBid(com.ibm.commerce.negotiation.objimpl.BidDataLight bid)
bid
- BidDataLight