Package io.wcm.wcm.commons.filter
Class TemplatePageFilter
- java.lang.Object
-
- com.day.cq.wcm.api.PageFilter
-
- io.wcm.wcm.commons.filter.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 ofPageFilter
allowing usage ofTemplatePathInfo
.
-
-
Constructor Summary
Constructors Constructor Description TemplatePageFilter(boolean includeInvalid, boolean includeHidden, @NotNull TemplatePathInfo @NotNull ... templates)
TemplatePageFilter(@NotNull TemplatePathInfo @NotNull ... templates)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
includes(com.day.cq.wcm.api.Page page)
-
-
-
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
- iftrue
invalid pages are included.includeHidden
- iftrue
hidden pages are included.templates
- The templates to be included
-
-