Class FetchCatalogGroupByIdentifierTaskCmdImpl

  • All Implemented Interfaces:
    FetchCatalogGroupCmd, AbstractFetchNounCmd,,

    public class FetchCatalogGroupByIdentifierTaskCmdImpl
    extends AbstractFetchCatalogGroupSOICmdImpl
    This fetch command retrieves the catalog group data for a given catalog group identifier and store. Catalog group identifier 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:
    GroupIdentifier: valid catalog group identifier for which data has to be retrieved.
    See Also:
    Serialized Form
    • Constructor Detail

      • FetchCatalogGroupByIdentifierTaskCmdImpl

        public FetchCatalogGroupByIdentifierTaskCmdImpl()
    • Method Detail

      • fetchCatalogGroups

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