Class PagesRestrictionsController


  • @Deprecated(since="1905",
                forRemoval=true)
    @Controller
    @RequestMapping("/v1/sites/{siteId}/catalogs/{catalogId}/versions/{versionId}/pagesrestrictions")
    public class PagesRestrictionsController
    extends java.lang.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 Detail

      • PagesRestrictionsController

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

      • 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")
                                                                        java.util.List<java.lang.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")
                                                             java.lang.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​(java.lang.String pageId)
        Deprecated, for removal: This API element is subject to removal in a future version.
      • 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.