com.ibm.commerce.catalog.facade.server.commands

Class ChangeCatalogEntryParentCmdImpl

  • All Implemented Interfaces:
    ChangeCatalogEntryPartCmd, AbstractChangeNounPartActionCmd, AbstractSyncNounPartActionCmd, com.ibm.websphere.cache.Sizeable, com.ibm.websphere.command.CacheableCommand, com.ibm.websphere.command.Command, com.ibm.websphere.command.CommandCaller, com.ibm.websphere.command.TargetableCommand, java.io.Serializable


    public class ChangeCatalogEntryParentCmdImpl
    extends AbstractChangeCatalogEntryPartCmdImpl
    implements ChangeCatalogEntryPartCmd
      This is the task command for changing the parent category of a catentry.
  • This change command does the task of changing/adding/deleting the parent catalog group of a product.
  • The catentry id and the new parent catgroup id is passed as the xpath parameters.
  • If the part number or product or identifier of the the catalog group is passed their unique id's will be resolved.
  • This command does the necessary validations as documented in the validate() method.
  • The product and the catalog group should exist in the store for the change to happen
    • XPath(s): CatalogEntry[i]/ParentCatalogGroupIdentifier
    • Supported Actions: Add, Change, Delete
    • Catalog Context: MASTER, SALES
See Also:
Serialized Form
    • Constructor Detail

      • ChangeCatalogEntryParentCmdImpl

        public ChangeCatalogEntryParentCmdImpl()