java.lang.Object
de.hybris.platform.commercewebservices.core.v2.controller.BaseController
de.hybris.platform.commercewebservices.core.v2.controller.CatalogsController

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

    • CatalogsController

      public CatalogsController()
  • Method Details

    • getCatalogs

      @RequestMapping(method=GET) @ResponseBody public CatalogListWsDTO getCatalogs(@RequestParam(defaultValue="DEFAULT") String fields)
    • getCatalog

      @RequestMapping(value="/{catalogId}", method=GET) @ResponseBody public CatalogWsDTO getCatalog(@PathVariable String catalogId, @RequestParam(defaultValue="DEFAULT") String fields)
    • getCatalogVersion

      @RequestMapping(value="/{catalogId}/{catalogVersionId}", method=GET) @ResponseBody public CatalogVersionWsDTO getCatalogVersion(@PathVariable String catalogId, @PathVariable String catalogVersionId, @RequestParam(defaultValue="DEFAULT") String fields)
    • getCategories

      @RequestMapping(value="/{catalogId}/{catalogVersionId}/categories/{categoryId}", method=GET) @ResponseBody public CategoryHierarchyWsDTO getCategories(@PathVariable String catalogId, @PathVariable String catalogVersionId, @PathVariable String categoryId, @RequestParam(defaultValue="DEFAULT") String fields)
    • countRecurrecyLevel

      protected int countRecurrecyLevel(List<CatalogData> catalogDataList)
    • countRecurrencyForCatalogData

      protected int countRecurrencyForCatalogData(CatalogData catalog)
    • countRecurrencyForCatalogVersionData

      protected int countRecurrencyForCatalogVersionData(CatalogVersionData catalogVersion)
    • countRecurrencyForCategoryHierarchyData

      protected int countRecurrencyForCategoryHierarchyData(int currentValue, CategoryHierarchyData hierarchy)