java.lang.Object | +--CacheableCommandImpl | +--com.ibm.commerce.command.AbstractECTargetableCommand | +--com.ibm.commerce.command.ControllerCommandImpl | +--com.ibm.commerce.orderitems.commands.DynamicKitConfigurationAddCmdImpl
This command can be used by an external Product Configurator to define the components of a dynamic kit. This command assumes that each configuration of a kit has a unique configuration id. The kit definition can be passed in via the individual class set methods, or by setting the entire XML definition of the dynamic kit. If both the class setters and the XML definiton are used, the values defined in the XML document take precedence. This command calls the following TaskCommands:
This command uses the following AccessBeans:
Field Summary | |
---|---|
static java.lang.String |
COPYRIGHT The internal copyright field. |
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.orderitems.commands. DynamicKitConfigurationAddCmd |
defaultCommandClassName,
NAME |
Constructor Summary | |
---|---|
DynamicKitConfigurationAddCmdImpl() |
Method Summary | |
---|---|
void |
performExecute() The main entry point of the command. |
void |
reset() Reset the instance variables. |
void |
setCatalogEntryId(java.lang.String astrCatalogEntryId) Sets the Catalog Entry Id. |
void |
setConfigurationComponents(java.lang.String[] astrarComponents) Sets the list of configuration components. |
void |
setConfigurationId(java.lang.String astrConfigurationId) Sets the configurationId. |
void |
setCurrency(java.lang.String astrCurrency) (Optional) Sets the currency of the Prices for the configuration components. |
void |
setMemberId(java.lang.String[] astrarMemberId) (Optional) Sets the list of member id for each of the configuration components. |
void |
setPartNumber(java.lang.String[] astrarPartNumber) (Optional) Sets the list of part number for each of the configuration components. |
void |
setPrices(java.lang.String[] astrarPrices) (Optional) Sets the list of prices for each of the configuration components. |
void |
setQuantities(java.lang.String[] astrarQuantities) Sets the list of quantites of the configuration components. |
void |
setRequestProperties(
TypedProperty reqParms) Set the request properties. |
void |
setXMLDefinition(java.lang.String astrXMLDefinition) Sets the XML Definition of the configuration. |
Methods inherited from class com.ibm.commerce.command. ControllerCommandImpl |
checkPermission,
fulfills,
getForUserId,
getGeneric,
getOwner,
getRequestProperties,
getResolvedRequestProperties,
getResourceOwners,
getResponseProperties,
getRetriable,
getViewInputProperties,
isGeneric,
isRetriable,
mergeProperties,
setForUserId,
setGeneric,
setOwner,
setResponseProperties,
setRetriable,
setViewInputProperties |
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,
isReadyToCallExecute,
setAccCheck,
setCommandContext,
setCommandIfName,
setCommandStoreId,
setDefaultProperties,
validateParameters |
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,
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,
getResources,
getStoreId,
getUser,
getUserId,
setCommandContext,
setCommandIfName,
setCommandStoreId,
setDefaultProperties,
validateParameters |
Field Detail |
---|
public static final java.lang.String COPYRIGHT
Constructor Detail |
---|
public DynamicKitConfigurationAddCmdImpl()
Method Detail |
---|
public void performExecute() throws ECException
performExecute
in interface
ECCommand
performExecute
in class
AbstractECTargetableCommand
ECException.
ECException
public void reset()
reset
in class
AbstractECTargetableCommand
public void setCatalogEntryId(java.lang.String astrCatalogEntryId)
setCatalogEntryId
in interface
DynamicKitConfigurationAddCmd
astrCatalogEntryId
- java.lang.Stringpublic void setConfigurationComponents(java.lang.String[] astrarComponents)
setConfigurationComponents
in interface
DynamicKitConfigurationAddCmd
astrarComponents
- java.lang.String[]public void setConfigurationId(java.lang.String astrConfigurationId)
setConfigurationId
in interface
DynamicKitConfigurationAddCmd
astrConfigurationId
- java.lang.Stringpublic void setCurrency(java.lang.String astrCurrency)
setCurrency
in interface
DynamicKitConfigurationAddCmd
astrCurrency
- java.jang.Stringpublic void setMemberId(java.lang.String[] astrarMemberId)
setMemberId
in interface
DynamicKitConfigurationAddCmd
astrarMemberId
- java.lang.String[]public void setPartNumber(java.lang.String[] astrarPartNumber)
setPartNumber
in interface
DynamicKitConfigurationAddCmd
astrarPartNumber
- java.lang.String[]public void setPrices(java.lang.String[] astrarPrices)
setPrices
in interface
DynamicKitConfigurationAddCmd
astrarPrices
- java.lang.String[]public void setQuantities(java.lang.String[] astrarQuantities)
setQuantities
in interface
DynamicKitConfigurationAddCmd
astrarQuantities
- java.lang.String[]public void setRequestProperties(TypedProperty reqParms) throws ECException
setRequestProperties
in interface
ControllerCommand
setRequestProperties
in class
ControllerCommandImpl
reqParms
- request properties.ECException.
ECException
public void setXMLDefinition(java.lang.String astrXMLDefinition)
setXMLDefinition
in interface
DynamicKitConfigurationAddCmd
astrXMLDefinition
- java.jang.String