|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.day.cq.wcm.api.PageFilter
public class PageFilter
Implements a simple page filter that checks for invalid
and hidden pages.
| Constructor Summary | |
|---|---|
PageFilter()
creates a default filter that excludes invalid and hidden pages. |
|
PageFilter(boolean includeInvalid,
boolean includeHidden)
creates a filter. |
|
PageFilter(javax.servlet.ServletRequest req)
creates a default filter that excludes hidden pages. |
|
PageFilter(WCMMode mode)
creates a default filter that excludes hidden pages. |
|
| Method Summary | |
|---|---|
boolean |
includes(Page page)
Checks if the given element is included in this filter. |
boolean |
isIncludeHidden()
Checks if hidden pages are included |
boolean |
isIncludeInvalid()
Checks if invalid pages are included. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public PageFilter()
public PageFilter(WCMMode mode)
WCMMode.DISABLED.
mode - the WCM modepublic PageFilter(javax.servlet.ServletRequest req)
WCMMode.DISABLED.
req - request to read the WCM mode from
public PageFilter(boolean includeInvalid,
boolean includeHidden)
includeInvalid - if true invalid pages are included.includeHidden - if true hidden pages are included.| Method Detail |
|---|
public boolean includes(Page page)
includes in interface Filter<Page>page - the element to check
true if the element is included;
false otherwise.public boolean isIncludeInvalid()
true if invalid pages are included.public boolean isIncludeHidden()
true if hidden pages are included.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||