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
-
Method Details
-
collect
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:
NullPointerException- if item isnull.
-