Class PageCanOnlyHaveOnePrimaryPredicate

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

    public class PageCanOnlyHaveOnePrimaryPredicate
    extends java.lang.Object
    implements java.util.function.Predicate<AbstractPageModel>
    Predicate to test if a given page is of a type that allows having only one ACTIVE primary page of that type at a time.

    Returns TRUE if the page can only have one primary; FALSE otherwise.

    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean test​(AbstractPageModel pageModel)  
      • 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

      • PageCanOnlyHaveOnePrimaryPredicate

        public PageCanOnlyHaveOnePrimaryPredicate()