public class PagesRestrictionsController
extends java.lang.Object
| Constructor and Description |
|---|
PagesRestrictionsController() |
| Modifier and Type | Method and Description |
|---|---|
PageRestrictionListData |
getAllPagesRestrictions()
Find restrictions for all pages.
|
PageRestrictionListData |
getAllPagesRestrictionsByPageIds(java.util.List<java.lang.String> pageIds) |
protected PageRestrictionListData |
getAllRestrictionsByPage(java.lang.String pageId) |
protected DataMapper |
getDataMapper() |
protected PageRestrictionFacade |
getPageRestrictionFacade() |
PageRestrictionListData |
getRestrictionsByPage(java.lang.String pageId)
Retrieve all restrictions that belong to the page for the given page id.
|
void |
setDataMapper(DataMapper dataMapper) |
void |
setPageRestrictionFacade(PageRestrictionFacade pageRestrictionFacade) |
PageRestrictionListData |
updatePageRestrictionListData(java.lang.String pageId,
PageRestrictionListData pageRestrictionListData)
Updates the list of page-restriction relations for the given page id.
|
public PageRestrictionListData getAllPagesRestrictions()
PageRestrictionListData; never
nullpublic PageRestrictionListData getAllPagesRestrictionsByPageIds(java.util.List<java.lang.String> pageIds)
public PageRestrictionListData getRestrictionsByPage(java.lang.String pageId)
pageId - Identifier of the pagePageRestrictionListData; never
nullprotected PageRestrictionListData getAllRestrictionsByPage(java.lang.String pageId)
public PageRestrictionListData updatePageRestrictionListData(java.lang.String pageId, PageRestrictionListData pageRestrictionListData) throws CMSItemNotFoundException, WebserviceValidationException
pageId - page identifierpageRestrictionListData - list of PageRestrictionDataPageRestrictionListData;
never nullCMSItemNotFoundException - if it cannot find the componentWebserviceValidationException - if there is any validation errorprotected PageRestrictionFacade getPageRestrictionFacade()
public void setPageRestrictionFacade(PageRestrictionFacade pageRestrictionFacade)
protected DataMapper getDataMapper()
public void setDataMapper(DataMapper dataMapper)
Copyright © 2017 SAP SE. All Rights Reserved.