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
-
-
Field Summary
-
Fields inherited from class de.hybris.platform.ycommercewebservices.v1.controller.BaseController
DEFAULT_CURRENT_PAGE, DEFAULT_PAGE_SIZE
-
-
Constructor Summary
Constructors Constructor Description CatalogsController()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CatalogDatagetCatalog(java.lang.String id, java.lang.String options)CatalogsDatagetCatalogs(java.lang.String options)CatalogVersionDatagetCatalogVersion(java.lang.String catalogId, java.lang.String catalogVersionId, java.lang.String options)CategoryHierarchyDatagetCategories(java.lang.String catalogId, java.lang.String catalogVersionId, java.lang.String category, java.lang.String options, int currentPage, int pageSize)protected java.util.Set<CatalogOption>getOptions(java.lang.String options)-
Methods inherited from class de.hybris.platform.ycommercewebservices.v1.controller.BaseController
handleErrorInternal, handleModelNotFoundException, sanitize
-
-
-
-
Method Detail
-
getCatalogs
@RequestMapping(method=GET) @ResponseBody public CatalogsData getCatalogs(@RequestParam(required=false,defaultValue="BASIC") java.lang.String options)
-
getCatalog
@RequestMapping(value="/{id}", method=GET) @ResponseBody public CatalogData getCatalog(@PathVariable java.lang.String id, @RequestParam(required=false,defaultValue="BASIC") java.lang.String options)
-
getCatalogVersion
@RequestMapping(value="/{catalogId}/{catalogVersionId}", method=GET) @ResponseBody public CatalogVersionData getCatalogVersion(@PathVariable java.lang.String catalogId, @PathVariable java.lang.String catalogVersionId, @RequestParam(required=false,defaultValue="BASIC") java.lang.String options)
-
getCategories
@RequestMapping(value="/{catalogId}/{catalogVersionId}/categories/{category}", method=GET) @ResponseBody public CategoryHierarchyData getCategories(@PathVariable java.lang.String catalogId, @PathVariable java.lang.String catalogVersionId, @PathVariable java.lang.String category, @RequestParam(required=false,defaultValue="BASIC") java.lang.String options, @RequestParam(required=false,defaultValue="0") int currentPage, @RequestParam(required=false,defaultValue="2147483647") int pageSize)
-
getOptions
protected java.util.Set<CatalogOption> getOptions(java.lang.String options)
-
-