Class CatalogsController

java.lang.Object
de.hybris.platform.ycommercewebservices.v1.controller.BaseController
de.hybris.platform.ycommercewebservices.v1.controller.CatalogsController

@Controller("catalogsControllerV1") @RequestMapping("/{baseSiteId}/catalogs") public class CatalogsController extends BaseController
  • Constructor Details

    • CatalogsController

      public CatalogsController()
  • Method Details

    • getCatalogs

      @RequestMapping(method=GET) @ResponseBody public CatalogsData getCatalogs(@RequestParam(required=false,defaultValue="BASIC") String options)
    • getCatalog

      @RequestMapping(value="/{id}", method=GET) @ResponseBody public CatalogData getCatalog(@PathVariable String id, @RequestParam(required=false,defaultValue="BASIC") String options)
    • getCatalogVersion

      @RequestMapping(value="/{catalogId}/{catalogVersionId}", method=GET) @ResponseBody public CatalogVersionData getCatalogVersion(@PathVariable String catalogId, @PathVariable String catalogVersionId, @RequestParam(required=false,defaultValue="BASIC") String options)
    • getCategories

      @RequestMapping(value="/{catalogId}/{catalogVersionId}/categories/{category}", method=GET) @ResponseBody public CategoryHierarchyData getCategories(@PathVariable String catalogId, @PathVariable String catalogVersionId, @PathVariable String category, @RequestParam(required=false,defaultValue="BASIC") String options, @RequestParam(required=false,defaultValue="0") int currentPage, @RequestParam(required=false,defaultValue="2147483647") int pageSize)
    • getOptions

      protected Set<CatalogOption> getOptions(String options)