Interface RelatedItemVisitor
-
- All Known Implementing Classes:
ComponentRelatedItemVisitor,ContentSlotForPageRelatedItemVisitor,CxComponentRelatedItemVisitor,PageRelatedItemVisitor,RestrictionRelatedItemVisitor,SlotRelatedItemVisitor
public interface RelatedItemVisitorVisitor interface that provides methods to retrieve hierarchically relatedCMSItemModelitems.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.util.function.Predicate<ItemModel>getConstrainedBy()Constraint that is used to find a properRelatedItemVisitorfor a particularItemModel.java.util.List<CMSItemModel>getRelatedItems(ItemModel itemModel)Returns a list of relatedCMSItemModelitems.
-
-
-
Method Detail
-
getRelatedItems
java.util.List<CMSItemModel> getRelatedItems(ItemModel itemModel)
Returns a list of relatedCMSItemModelitems.- Parameters:
itemModel- theItemModelthat is used to retrieve relatedCMSItemModel.- Returns:
- the
ListofCMSItemModel.
-
getConstrainedBy
java.util.function.Predicate<ItemModel> getConstrainedBy()
Constraint that is used to find a properRelatedItemVisitorfor a particularItemModel.- Returns:
- the
PredicateofItemModel
-
-