Package | Description |
---|---|
io.wcm.wcm.commons.filter |
Filter implementations for the WCM API.
|
io.wcm.wcm.commons.util |
Miscellaneous WCM helper classes.
|
Constructor and Description |
---|
TemplatePageFilter(boolean includeInvalid,
boolean includeHidden,
TemplatePathInfo... templates) |
TemplatePageFilter(TemplatePathInfo... templates) |
Modifier and Type | Method and Description |
---|---|
static <E extends Enum<E> & TemplatePathInfo> |
Template.forPage(@NotNull com.day.cq.wcm.api.Page page,
Class<E>... templateEnums)
Lookup template for given page.
|
static <E extends Enum<E> & TemplatePathInfo> |
Template.forTemplatePath(@NotNull String templatePath,
Class<E>... templateEnums)
Lookup a template by the given template path.
|
Modifier and Type | Method and Description |
---|---|
static <E extends Enum<E> & TemplatePathInfo> |
Template.forPage(@NotNull com.day.cq.wcm.api.Page page,
Class<E>... templateEnums)
Lookup template for given page.
|
static TemplatePathInfo |
Template.forPage(@NotNull com.day.cq.wcm.api.Page page,
TemplatePathInfo... templates)
Lookup template for given page.
|
static <E extends Enum<E> & TemplatePathInfo> |
Template.forTemplatePath(@NotNull String templatePath,
Class<E>... templateEnums)
Lookup a template by the given template path.
|
static TemplatePathInfo |
Template.forTemplatePath(@NotNull String templatePath,
TemplatePathInfo... templates)
Lookup a template by the given template path.
|
Modifier and Type | Method and Description |
---|---|
static TemplatePathInfo |
Template.forPage(@NotNull com.day.cq.wcm.api.Page page,
TemplatePathInfo... templates)
Lookup template for given page.
|
static TemplatePathInfo |
Template.forTemplatePath(@NotNull String templatePath,
TemplatePathInfo... templates)
Lookup a template by the given template path.
|
static boolean |
Template.is(@NotNull com.day.cq.wcm.api.Page page,
TemplatePathInfo... templates)
Checks if the given page uses a specific template.
|
Copyright © 2014–2018 wcm.io. All rights reserved.