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

Class FetchParentCategoriesForCategoryTaskCmdImpl

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


    public class FetchParentCategoriesForCategoryTaskCmdImpl
    extends AbstractFetchCatalogGroupSOICmdImpl
    This fetch command retrieves the parent catalog groups of a given catalog group. The Catalog group id, for which Parent Catalog Groups are to be retrieved, is passed as a parameter in xpath expression. Following is the xpath expression used to invoke this command:
    '/CatalogGroup[ParentNodeIdentifier[(UniqueID=)]]'
    UniqueID: valid catalog group id.
    See Also:
    Serialized Form
    • Constructor Detail

      • FetchParentCategoriesForCategoryTaskCmdImpl

        public FetchParentCategoriesForCategoryTaskCmdImpl()
    • Method Detail

      • fetchCatalogGroups

        public java.util.ArrayList fetchCatalogGroups()
                                               throws CatalogApplicationException
        This method is used to fetch the data bean of the parent categories of a category. The category ID of the category whose parents needs to be fetched is passed as a Xpath query.
        Returns:
        an ArrayList of category data beans which are the parents of the category.
        Throws:
        CatalogApplicationException, - if the activation of the data bean fails.
        CatalogApplicationException