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 of
PageFilter allowing usage of TemplatePathInfo.-
Constructor Summary
ConstructorsConstructorDescriptionTemplatePageFilter(boolean includeInvalid, boolean includeHidden, @NotNull TemplatePathInfo @NotNull ... templates) TemplatePageFilter(@NotNull TemplatePathInfo @NotNull ... templates) -
Method Summary
Methods inherited from class com.day.cq.wcm.api.PageFilter
isIncludeHidden, isIncludeInvalid
-
Constructor Details
-
TemplatePageFilter
- 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
-
-
Method Details
-
includes
public boolean includes(com.day.cq.wcm.api.Page page) - Specified by:
includesin interfacecom.day.cq.commons.Filter<com.day.cq.wcm.api.Page>- Overrides:
includesin classcom.day.cq.wcm.api.PageFilter
-