public class PagesRestrictionsController extends Object
| Constructor and Description |
|---|
PagesRestrictionsController() |
| Modifier and Type | Method and Description |
|---|---|
PageRestrictionListData |
getAllPagesRestrictions()
Find restrictions for all pages.
|
PageRestrictionListData |
getAllPagesRestrictionsByPageIds(List<String> pageIds)
Retrieve all restrictions that belong to the page for the given page ids.
|
protected PageRestrictionListData |
getAllRestrictionsByPage(String pageId) |
protected PageRestrictionFacade |
getPageRestrictionFacade() |
PageRestrictionListData |
getRestrictionsByPage(String pageId)
Retrieve all restrictions that belong to the page for the given page id.
|
void |
setPageRestrictionFacade(PageRestrictionFacade pageRestrictionFacade) |
PageRestrictionListData |
updatePageRestrictionListData(String pageId,
PageRestrictionListData pageRestrictionListData)
Updates the list of page-restriction relations for the given page id.
|
public PageRestrictionListData getAllPagesRestrictions()
PageRestrictionListData; never
nullpublic PageRestrictionListData getAllPagesRestrictionsByPageIds(List<String> pageIds)
PageRestrictionListData; never
nullpublic PageRestrictionListData getRestrictionsByPage(String pageId)
pageId - Identifier of the pagePageRestrictionListData; never
nullprotected PageRestrictionListData getAllRestrictionsByPage(String pageId)
public PageRestrictionListData updatePageRestrictionListData(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)
Copyright © 2000-2016 SAP SE. All Rights Reserved.