com.ibm.commerce.negotiation.commands
Class ModifyAuctionCmdImpl
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.ModifyAuctionCmdImpl
- All Implemented Interfaces:
- AccCommand, AuctionBaseCmd, ControllerCommand, ECCommand, ECTargetableCommand, ModifyAuctionCmd, Protectable, ToolsControllerCommand
- public class ModifyAuctionCmdImpl
- extends AuctionBaseCmdImpl
- implements ModifyAuctionCmd
Modify Auction command. This command will update an existing auction.
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 |
Methods inherited from class com.ibm.commerce.negotiation.commands.AuctionBaseCmdImpl |
addTimestamp, checkBidRule, compareTimestamp, dayChangeInTimestamp, getAuctionReferenceNumber, getBaseTimeStamp, getBidRule, getCurrency, getCurrentAskPrice, getCurrentAvailableQuantity, getCurrentTimeStamp, getDayDuration, getDeposit, getDurationTimeStamp, getEndDate, getEndTime, getEndTimeStamp, getErrorContent, getErrorFlag, getFulfillmentCenterId, getFulfillmentCenterId, getLanguageId, getLongDescription, getMerchantCurrency, getMinBid, getOwnerId, getPrice, getProductMacro, getProductNumber, getQuantity, getReservationId, getResponseProperties, getRuleMacro, getRuleType, getShortDescription, getStartDate, getStartPrice, getStartTime, getStartTimeStamp, getStatus, getTimeDuration, getToolXMLObject, getType, getUpdatedEndTimestamp, getViewTaskName, getWizardNavagationFile, isBidRuleExist, isErrorFlag, isPageExist, isValidCurrencyValueForAuction, reset, setAuctionReferenceNumber, setAuctionReferenceNumberUrlName, setBidRuleUrlName, setCurrency, setCurrencyUrlName, setCurrentAskPriceUrlName, setCurrentAvailableQuantity, setCurrentAvailableQuantityUrlName, setDayDurationUrlName, setDepositUrlName, setDurationTimeStamp, setEndDateUrlName, setEndTimeStamp, setEndTimeUrlName, setErrorContent, setErrorFlag, setFulfillmentCenterIdUrlName, setLanguageIdUrlName, setLongDescriptionUrlName, setMinBidUrlName, setOwnerId, setOwnerIdUrlName, setPriceUrlName, setProductMacroUrlName, setProductNumberUrlName, setQuantity, setQuantityUrlName, setRequestProperties, setReservationId, setResponseProperties, setRuleMacroUrlName, setRuleTypeUrlName, setShortDescriptionUrlName, setStartDateUrlName, setStartPrice, setStartPriceUrlName, setStartTimeStamp, setStartTimeUrlName, setStatus, setTimeDurationUrlName, setToolXMLObject, setTypeUrlName, setViewTaskName |
Methods inherited from class com.ibm.commerce.command.ControllerCommandImpl |
fulfills, getForUserId, getGeneric, getOwner, getRequestProperties, getResolvedRequestProperties, getRetriable, isGeneric, isRetriable, mergeProperties, setForUserId, setGeneric, setOwner, setRetriable, setViewInputProperties |
Methods inherited from class com.ibm.commerce.command.AbstractECTargetableCommand |
accessControlCheck, checkIsAllowed, checkResourcePermission, execute, finalize, getAccCheck, getCommandContext, getCommandIfName, getCommandName, getDefaultProperties, getStoreId, getUser, getUserId, setAccCheck, setCommandContext, setCommandIfName, setDefaultProperties |
Methods inherited from interface com.ibm.commerce.negotiation.commands.AuctionBaseCmd |
setBidRuleUrlName, setCurrencyUrlName, setCurrentAskPriceUrlName, setCurrentAvailableQuantityUrlName, setDayDurationUrlName, setDepositUrlName, setEndDateUrlName, setEndTimeUrlName, setFulfillmentCenterIdUrlName, setLanguageIdUrlName, setLongDescriptionUrlName, setMinBidUrlName, setOwnerIdUrlName, setPriceUrlName, setProductMacroUrlName, setProductNumberUrlName, setQuantityUrlName, setRuleMacroUrlName, setRuleTypeUrlName, setShortDescriptionUrlName, setStartDateUrlName, setStartPriceUrlName, setStartTimeUrlName, setTimeDurationUrlName, setTypeUrlName |
Methods inherited from interface com.ibm.commerce.command.ControllerCommand |
execute, getGeneric, getRequestProperties, getResolvedRequestProperties, getResponseProperties, getRetriable, getViewInputProperties, isGeneric, isRetriable, mergeProperties, setGeneric, setRequestProperties, setRetriable, setViewInputProperties |
Methods inherited from interface com.ibm.commerce.command.ECCommand |
checkIsAllowed, checkResourcePermission, getCommandContext, getCommandIfName, getCommandName, getDefaultProperties, getStoreId, getUser, getUserId, setCommandContext, setCommandIfName, setDefaultProperties |
ModifyAuctionCmdImpl
public ModifyAuctionCmdImpl()
- CreateAuctionCmdImpl1 constructor comment.
getResources
public AccessVector getResources()
throws ECException
- Gets the access vector accessed by this command.
The default implementation returns null indicating that no protectable resource is
accessed by this command. It is the responsibilities of the command writer to
return the protectable primary resource(s) and the corresponding actions accessed
by this command.
- Specified by:
getResources
in interface ECCommand
- Overrides:
getResources
in class AbstractECTargetableCommand
- Returns:
- AccessVector - a vector of resource action pairs
getThisAuction
public AuctionAccessBean getThisAuction()
- Returns an auction access bean.
isReadyToCallExecute
public boolean isReadyToCallExecute()
- overwrite-able method.
- Overrides:
isReadyToCallExecute
in class AuctionBaseCmdImpl
- Following copied from class:
com.ibm.commerce.negotiation.commands.AuctionBaseCmdImpl
- Returns:
- true if it is ready, false otherwise.
performExecute
public void performExecute()
throws ECException
- Update auction.
Get the input parameters from XMLObject,
Create ModifyAuctionTaskCmd and set up all the parameters, call excute().
- Specified by:
performExecute
in interface ECCommand
- Overrides:
performExecute
in class AuctionBaseCmdImpl
- Following copied from interface:
com.ibm.commerce.command.ECCommand
- Throws:
com.ibm.commerce.command.CommandException
- The superclass for all ECExceptions.
setThisAuction
public void setThisAuction(AuctionAccessBean newThisAuction)
- Stores the incoming auction access bean in a member variable.
- Parameters:
newThisAuction
- com.ibm.commerce.negotiation.objects.AuctionAccessBean
validateParameters
public void validateParameters()
throws ECException
- Validate auction paramters.
- Specified by:
validateParameters
in interface ECCommand
- Overrides:
validateParameters
in class AbstractECTargetableCommand
- Following copied from interface:
com.ibm.commerce.command.ECCommand
- Throws:
ECException.
-