Class CategoryHandler

  • All Implemented Interfaces:
    DocumentedResourceHandler, IResourceHandler

    public class CategoryHandler
    extends AbstractResourceHandler
    This class provides RESTful services to get category data for administrative purpose. It delegates to the CatalogGroup noun to perform the operations.
    • Field Detail


        public static final java.lang.String COPYRIGHT
        IBM copyright notice.
        See Also:
        Constant Field Values
    • Constructor Detail

      • CategoryHandler

        public CategoryHandler()
    • Method Detail

      • getResourceName

        public java.lang.String getResourceName()
        Description copied from interface: IResourceHandler
        This method returns the name of the resource used primarily to determine the representation of the resource. This class can be overridden to change the name of the resource and therefore the representation, while keeping all the methods in this class.
        the resource name
      • findBySearchTerm

        public findBySearchTerm(@PathParam(value="storeId")
                                                                                                                                                                                                                 java.lang.String storeId,
                                                                                                                                                                                                                 java.lang.String searchTerm)
        Finds categories under a catalog by search team. If catalogId parameter is not specified, will search under default catalog of the store.
        storeId - The store ID.
        searchTerm - The search term
        The response.