com.atlassian.confluence.search.lucene.filter
Class SpacePermissionsFilter

java.lang.Object
  extended by org.apache.lucene.search.Filter
      extended by com.atlassian.confluence.search.lucene.filter.SpacePermissionsFilter
All Implemented Interfaces:
java.io.Serializable

public class SpacePermissionsFilter
extends org.apache.lucene.search.Filter

Class that filters results by the spaces the current user is allowed to see. There will be a singleton instance of this class in the system which allows the possibility of caching some of the filtering being done here.

See Also:
Serialized Form

Constructor Summary
SpacePermissionsFilter(SpacePermissionsFilterDao spacePermissionsFilterDao, org.apache.lucene.search.Filter inSpaceFilter)
           
 
Method Summary
 java.util.BitSet bits(org.apache.lucene.index.IndexReader reader)
           
 
Methods inherited from class org.apache.lucene.search.Filter
getDocIdSet
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SpacePermissionsFilter

public SpacePermissionsFilter(SpacePermissionsFilterDao spacePermissionsFilterDao,
                              org.apache.lucene.search.Filter inSpaceFilter)
Method Detail

bits

public java.util.BitSet bits(org.apache.lucene.index.IndexReader reader)
                      throws java.io.IOException
Overrides:
bits in class org.apache.lucene.search.Filter
Throws:
java.io.IOException


Copyright © 2003-2011 Atlassian. All Rights Reserved.