public class SharedAbstractPageItemCollector extends java.lang.Object implements ItemCollector<AbstractPageModel>
AbstractPageModel.
Returns only those content slots that are from catalog version in the active session.| Constructor and Description |
|---|
SharedAbstractPageItemCollector() |
| Modifier and Type | Method and Description |
|---|---|
java.util.List<ItemModel> |
collect(AbstractPageModel item)
Collects the items that are related to a given
ItemModel |
protected java.util.function.Predicate<java.lang.String> |
getContentSlotExistsPredicate() |
protected CMSAdminContentSlotService |
getContentSlotService() |
void |
setContentSlotExistsPredicate(java.util.function.Predicate<java.lang.String> contentSlotExistsPredicate) |
void |
setContentSlotService(CMSAdminContentSlotService contentSlotService) |
public java.util.List<ItemModel> collect(AbstractPageModel item)
ItemCollectorItemModelcollect in interface ItemCollector<AbstractPageModel>item - the itemModel that will be inspected to return the related item models.null.protected CMSAdminContentSlotService getContentSlotService()
public void setContentSlotService(CMSAdminContentSlotService contentSlotService)
protected java.util.function.Predicate<java.lang.String> getContentSlotExistsPredicate()
public void setContentSlotExistsPredicate(java.util.function.Predicate<java.lang.String> contentSlotExistsPredicate)
Copyright © 2018 SAP SE. All Rights Reserved.