Class TemplatePageFilter

  • All Implemented Interfaces:
    com.day.cq.commons.Filter<com.day.cq.wcm.api.Page>

    @ProviderType
    public final class TemplatePageFilter
    extends com.day.cq.wcm.api.PageFilter
    Extension of PageFilter allowing usage of TemplatePathInfo.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean includes​(com.day.cq.wcm.api.Page page)  
      • Methods inherited from class com.day.cq.wcm.api.PageFilter

        isIncludeHidden, isIncludeInvalid
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • TemplatePageFilter

        public TemplatePageFilter​(@NotNull
                                  @NotNull TemplatePathInfo @NotNull ... templates)
        Parameters:
        templates - The templates to be included
      • TemplatePageFilter

        public TemplatePageFilter​(boolean includeInvalid,
                                  boolean includeHidden,
                                  @NotNull
                                  @NotNull TemplatePathInfo @NotNull ... templates)
        Parameters:
        includeInvalid - if true invalid pages are included.
        includeHidden - if true hidden pages are included.
        templates - The templates to be included
    • Method Detail

      • includes

        public boolean includes​(com.day.cq.wcm.api.Page page)
        Specified by:
        includes in interface com.day.cq.commons.Filter<com.day.cq.wcm.api.Page>
        Overrides:
        includes in class com.day.cq.wcm.api.PageFilter