Class FetchCatalogGroupByIdTaskCmdImpl

  • All Implemented Interfaces:
    FetchCatalogGroupCmd, AbstractFetchNounCmd,,

    public class FetchCatalogGroupByIdTaskCmdImpl
    extends AbstractFetchCatalogGroupSOICmdImpl
    This fetch command retrieves the catalog group data for a given catalog group and store. Catalog group id is passed as a parameter in xpath expression and the store id is retrieved from the BaseContext using ,getStoreId() method in the CatalogComponentHelper helper classs. This command also checks if the current user is entitled to see retrieved catalog group data. If current user is entitled, the Catalog Group data is returned otherwise an empty Show BOD is returned to the client.
    Following is the xpath expression used to invoke this command:
    Unique ID: valid catalog group id for which data has to be retrieved.
    See Also:
    Serialized Form
    • Constructor Detail

      • FetchCatalogGroupByIdTaskCmdImpl

        public FetchCatalogGroupByIdTaskCmdImpl()
    • Method Detail

      • fetchCatalogGroups

        public java.util.ArrayList fetchCatalogGroups()
                                               throws CatalogApplicationException
        This method is used to fetch the category data bean, given the category id. The category id is passed as an XPath query parameter.
        a ArrayList containing the category data bean corresponding to the category ID.
        CatalogApplicationException - when the activation of the category data bean fails.