Interface RenderingVisibilityRule<T extends ItemModel>

Type Parameters:
T - the object that extends ItemModel
All Known Implementing Classes:
CMSComponentRenderingVisibilityRule, CMSNavigationNodeRenderingVisibilityRule

public interface RenderingVisibilityRule<T extends ItemModel>
Interface responsible for verification of an item visibility.
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    isVisible(T itemModel)
    Verifies the visibility of itemModel
    The predicate to verify that the provided itemModel is the one for which the visibility is being verified.
  • Method Details

    • restrictedBy

      Predicate<ItemModel> restrictedBy()
      The predicate to verify that the provided itemModel is the one for which the visibility is being verified.
      Returns:
      the Predicate
    • isVisible

      boolean isVisible(T itemModel)
      Verifies the visibility of itemModel
      Parameters:
      itemModel -
      Returns: