|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.ibm.commerce.command.AbstractECCommand | +--com.ibm.commerce.command.TaskCommandImpl | +--com.ibm.commerce.negotiation.commands.AuctionTaskBaseCmdImpl | +--com.ibm.commerce.negotiation.commands.CreateAuctionTaskCmdImpl
Create Auction command. This command will create a new auction.
Fields inherited from class com.ibm.commerce.negotiation.commands.AuctionTaskBaseCmdImpl |
auctionAccessBean, auctionReferenceNumber, auctionType, bidRuleExist, bidRuleId, closeType, currency, currentAskPrice, currentAvailableQuantity, currentTimeStamp, deposit, durationDays, durationTimeStamp, endTime, fulfillmentCenterId, languageId, longDescriptions, ownerId, pricingRuleType, productDisplayPage, productId, quantity, reservationId, reservePrice, ruleDisplayPage, shortDescriptions, startPrice, startTime, status |
Fields inherited from class com.ibm.commerce.command.AbstractECCommand |
commandContext |
Fields inherited from interface com.ibm.commerce.negotiation.commands.CreateAuctionTaskCmd |
COPYRIGHT, defaultCommandClassName, NAME |
Fields inherited from interface com.ibm.commerce.negotiation.commands.AuctionTaskBaseCmd |
AUCTION_BASE_TIMESTAMP |
Constructor Summary | |
CreateAuctionTaskCmdImpl()
CreateAuctionCmdImpl1 constructor comment. |
Method Summary | |
protected boolean |
isCurrencyValid()
Checking the currency in store's currency list |
protected boolean |
isProductPublished()
Check given item (product) existence for the auction. |
void |
performExecute()
Perform additional datebase checks and Create auction. |
void |
setAuctionReferenceNumber(java.lang.Long newAuctionReferenceNumber)
Set Auction Reference Number. |
void |
validateParameters()
Validate auction paramters. |
Methods inherited from class com.ibm.commerce.command.AbstractECCommand |
accessControlCheck, checkIsAllowed, checkResourcePermission, execute, finalize, getAccCheck, getCommandContext, getCommandIfName, getCommandName, getDefaultProperties, getResources, getStoreId, getUser, getUserId, setAccCheck, setCommandContext, setCommandIfName, 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.negotiation.commands.CreateAuctionTaskCmd |
setAuctionType, setCurrency, setCurrentAvailableQuantity, setOwnerId, setProductId |
Methods inherited from interface com.ibm.commerce.negotiation.commands.AuctionTaskBaseCmd |
getAuction, setBidRuleId, setCloseType, setCurrentAskPrice, setDeposit, setDurationDays, setDurationTime, setDurationTimestamp, setEndTime, setFulfillmentCenterId, setLongDescription, setPricingRuleType, setProductDisplayPage, setQuantity, setReservationId, setReservePrice, setRuleDisplayPage, setShortDescription, setStartPrice, setStartTime |
Methods inherited from interface com.ibm.commerce.command.ECCommand |
checkIsAllowed, checkResourcePermission, execute, getAccCheck, getCommandContext, getCommandIfName, getCommandName, getDefaultProperties, getResources, getStoreId, getUser, getUserId, setAccCheck, setCommandContext, setCommandIfName, setDefaultProperties |
Constructor Detail |
public CreateAuctionTaskCmdImpl()
Method Detail |
protected boolean isCurrencyValid()
protected boolean isProductPublished()
public void performExecute() throws ECException
performExecute
in interface ECCommand
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 AbstractECCommand
ECException
- if any problems are encountered.
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |