public interface CMSPageSlotComponentService extends CMSComponentRenderer<AbstractCMSComponentModel>
| Modifier and Type | Method and Description |
|---|---|
java.util.List<AbstractCMSComponentModel> |
getCMSComponentsForComponent(CmsPageRequestContextData cmsPageRequestContextData,
AbstractCMSComponentModel component,
boolean evaluateRestrictions,
int limit)
Get the CMS components for a CMS component.
|
java.util.List<AbstractCMSComponentModel> |
getCMSComponentsForContentSlot(CmsPageRequestContextData cmsPageRequestContextData,
ContentSlotModel contentSlot,
boolean evaluateRestrictions,
int limit)
Get the CMS components in a Content Slot.
|
AbstractCMSComponentModel |
getComponentForId(java.lang.String id)
Lookup a Component given its ID.
|
ContentSlotModel |
getContentSlotForId(java.lang.String id)
Lookup a Content Slot given its ID.
|
ContentSlotData |
getContentSlotForPosition(CmsPageRequestContextData cmsPageRequestContextData,
java.lang.String position)
Lookup the Content Slot data on the current page in the specified position.
|
boolean |
isComponentVisible(CmsPageRequestContextData cmsPageRequestContextData,
AbstractCMSComponentModel component,
boolean evaluateRestrictions)
Test if the specified Component is visible in the context of the current page.
|
renderComponentContentSlotModel getContentSlotForId(java.lang.String id)
id - the ID of the content slotAbstractCMSComponentModel getComponentForId(java.lang.String id)
id - the ID of the componentContentSlotData getContentSlotForPosition(CmsPageRequestContextData cmsPageRequestContextData, java.lang.String position)
cmsPageRequestContextData - The CMS context data for the current requestposition - The position in the pagejava.util.List<AbstractCMSComponentModel> getCMSComponentsForContentSlot(CmsPageRequestContextData cmsPageRequestContextData, ContentSlotModel contentSlot, boolean evaluateRestrictions, int limit)
cmsPageRequestContextData - The CMS context data for the current requestcontentSlot - The Content SlotevaluateRestrictions - Flag set to true to indicate that restrictions should be evaluated on the componentslimit - A limit on the number of components to return, set to -1 for unlimitedjava.util.List<AbstractCMSComponentModel> getCMSComponentsForComponent(CmsPageRequestContextData cmsPageRequestContextData, AbstractCMSComponentModel component, boolean evaluateRestrictions, int limit)
cmsPageRequestContextData - The CMS context data for the current requestcomponent - The componentevaluateRestrictions - Flag set to true to indicate that restrictions should be evaluated on the componentslimit - A limit on the number of components to return, set to -1 for unlimitedboolean isComponentVisible(CmsPageRequestContextData cmsPageRequestContextData, AbstractCMSComponentModel component, boolean evaluateRestrictions)
cmsPageRequestContextData - The CMS context data for the current requestcomponent - The componentevaluateRestrictions - Flag set to true to indicate that restrictions should be evaluated on the componentCopyright © 2018 SAP SE. All Rights Reserved.