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.PageFilterExtension ofPageFilterallowing 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 booleanincludes(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- iftrueinvalid pages are included.includeHidden- iftruehidden pages are included.templates- The templates to be included
-
-