Class ContentPageLabelOrIdExistsPredicate

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

    public class ContentPageLabelOrIdExistsPredicate
    extends java.lang.Object
    implements java.util.function.Predicate<java.lang.String>
    Predicate to check existence of label or id for a ContentPage.

    Returns TRUE if the given label or id exists; FALSE otherwise.

    • Constructor Detail

      • ContentPageLabelOrIdExistsPredicate

        public ContentPageLabelOrIdExistsPredicate()
    • Method Detail

      • test

        public boolean test​(java.lang.String pageLabelOrId)
        Specified by:
        test in interface java.util.function.Predicate<java.lang.String>
      • setCmsContentPageService

        public void setCmsContentPageService​(CMSContentPageService cmsContentPageService)