com.ibm.commerce.tools.catalog.commands

Class ProductWizardCreateImpl

    • Field Detail

      • productId

        public java.lang.String productId
        The product Id of the new product once it has been created.
    • Constructor Detail

      • ProductWizardCreateImpl

        public ProductWizardCreateImpl()
    • Method Detail

      • performExecute

        public void performExecute()
                            throws ECException
        The main method for the controller command ProductWizardCreateImpl. This method retrieves the locale from the command context. The vector for the ECToolsConstants.EC_XMLOBJECT parameter is retrieved from the request properties. The first element of the vector is the hashtable representation of the XML object created by the ProductWizard.
        A sample of the hashtable (string representation) used by this command is as follows:
          
          
        {
                XML=
                {
                        storeId=10101,
                        fulfillmentCenterId=10101,
                        XMLFile=catalog.productWizardCreate,
                        details=
                        {
                                lastOrderMonth=,
                                endOfServiceDay=,
                                endDay=,
                                type=ProductBean,
                                endOfServiceMonth=,
                                lastOrderYear=,
                                lastOrderDay=,
                                discontinueYear=,
                                discontinueDay=,
                                endYear=,
                                availabilityYear=,
                                buyable=true,
                                startDay=,
                                sku=prod111_required,
                                endOfServiceYear=,
                                availabilityDay=,
                                startYear=,
                                endMonth=,
                                oldSKU=,
                                startMonth=,
                                published=true,
                                availabilityMonth=,
                                memberid=null,
                                discontinueMonth=,
                                name=prod111namerequired
                        },
                        description=
                        {
                                auxDesc2=,
                                auxDesc1=,
                                shortDesc=,
                                longDesc=
                        },
                        categoryId=58851,
                        productcategory=
                        {
                                old_categoryId=,
                                category_id=58851,
                                fullpath=10101:owner=7000000000000000101/58851:owner=7000000000000000101,
                                path=10101/58851,
                                masterCatalogId=10101,
                                category_name=cat10001namerequired
                        },
                        langId=-1
                }
        }
          
          
        Specified by:
        performExecute in interface ECCommand
        Specified by:
        performExecute in interface com.ibm.websphere.command.TargetableCommand
        Overrides:
        performExecute in class AbstractECTargetableCommand
        Throws:
        ECException