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

Class FetchCatalogGroupByIdentifierTaskCmdImpl

  • All Implemented Interfaces:
    FetchCatalogGroupCmd, AbstractFetchNounCmd, com.ibm.websphere.command.Command, java.io.Serializable


    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:
    '/CatalogGroup[CatalogGroupIdentifier[ExternalIdentifier[GroupIdentifier=]]]'
    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.
        Returns:
        a ArrayList containing the category data bean corresponding to the identifier.
        Throws:
        CatalogApplicationException - when the activation of the category data bean fails.