Class PagesRestrictionsController

java.lang.Object
de.hybris.platform.cmswebservices.pagesrestrictions.controller.PagesRestrictionsController

@Deprecated(since="1905", forRemoval=true) @Controller @RequestMapping("/v1/sites/{siteId}/catalogs/{catalogId}/versions/{versionId}/pagesrestrictions") public class PagesRestrictionsController extends Object
Deprecated, for removal: This API element is subject to removal in a future version.
since 1905, please use CMSItemController instead. When passing a page UUID, the response payload will contain the related restrictions as well.
Controller that provides an API to retrieve all pages and their restrictions.
  • Constructor Details

    • PagesRestrictionsController

      public PagesRestrictionsController()
      Deprecated, for removal: This API element is subject to removal in a future version.
  • Method Details

    • getAllPagesRestrictions

      @Deprecated(since="1905", forRemoval=true) @GetMapping @ResponseStatus(OK) @ResponseBody public PageRestrictionListData getAllPagesRestrictions()
      Deprecated, for removal: This API element is subject to removal in a future version.
      since 1905, please use CMSItemController instead.
    • getAllPagesRestrictionsByPageIds

      @Deprecated(since="1905", forRemoval=true) @GetMapping(params="pageIds") @ResponseStatus(OK) @ResponseBody public PageRestrictionListData getAllPagesRestrictionsByPageIds(@RequestParam("pageIds") List<String> pageIds)
      Deprecated, for removal: This API element is subject to removal in a future version.
      since 1905, please use CMSItemController instead.
    • getRestrictionsByPage

      @Deprecated(since="1905", forRemoval=true) @GetMapping(params="pageId") @ResponseStatus(OK) @ResponseBody public PageRestrictionListData getRestrictionsByPage(@RequestParam("pageId") String pageId)
      Deprecated, for removal: This API element is subject to removal in a future version.
      since 1905, please use CMSItemController#getCMSItemByUUid(String) using the page UUID instead.
    • getAllRestrictionsByPage

      protected PageRestrictionListData getAllRestrictionsByPage(String pageId)
      Deprecated, for removal: This API element is subject to removal in a future version.
    • updatePageRestrictionListData

      @Deprecated(since="1905", forRemoval=true) @PutMapping("/pages/{pageId}") @ResponseStatus(OK) @ResponseBody public PageRestrictionListData updatePageRestrictionListData(@PathVariable("pageId") String pageId, @RequestBody PageRestrictionListData pageRestrictionListData) throws CMSItemNotFoundException
      Deprecated, for removal: This API element is subject to removal in a future version.
      since 1905, please use CMSItemController#getCMSItemByUUid(String) using the page UUID instead.
      Throws:
      CMSItemNotFoundException
    • getPageRestrictionFacade

      protected PageRestrictionFacade getPageRestrictionFacade()
      Deprecated, for removal: This API element is subject to removal in a future version.
    • setPageRestrictionFacade

      public void setPageRestrictionFacade(PageRestrictionFacade pageRestrictionFacade)
      Deprecated, for removal: This API element is subject to removal in a future version.
    • getDataMapper

      protected DataMapper getDataMapper()
      Deprecated, for removal: This API element is subject to removal in a future version.
    • setDataMapper

      public void setDataMapper(DataMapper dataMapper)
      Deprecated, for removal: This API element is subject to removal in a future version.