public class CreateAuctionTaskCmdImpl extends AuctionTaskBaseCmdImpl implements CreateAuctionTaskCmd
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
COPYRIGHT
IBM copyright notice field.
|
defaultCommandClassName, NAME
AUCTION_BASE_TIMESTAMP
Constructor and Description |
---|
CreateAuctionTaskCmdImpl()
CreateAuctionCmdImpl constructor comment.
|
Modifier and Type | Method and Description |
---|---|
void |
findStoreOwnerId()
Gets the owner ID from store and set as auction owner
Add for defect 61122.
|
void |
performExecute()
Performs additional database checks and creates auction.
|
void |
setAuctionReferenceNumber(java.lang.Long newAuctionReferenceNumber)
Sets auction reference number.
|
void |
validateParameters()
Validates auction parameters.
|
compareUptoMinute, getAuction, getAuctionReferenceNumber, getAuctionType, getBidRuleId, getCloseType, getCurrency, getCurrentAskPrice, getCurrentAvailableQuantity, getDeposit, getDurationDays, getEndTime, getErrorContent, getErrorFlag, getFulfillmentCenterId, getLanguageId, getLongDescription, getOwnerId, getPricingRuleType, getProductDisplayPage, getProductId, getQuantity, getReservationId, getReservePrice, getRuleDisplayPage, getShortDescription, getStartPrice, getStartTime, isErrorFlag, isReadyToCallExecute, reset, saveDescriptions, setAuctionType, setBidRuleId, setCloseType, setCurrency, setCurrentAskPrice, setCurrentAvailableQuantity, setDeposit, setDurationDays, setDurationTime, setDurationTimestamp, setEndTime, setErrorContent, setErrorFlag, setFulfillmentCenterId, setLanguageId, setLongDescription, setOwnerId, setPricingRuleType, setProductDisplayPage, setProductId, setQuantity, setReservationId, setReservePrice, setRuleDisplayPage, setShortDescription, setStartPrice, setStartTime
accessControlCheck, checkIsAllowed, checkResourcePermission, createCommandExecutionEvent, execute, getAccCheck, getCommandContext, getCommandIfName, getCommandName, getCommandStoreId, getDefaultProperties, getExceptionInvokeParameters, getObjectSize, getPostInvokeParameters, getPreInvokeParameters, getResources, getStoreId, getUser, getUserId, setAccCheck, setCommandContext, setCommandIfName, setCommandStoreId, setDefaultProperties
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
setAuctionType, setCurrency, setCurrentAvailableQuantity, setOwnerId, setProductId
getAuction, setBidRuleId, setCloseType, setCurrentAskPrice, setDeposit, setDurationDays, setDurationTime, setDurationTimestamp, setEndTime, setFulfillmentCenterId, setLongDescription, setPricingRuleType, setProductDisplayPage, setQuantity, setReservationId, setReservePrice, setRuleDisplayPage, setShortDescription, setStartPrice, setStartTime
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
public static final java.lang.String COPYRIGHT
public CreateAuctionTaskCmdImpl()
public void performExecute() throws ECException
performExecute
in interface ECCommand
performExecute
in interface com.ibm.websphere.command.TargetableCommand
performExecute
in class AuctionTaskBaseCmdImpl
ECException
- if any problems are encountered.public void setAuctionReferenceNumber(java.lang.Long newAuctionReferenceNumber)
newAuctionReferenceNumber
- The auction reference number.public void validateParameters() throws ECException
validateParameters
in interface ECCommand
validateParameters
in class AbstractECTargetableCommand
ECException
- if any problems are encountered.public void findStoreOwnerId()