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 java.lang.Object
Deprecated, for removal: This API element is subject to removal in a future version.since 1905, please useCMSItemController
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 Summary
Constructors Constructor Description PagesRestrictionsController()
Deprecated, for removal: This API element is subject to removal in a future version.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description PageRestrictionListData
getAllPagesRestrictions()
Deprecated, for removal: This API element is subject to removal in a future version.since 1905, please useCMSItemController
instead.PageRestrictionListData
getAllPagesRestrictionsByPageIds(java.util.List<java.lang.String> pageIds)
Deprecated, for removal: This API element is subject to removal in a future version.since 1905, please useCMSItemController
instead.protected PageRestrictionListData
getAllRestrictionsByPage(java.lang.String pageId)
Deprecated, for removal: This API element is subject to removal in a future version.protected DataMapper
getDataMapper()
Deprecated, for removal: This API element is subject to removal in a future version.protected PageRestrictionFacade
getPageRestrictionFacade()
Deprecated, for removal: This API element is subject to removal in a future version.PageRestrictionListData
getRestrictionsByPage(java.lang.String pageId)
Deprecated, for removal: This API element is subject to removal in a future version.since 1905, please useCMSItemController.getCMSItemByUUid(String)
using the page UUID instead.void
setDataMapper(DataMapper dataMapper)
Deprecated, for removal: This API element is subject to removal in a future version.void
setPageRestrictionFacade(PageRestrictionFacade pageRestrictionFacade)
Deprecated, for removal: This API element is subject to removal in a future version.PageRestrictionListData
updatePageRestrictionListData(java.lang.String pageId, PageRestrictionListData pageRestrictionListData)
Deprecated, for removal: This API element is subject to removal in a future version.since 1905, please useCMSItemController.getCMSItemByUUid(String)
using the page UUID instead.
-
-
-
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 useCMSItemController
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 useCMSItemController
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 useCMSItemController.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.
-
updatePageRestrictionListData
@Deprecated(since="1905", forRemoval=true) @PutMapping("/pages/{pageId}") @ResponseStatus(OK) @ResponseBody public PageRestrictionListData updatePageRestrictionListData(@PathVariable("pageId") java.lang.String pageId, @RequestBody PageRestrictionListData pageRestrictionListData) throws CMSItemNotFoundException
Deprecated, for removal: This API element is subject to removal in a future version.since 1905, please useCMSItemController.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.
-
-