com.ibm.commerce.negotiation.commands
Class CreateAuctionTaskCmdImpl
java.lang.Object
|
+--CacheableCommandImpl
|
+--com.ibm.commerce.command.AbstractECTargetableCommand
|
+--com.ibm.commerce.command.TaskCommandImpl
|
+--com.ibm.commerce.negotiation.commands.AuctionTaskBaseCmdImpl
|
+--com.ibm.commerce.negotiation.commands.CreateAuctionTaskCmdImpl
- All Implemented Interfaces:
-
AuctionTaskBaseCmd,
CreateAuctionTaskCmd,
ECCommand,
ECTargetableCommand,
TaskCommand
- public class CreateAuctionTaskCmdImpl
- extends
AuctionTaskBaseCmdImpl
- implements
CreateAuctionTaskCmd
Create Auction command. This command will create a new auction. This
command calls the following TaskCommands:
This command uses the following AccessBeans:
- See Also:
- Serialized
Form
Field Summary |
static java.lang.String |
COPYRIGHT
Copyright statement. |
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 |
Methods inherited from class
com.ibm.commerce.negotiation.commands.
AuctionTaskBaseCmdImpl |
addTimestamp,
checkBidRule,
compareUptoMinute,
dayChangeInTimestamp,
getAuction,
getAuctionReferenceNumber,
getAuctionType,
getBaseTimeStamp,
getBidRuleId,
getCloseType,
getCurrency,
getCurrentAskPrice,
getCurrentAvailableQuantity,
getCurrentTimeStamp,
getDeposit,
getDurationDays,
getDurationTimeStamp,
getEndTime,
getErrorContent,
getErrorFlag,
getFulfillmentCenterId,
getFulfillmentCenterId,
getLanguageId,
getLongDescription,
getMerchantCurrency,
getOwnerId,
getPricingRuleType,
getProductDisplayPage,
getProductId,
getQuantity,
getReservationId,
getReservePrice,
getRuleDisplayPage,
getShortDescription,
getStartPrice,
getStartTime,
getStatus,
getUpdatedEndTimestamp,
inventoryUpdate,
isErrorFlag,
isReadyToCallExecute,
reset,
saveDescriptions,
setAuctionType,
setBidRuleId,
setCloseType,
setCurrency,
setCurrentAskPrice,
setCurrentAvailableQuantity,
setDeposit,
setDurationDays,
setDurationTime,
setDurationTimestamp,
setEndTime,
setErrorContent,
setErrorFlag,
setFulfillmentCenterId,
setLanguageId,
setLongDescription,
setOwnerId,
setPricingRuleType,
setProductDisplayPage,
setProductId,
setProductOnAuction,
setQuantity,
setReservationId,
setReservePrice,
setRuleDisplayPage,
setShortDescription,
setStartPrice,
setStartTime,
setStatus |
Methods inherited from class
com.ibm.commerce.command.
AbstractECTargetableCommand |
accessControlCheck,
checkIsAllowed,
checkParameters,
checkResourcePermission,
createCommandExecutionEvent,
execute,
finalize,
getAccCheck,
getCommandContext,
getCommandIfName,
getCommandName,
getCommandStoreId,
getDefaultProperties,
getResources,
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.negotiation.commands.
AuctionTaskBaseCmd |
getAuction,
setBidRuleId,
setCloseType,
setCurrentAskPrice,
setDeposit,
setDurationDays,
setDurationTime,
setDurationTimestamp,
setEndTime,
setFulfillmentCenterId,
setLongDescription,
setPricingRuleType,
setProductDisplayPage,
setQuantity,
setReservationId,
setReservePrice,
setRuleDisplayPage,
setShortDescription,
setStartPrice,
setStartTime |
COPYRIGHT
public static final java.lang.String COPYRIGHT
- Copyright statement.
- See Also:
-
Constant Field Values
CreateAuctionTaskCmdImpl
public CreateAuctionTaskCmdImpl()
- CreateAuctionCmdImpl1 constructor comment.
isCurrencyValid
protected boolean isCurrencyValid()
- Checking the currency in store's currency list
-
- Returns:
- true if the currency is valid, false otherwise.
isProductPublished
protected boolean isProductPublished()
- Check given item (product) existence for the auction.
-
- Returns:
- true if the product exists for the auction.
public void performExecute()
throws ECException
- Perform additional datebase checks and Create auction.
-
- Specified by:
-
performExecute
in interface
ECCommand
- Overrides:
-
performExecute
in class
AuctionTaskBaseCmdImpl
-
- Throws:
-
ECException
- if any problems are encountered.
setAuctionReferenceNumber
public void setAuctionReferenceNumber(java.lang.Long newAuctionReferenceNumber)
- Set Auction Reference Number.
-
- Parameters:
newAuctionReferenceNumber
- The auction reference
number.
validateParameters
public void validateParameters()
throws ECException
- Validate auction paramters.
-
- Specified by:
-
validateParameters
in interface
ECCommand
- Overrides:
-
validateParameters
in class
AbstractECTargetableCommand
-
- Throws:
-
ECException
- if any problems are encountered.
findStoreOwnerId
public void findStoreOwnerId()
- Get the owner id from store and set as Auction owner Add for defect 61122.