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.ObjectDeprecated, for removal: This API element is subject to removal in a future version.since 1905, please useCMSItemControllerinstead. 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 PageRestrictionListDatagetAllPagesRestrictions()Deprecated, for removal: This API element is subject to removal in a future version.since 1905, please useCMSItemControllerinstead.PageRestrictionListDatagetAllPagesRestrictionsByPageIds(java.util.List<java.lang.String> pageIds)Deprecated, for removal: This API element is subject to removal in a future version.since 1905, please useCMSItemControllerinstead.protected PageRestrictionListDatagetAllRestrictionsByPage(java.lang.String pageId)Deprecated, for removal: This API element is subject to removal in a future version.protected DataMappergetDataMapper()Deprecated, for removal: This API element is subject to removal in a future version.protected PageRestrictionFacadegetPageRestrictionFacade()Deprecated, for removal: This API element is subject to removal in a future version.PageRestrictionListDatagetRestrictionsByPage(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.voidsetDataMapper(DataMapper dataMapper)Deprecated, for removal: This API element is subject to removal in a future version.voidsetPageRestrictionFacade(PageRestrictionFacade pageRestrictionFacade)Deprecated, for removal: This API element is subject to removal in a future version.PageRestrictionListDataupdatePageRestrictionListData(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 useCMSItemControllerinstead.
-
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 useCMSItemControllerinstead.
-
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 CMSItemNotFoundExceptionDeprecated, 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.
-
-