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

Class ComposeTopCategoriesTaskCmdImpl

  • java.lang.Object
    • com.ibm.commerce.catalog.facade.server.commands.ComposeTopCategoriesTaskCmdImpl
    • Constructor Detail

      • ComposeTopCategoriesTaskCmdImpl

        public ComposeTopCategoriesTaskCmdImpl()
        Default constructor for the class.
    • Method Detail

      • execute

        public void execute()
                     throws com.ibm.websphere.command.CommandException
        Composes each Top category of a catalog. This method is used to compose the details of each top category of the required catalog. The details of each top category returned by the command include, The CatalogGroup id, Catalog group identifier, owner id, display sequence and the catalog group name.
        Specified by:
        execute in interface com.ibm.websphere.command.Command
        Throws:
        com.ibm.websphere.command.CommandException
      • isReadyToCallExecute

        public boolean isReadyToCallExecute()
        Specified by:
        isReadyToCallExecute in interface com.ibm.websphere.command.Command
        Returns:
        true if ready, false otherwise.
      • reset

        public void reset()
        Specified by:
        reset in interface com.ibm.websphere.command.Command
      • setCatalogGroupDataBean

        public void setCatalogGroupDataBean(CategoryDataBean catgrpDataBean)
        This is a setter method for setting tne category data bean for compose command.
        Parameters:
        catgrpDataBean - The category data bean to be used for the compose.
      • setPagingParams

        public void setPagingParams(java.math.BigInteger begIndex,
                                    java.math.BigInteger dispNum)
        This is a helper method which sets the paging parameters.
        Specified by:
        setPagingParams in interface ComposeCatalogGroupTaskCmd
        Parameters:
        begIndex - The begining index.
        dispNum - The page size.
      • setCatalogGroups

        public void setCatalogGroups(java.util.ArrayList vCatalogGroups)
        This is a helper method which sets the catalog group data bean, passed as the first element of the containing list.
        Specified by:
        setCatalogGroups in interface ComposeCatalogGroupTaskCmd
        Parameters:
        vCatalogGroups - a list of catalog group data bean.