java.lang.Object | +--CacheableCommandImpl | +--com.ibm.commerce.command.AbstractECTargetableCommand | +--com.ibm.commerce.command.ControllerCommandImpl | +--com.ibm.commerce.tools.command.ToolsControllerCommandImpl | +--com.ibm.commerce.negotiation.commands.AuctionBaseCmdImpl | +--com.ibm.commerce.negotiation.commands.CreateAuctionCmdImpl
Create Auction command. This command will create a new auction. This command calls the following TaskCommands:
Field Summary | |
---|---|
static java.lang.String |
COPYRIGHT Copyright statement. |
Fields inherited from class com.ibm.commerce.negotiation.commands. AuctionBaseCmdImpl |
bidRule,
currency,
currentAskPrice,
currentAvailableQuantity,
dayDuration,
deposit,
description,
durationTimeStamp,
endDate,
endTime,
endTimeStamp,
languageId,
longDescription,
minBid,
ownerid,
pricerule,
productMacro,
productNumber,
quantity,
ruleMacro,
ruleType,
startDate,
startPrice,
startTime,
startTimeStamp,
status,
timeDuration,
type |
Fields inherited from class com.ibm.commerce.command. ControllerCommandImpl |
requestProperties,
responseProperties,
retriable,
viewReqProperties |
Fields inherited from class com.ibm.commerce.command. AbstractECTargetableCommand |
commandContext |
Fields inherited from interface com.ibm.commerce.negotiation.commands. CreateAuctionCmd |
defaultCommandClassName,
NAME |
Constructor Summary | |
---|---|
CreateAuctionCmdImpl() CreateAuctionCmdImpl1 constructor comment. |
Method Summary | |
---|---|
AccessVector |
getResources() Gets the access vector accessed by this command. |
void |
performExecute() Perform additional datebase checks and Create auction. |
void |
validateParameters() Validate auction paramters. |
Methods inherited from class com.ibm.commerce.tools.command. ToolsControllerCommandImpl |
getViewInputProperties |
Methods inherited from class com.ibm.commerce.command. ControllerCommandImpl |
checkPermission,
fulfills,
getForUserId,
getGeneric,
getOwner,
getRequestProperties,
getResolvedRequestProperties,
getResourceOwners,
getRetriable,
isGeneric,
isRetriable,
mergeProperties,
setForUserId,
setGeneric,
setOwner,
setRetriable,
setViewInputProperties |
Methods inherited from class com.ibm.commerce.command. AbstractECTargetableCommand |
accessControlCheck,
checkIsAllowed,
checkParameters,
checkResourcePermission,
createCommandExecutionEvent,
execute,
finalize,
getAccCheck,
getCommandContext,
getCommandIfName,
getCommandName,
getCommandStoreId,
getDefaultProperties,
getStoreId,
getUser,
getUserId,
setAccCheck,
setCommandContext,
setCommandIfName,
setCommandStoreId,
setDefaultProperties |
Methods inherited from class java.lang.Object |
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait,
wait, wait |
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.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,
getStoreId,
getUser,
getUserId,
setCommandContext,
setCommandIfName,
setCommandStoreId,
setDefaultProperties |
Field Detail |
---|
public static final java.lang.String COPYRIGHT
Constructor Detail |
---|
public CreateAuctionCmdImpl()
Method Detail |
---|
public AccessVector getResources() throws ECException
getResources
in interface
ECCommand
getResources
in class
AbstractECTargetableCommand
ECApplicationException
- is thrown with message ERR_BAD_PARMS.ECException
public void performExecute() throws ECException
performExecute
in interface
ECCommand
performExecute
in class
AuctionBaseCmdImpl
ECApplicationException
ECException
public void validateParameters() throws ECException
validateParameters
in interface
ECCommand
validateParameters
in class
AbstractECTargetableCommand
ECApplicationException
ECException