Interface ItemCollector<T extends ItemModel>
-
- Type Parameters:
T- the type parameter which extends theItemModeltype
- All Known Implementing Classes:
BasicAbstractPageItemCollector,BasicContentSlotItemCollector,DependentAbstractPageItemCollector,SharedAbstractPageItemCollector
public interface ItemCollector<T extends ItemModel>Interface definition for CMS Item Collectors. For generic purposes, this interface can be used to identify related items for a given item model.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.util.List<? extends ItemModel>collect(T item)Collects the items that are related to a givenItemModel
-
-
-
Method Detail
-
collect
java.util.List<? extends ItemModel> collect(T item)
Collects the items that are related to a givenItemModel- Parameters:
item- the itemModel that will be inspected to return the related item models.- Returns:
- a list with the related item models, never
null. - Throws:
java.lang.NullPointerException- if item isnull.
-
-