pulse - the web application framework Get pulse at SourceForge.net. Fast, secure and Free Open Source software downloads Ohloh project report for pulse-java

org.torweg.pulse.util.search
Class SitemapNodeSectionTagFilterFactory

java.lang.Object
  extended by org.torweg.pulse.util.search.SitemapNodeSectionTagFilterFactory

public class SitemapNodeSectionTagFilterFactory
extends java.lang.Object

a Filter restricting the search to the given sections.

Version:
$Revision: 1415 $
Author:
unknown, Thomas Weber
See Also:
SitemapNode, SitemapSectionTag

Nested Class Summary
static class SitemapNodeSectionTagFilterFactory.SitemapNodeSectionTagFilter
          The filter checking whether the the documents are part of the given sections.
 
Constructor Summary
SitemapNodeSectionTagFilterFactory()
          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 setSections(java.util.Collection<java.lang.String> r)
          injects the section ids as strings.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SitemapNodeSectionTagFilterFactory

public SitemapNodeSectionTagFilterFactory()
default constructor.

Method Detail

setSections

public final void setSections(java.util.Collection<java.lang.String> r)
injects the section ids as strings.

Parameters:
r - the section ids

getKey

@Key
public final org.hibernate.search.filter.FilterKey getKey()
returns the FilterKey.

Returns:
the filter key

getFilter

@Factory
public final org.apache.lucene.search.Filter getFilter()
factory method to create a cacheable version of SitemapNodeUniqueContentFilter.

Returns:
the cachable filter
See Also:
Factory