com.ibm.commerce.rest.catalog.handler

Class CatalogHandler

  • All Implemented Interfaces:
    DocumentedResourceHandler, IResourceHandler


    @Path(value="store/{storeId}/catalog")
    public class CatalogHandler
    extends AbstractResourceHandler
    This REST handler converts RESTful administrative catalog requests into WebSphere Commerce Catalog requests to retrieve all catalogs for the store and returns data in specified format.
    • Field Detail

      • COPYRIGHT

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

      • CatalogHandler

        public CatalogHandler()
    • 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.
        Returns:
        the resource name
      • findByStoreId

        @GET
         @Produces(value={"application/json","application/xml","application/xhtml+xml","application/atom+xml"})
        public javax.ws.rs.core.Response findByStoreId(@PathParam(value="storeId")
                                                                                                                                                                    java.lang.String storeId)
        Finds all catalogs for a store.
        Parameters:
        storeId - The store ID.
        Returns:
        The response.