Class FetchChildrenCatentriesOfCategoryTaskCmdImpl

  • All Implemented Interfaces:
    FetchCatalogEntryCmd, AbstractFetchNounCmd,,

    public class FetchChildrenCatentriesOfCategoryTaskCmdImpl
    extends AbstractFetchCatalogEntrySOICmdImpl
    This fetch command retrieves all the children catalog entries of a given parent catalog group and store. Parent 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 entry data. If current user is entitled, the Catalog entry data is returned otherwise an empty Show BOD is returned to the client.
    Following is the xpath expression used to invoke this command:
    UniqueID : valid parent catalog group id.
    See Also:
    Serialized Form
    • Constructor Detail

      • FetchChildrenCatentriesOfCategoryTaskCmdImpl

        public FetchChildrenCatentriesOfCategoryTaskCmdImpl()
    • Method Detail

      • fetchCatalogEntrys

        public java.util.ArrayList fetchCatalogEntrys()
                                               throws CatalogApplicationException
        This method is used to fetch the children catalog entry data beans, given the catalog group id of the parent. The catalog entry data beans will be the child catalog entries of the parent category. The catalog group id is passed as an XPath query parameter.
        a ArrayList containing the catalog entry data beans corresponding to the identifier.
        CatalogApplicationException - when the activation of the category data bean fails.
      • setShow

        public void setShow(ShowType showVerb)
        This method sets the show response to associated with the fetch operation.
        showVerb - The responding show verb.