Class SharedAbstractPageItemCollector
- java.lang.Object
-
- de.hybris.platform.cmsfacades.synchronization.itemcollector.SharedAbstractPageItemCollector
-
- All Implemented Interfaces:
ItemCollector<AbstractPageModel>
public class SharedAbstractPageItemCollector extends java.lang.Object implements ItemCollector<AbstractPageModel>
Collects the shared content slots of a givenAbstractPageModel. Returns only those content slots that are from catalog version in the active session.
-
-
Constructor Summary
Constructors Constructor Description SharedAbstractPageItemCollector()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.List<ItemModel>collect(AbstractPageModel item)Collects the items that are related to a givenItemModelprotected java.util.function.Predicate<java.lang.String>getContentSlotExistsPredicate()protected CMSAdminContentSlotServicegetContentSlotService()voidsetContentSlotExistsPredicate(java.util.function.Predicate<java.lang.String> contentSlotExistsPredicate)voidsetContentSlotService(CMSAdminContentSlotService contentSlotService)
-
-
-
Method Detail
-
collect
public java.util.List<ItemModel> collect(AbstractPageModel item)
Description copied from interface:ItemCollectorCollects the items that are related to a givenItemModel- Specified by:
collectin interfaceItemCollector<AbstractPageModel>- Parameters:
item- the itemModel that will be inspected to return the related item models.- Returns:
- a list with the related item models, never
null.
-
getContentSlotService
protected CMSAdminContentSlotService getContentSlotService()
-
setContentSlotService
public void setContentSlotService(CMSAdminContentSlotService contentSlotService)
-
getContentSlotExistsPredicate
protected java.util.function.Predicate<java.lang.String> getContentSlotExistsPredicate()
-
setContentSlotExistsPredicate
public void setContentSlotExistsPredicate(java.util.function.Predicate<java.lang.String> contentSlotExistsPredicate)
-
-