public interface CMSAdminTypeRestrictionsService
| Modifier and Type | Method and Description |
|---|---|
Set<CMSComponentTypeModel> |
getTypeRestrictionsContentSlotForPage(AbstractPageModel page,
ContentSlotModel contentSlot)
Get all component type restrictions for a given page and content slot.
|
Set<CMSComponentTypeModel> |
getTypeRestrictionsContentSlotForTemplate(PageTemplateModel pageTemplate,
ContentSlotModel contentSlot)
Get all component type restrictions for a given template and content slot.
|
Set<CMSComponentTypeModel> |
getTypeRestrictionsForContentSlot(AbstractPageModel page,
ContentSlotModel contentSlot)
Get all component type restrictions for a given content slot from two sources of the given page and its master
template.
|
Set<CMSComponentTypeModel> getTypeRestrictionsContentSlotForPage(AbstractPageModel page, ContentSlotModel contentSlot) throws CMSItemNotFoundException
page - - the page that contains the content slot for which we want the type restrictionscontentSlot - - the content slot for which we want the type restrictionsCMSItemNotFoundException - when a required CMS item could not be foundSet<CMSComponentTypeModel> getTypeRestrictionsContentSlotForTemplate(PageTemplateModel pageTemplate, ContentSlotModel contentSlot) throws CMSItemNotFoundException
pageTemplate - - the template that contains the content slot for which we want the type restrictionscontentSlot - - the content slot for which we want the type restrictionsCMSItemNotFoundException - when a required CMS item could not be foundSet<CMSComponentTypeModel> getTypeRestrictionsForContentSlot(AbstractPageModel page, ContentSlotModel contentSlot) throws CMSItemNotFoundException
page - - the page that contains the content slot for which we want the type restrictionscontentSlot - - the content slot for which we want the type restrictionsCMSItemNotFoundException - when a required CMS item could not be foundCopyright © 2017 SAP SE. All Rights Reserved.