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.
Controller that provides an API to retrieve all pages and their restrictions.
-
Constructor Summary
ConstructorsConstructorDescriptionDeprecated, for removal: This API element is subject to removal in a future version. -
Method Summary
Modifier and TypeMethodDescriptionDeprecated, for removal: This API element is subject to removal in a future version.since 1905, please useCMSItemControllerinstead.getAllPagesRestrictionsByPageIds(List<String> pageIds) Deprecated, for removal: This API element is subject to removal in a future version.since 1905, please useCMSItemControllerinstead.protected PageRestrictionListDatagetAllRestrictionsByPage(String pageId) Deprecated, for removal: This API element is subject to removal in a future version.protected DataMapperDeprecated, for removal: This API element is subject to removal in a future version.protected PageRestrictionFacadeDeprecated, for removal: This API element is subject to removal in a future version.getRestrictionsByPage(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.updatePageRestrictionListData(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.
-
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 useCMSItemControllerinstead. -
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 useCMSItemControllerinstead. -
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 useCMSItemController#getCMSItemByUUid(String)using the page UUID instead. -
getAllRestrictionsByPage
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 useCMSItemController#getCMSItemByUUid(String)using the page UUID instead.- Throws:
CMSItemNotFoundException
-
getPageRestrictionFacade
Deprecated, for removal: This API element is subject to removal in a future version. -
setPageRestrictionFacade
Deprecated, for removal: This API element is subject to removal in a future version. -
getDataMapper
Deprecated, for removal: This API element is subject to removal in a future version. -
setDataMapper
Deprecated, for removal: This API element is subject to removal in a future version.
-
CMSItemControllerinstead. When passing a page UUID, the response payload will contain the related restrictions as well.