|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
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.CreateAuctionStyleCmdImpl
Creates a new auction style.
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.CreateAuctionStyleCmd |
COPYRIGHT, defaultCommandClassName, NAME |
Fields inherited from interface com.ibm.commerce.command.ECTargetableCommand |
COPYRIGHT |
Constructor Summary | |
CreateAuctionStyleCmdImpl()
CreateAuctionStyleCmdImpl constructor. |
Method Summary | |
AccessVector |
getResources()
Gets the access vector accessed by this command. |
void |
performExecute()
Command Execution which saves the auction style. |
void |
setAuctionStyleNameUrlName(java.lang.String name,
boolean isReq)
Get auction style name from url name/value pair |
void |
validateParameters()
Validate the parameters. |
Methods inherited from class com.ibm.commerce.tools.command.ToolsControllerCommandImpl |
getViewInputProperties |
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.command.ControllerCommand |
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, setAccCheck, setForUserId, setOwner |
Methods inherited from interface com.ibm.commerce.command.ECCommand |
checkIsAllowed, checkResourcePermission, getCommandContext, getCommandIfName, getCommandName, getDefaultProperties, getStoreId, getUser, getUserId, setCommandContext, setCommandIfName, setDefaultProperties |
Methods inherited from interface com.ibm.commerce.security.Protectable |
fulfills, getOwner |
Constructor Detail |
public CreateAuctionStyleCmdImpl()
Method Detail |
public AccessVector getResources() throws ECException
getResources
in interface ECCommand
getResources
in class AbstractECTargetableCommand
ECException
- if any errors are encountered.public void performExecute() throws ECException
performExecute
in interface ECCommand
performExecute
in class AuctionBaseCmdImpl
ECException
- if any errors are encountered.public void setAuctionStyleNameUrlName(java.lang.String name, boolean isReq) throws ECApplicationException
setAuctionStyleNameUrlName
in interface CreateAuctionStyleCmd
newAuctionStyleName
- The auction style name.ECApplicationException
- if any problems are encountered.public void validateParameters() throws ECException
validateParameters
in interface ECCommand
validateParameters
in class AbstractECTargetableCommand
ECApplicationException
- if any errors are encountered.
NOTE: When throwing ECApplicationException, the erroneous parameters have been assigned to the ErrorTaskName field of the exception. Therefore, the getErrorTaskName() call in the catch block, actually returns the parameters that may be later substituted in the error message.
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |