com.ibm.commerce.orderitems.commands
Interface DynamicKitConfigurationAddCmd

All Superinterfaces:
AccCommand, ControllerCommand, ECCommand, Protectable
All Known Implementing Classes:
DynamicKitConfigurationAddCmdImpl

public interface DynamicKitConfigurationAddCmd
extends ControllerCommand

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.


Field Summary
static java.lang.String COPYRIGHT
          The internal copyright field.
static java.lang.String defaultCommandClassName
          The default implementation class is "com.ibm.commerce.orderitem.commands.DynamicKitConfigurationAddCmdImpl".
static java.lang.String NAME
          The name of this interface is "com.ibm.commerce.orderitem.commands.DynamicKitConfigurationAddCmd".
 
Method Summary
 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 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 setXMLDefinition(java.lang.String astrXMLDefinition)
          Sets the XML Definition of the configuration.
 
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, getResources, getStoreId, getUser, getUserId, performExecute, setCommandContext, setCommandIfName, setDefaultProperties, validateParameters
 
Methods inherited from interface com.ibm.commerce.security.Protectable
fulfills, getOwner
 

Field Detail

COPYRIGHT

public static final java.lang.String COPYRIGHT
The internal copyright field.

defaultCommandClassName

public static final java.lang.String defaultCommandClassName
The default implementation class is "com.ibm.commerce.orderitem.commands.DynamicKitConfigurationAddCmdImpl".

NAME

public static final java.lang.String NAME
The name of this interface is "com.ibm.commerce.orderitem.commands.DynamicKitConfigurationAddCmd".
Method Detail

setCatalogEntryId

public void setCatalogEntryId(java.lang.String astrCatalogEntryId)
Sets the Catalog Entry Id. This is the Id of the DynamicKit.
Parameters:
astrCatalogEntryId - java.lang.String

setConfigurationComponents

public void setConfigurationComponents(java.lang.String[] astrarComponents)
Sets the list of configuration components.
Parameters:
astrarComponents - java.lang.String[]

setConfigurationId

public void setConfigurationId(java.lang.String astrConfigurationId)
Sets the configurationId. This id is assumed to be unique for each new configuration.
Parameters:
astrConfigurationId - java.lang.String

setCurrency

public void setCurrency(java.lang.String astrCurrency)
(Optional) Sets the currency of the Prices for the configuration components.
Parameters:
astrCurrency - java.jang.String

setPrices

public void setPrices(java.lang.String[] astrarPrices)
(Optional) Sets the list of prices for each of the configuration components.
Parameters:
astrarPrices - java.lang.String[]

setQuantities

public void setQuantities(java.lang.String[] astrarQuantities)
Sets the list of quantites of the configuration components.
Parameters:
astrarQuantities - java.lang.String[]

setXMLDefinition

public void setXMLDefinition(java.lang.String astrXMLDefinition)
Sets the XML Definition of the configuration. If this parameter is set, the values in the XML definition override any other parameters that have been set and that overlap with this definition.
Parameters:
astrXMLDefinition - java.jang.String