Interface RelatedItemVisitor
- All Known Implementing Classes:
ComponentRelatedItemVisitor,ContentSlotForPageRelatedItemVisitor,CxComponentRelatedItemVisitor,PageRelatedItemVisitor,RestrictionRelatedItemVisitor,SlotRelatedItemVisitor
public interface RelatedItemVisitor
Visitor interface that provides methods to retrieve hierarchically related
CMSItemModel items.-
Method Summary
Modifier and TypeMethodDescriptionConstraint that is used to find a properRelatedItemVisitorfor a particularItemModel.getRelatedItems(ItemModel itemModel) Returns a list of relatedCMSItemModelitems.getRelatedItems(ItemModel itemModel, InterceptorContext interceptorContext) Returns a list of relatedCMSItemModelitems.
-
Method Details
-
getRelatedItems
Returns a list of relatedCMSItemModelitems.- Parameters:
itemModel- theItemModelthat is used to retrieve relatedCMSItemModel.- Returns:
- the
ListofCMSItemModel.
-
getRelatedItems
Returns a list of relatedCMSItemModelitems.- Parameters:
itemModel- theItemModelthat is used to retrieve relatedCMSItemModel.interceptorContext- theInterceptorContext- Returns:
- the
ListofCMSItemModel.
-
getConstrainedBy
Constraint that is used to find a properRelatedItemVisitorfor a particularItemModel.
-