com.ibm.commerce.orderitems.commands

Interface DynamicKitConfigurationAddCmd

  • All Superinterfaces:
    AccCommand, com.ibm.websphere.command.CacheableCommand, com.ibm.websphere.command.Command, com.ibm.websphere.command.CommandCaller, ControllerCommand, ECCommand, Protectable, java.io.Serializable, com.ibm.websphere.command.TargetableCommand
    All Known Implementing Classes:
    DynamicKitConfigurationAddCmdImpl


    public interface DynamicKitConfigurationAddCmd
    extends ControllerCommand
    This controller command is used by an external Product Configuration 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 definition are used, the values defined in the XML document take precedence.
    The default implementation of this command is DynamicKitConfigurationAddCmdImpl.
    • Field Detail

      • COPYRIGHT

        static final java.lang.String COPYRIGHT
        The IBM copyright notice field.
        See Also:
        Constant Field Values
      • NAME

        static final java.lang.String NAME
        The full name of this command.
        See Also:
        Constant Field Values
      • defaultCommandClassName

        static final java.lang.String defaultCommandClassName
        The default implementation of this command.
        See Also:
        Constant Field Values
    • Method Detail

      • setCatalogEntryId

        void setCatalogEntryId(java.lang.String astrCatalogEntryId)
        This method sets the Catalog Entry Id. This is the Id of the DynamicKit.
        Parameters:
        astrCatalogEntryId - A String that specifies the id of the DynamicKit.
      • setConfigurationComponents

        void setConfigurationComponents(java.lang.String[] astrarComponents)
        This method sets the list of configuration components.
        Parameters:
        astrarComponents - A String[] that represents the list of configuration components.
      • setConfigurationId

        void setConfigurationId(java.lang.String astrConfigurationId)
        This method sets the configurationId. This id is assumed to be unique for each new configuration.
        Parameters:
        astrConfigurationId - A String that specifies the configuration id.
      • setCurrency

        void setCurrency(java.lang.String astrCurrency)
        (Optional) This method sets the currency of the Prices for the configuration components.
        Parameters:
        astrCurrency - A String that indicates the currency of the price.
      • setMemberId

        void setMemberId(java.lang.String[] astrarMemberId)
        (Optional) This method sets the list of member id for each of the configuration components.
        Parameters:
        astrarMemberId - A String[] that represents the list of member id.
      • setPartNumber

        void setPartNumber(java.lang.String[] astrarPartNumber)
        (Optional) This method sets the list of part number for each of the configuration components.
        Parameters:
        astrarPartNumber - A String[] that represents the list of part number.
      • setPrices

        void setPrices(java.lang.String[] astrarPrices)
        This method sets the list of prices of the configuration components.
        Parameters:
        astrarPrices - A String[] that represents the list of the prices.
      • setQuantities

        void setQuantities(java.lang.String[] astrarQuantities)
        This method sets the list of quantities of the configuration components.
        Parameters:
        astrarQuantities - A String[] that represents the list of the quantities.
      • setXMLDefinition

        void setXMLDefinition(java.lang.String astrXMLDefinition)
        This method 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 - A String that specifies the XML definition.