|
|
|
|
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.torweg.pulse.util.search.SitemapNodeRoleFilterFactory
public class SitemapNodeRoleFilterFactory
a Filter removing SitemapNodes requiring
Roles which are not provided to the Filter.
SitemapNode| Nested Class Summary | |
|---|---|
static class |
SitemapNodeRoleFilterFactory.SitemapNodeRoleFilter
The filter checking whether the filter's roles are part of the document roles. |
| Constructor Summary | |
|---|---|
SitemapNodeRoleFilterFactory()
default constructor. |
|
| Method Summary | |
|---|---|
org.apache.lucene.search.Filter |
getFilter()
factory method to create a cacheable version of SitemapNodeUniqueContentFilter. |
org.hibernate.search.filter.FilterKey |
getKey()
returns the FilterKey. |
void |
setRoles(java.util.Set<Role> r)
injects the roles. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SitemapNodeRoleFilterFactory()
| Method Detail |
|---|
public final void setRoles(java.util.Set<Role> r)
r - the roles@Key public final org.hibernate.search.filter.FilterKey getKey()
FilterKey.
@Factory public final org.apache.lucene.search.Filter getFilter()
SitemapNodeUniqueContentFilter.
Factory
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||