Class ComposeTopCategoriesTaskCmdImpl

  • java.lang.Object
    • Constructor Detail

      • ComposeTopCategoriesTaskCmdImpl

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

      • execute

        public void execute()
        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
      • isReadyToCallExecute

        public boolean isReadyToCallExecute()
        Specified by:
        isReadyToCallExecute in interface
        true if ready, false otherwise.
      • reset

        public void reset()
        Specified by:
        reset in interface
      • setCatalogGroupDataBean

        public void setCatalogGroupDataBean(CategoryDataBean catgrpDataBean)
        This is a setter method for setting tne category data bean for compose command.
        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
        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
        vCatalogGroups - a list of catalog group data bean.