Class RelatedPagePrepareInterceptor

    • Constructor Detail

      • RelatedPagePrepareInterceptor

        public RelatedPagePrepareInterceptor()
    • Method Detail

      • isFromActiveCatalogVersion

        protected boolean isFromActiveCatalogVersion​(ItemModel item)
        Determines whether the given item resides in the active catalog version or not.
        Note: the active catalog is also known as the Online catalog.
        Returns:
        TRUE if the item is in the active catalog version, FALSE otherwise
      • setRelatedPageRejectionService

        public void setRelatedPageRejectionService​(RelatedPageRejectionService relatedPageRejectionService)
      • isEnabled

        protected boolean isEnabled()
      • setEnabled

        public void setEnabled​(boolean isEnabled)
      • getCmsItemTypePredicate

        protected java.util.function.Predicate<ItemModel> getCmsItemTypePredicate()
      • setCmsItemTypePredicate

        public void setCmsItemTypePredicate​(java.util.function.Predicate<ItemModel> cmsItemTypePredicate)