Class IsNotDeletedPagePredicate

  • All Implemented Interfaces:
    java.util.function.Predicate<CMSItemModel>

    public class IsNotDeletedPagePredicate
    extends java.lang.Object
    implements java.util.function.Predicate<CMSItemModel>
    Predicate to test if a given cms item is a deleted page or not.

    Returns TRUE if the item is not type AbstractPageModel or the page is not deleted; FALSE otherwise.

    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean test​(CMSItemModel itemModel)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface java.util.function.Predicate

        and, negate, or
    • Constructor Detail

      • IsNotDeletedPagePredicate

        public IsNotDeletedPagePredicate()
    • Method Detail

      • test

        public boolean test​(CMSItemModel itemModel)
        Specified by:
        test in interface java.util.function.Predicate<CMSItemModel>