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

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

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

A Lucene filter used to apply all the relevant permissioning necessary when using the content name search (QuickNav) in Confluence. For instance the admin user has no space permission filter, etc.

See Also:
Serialized Form

Constructor Summary
ContentNameSearchPermissionsFilter(UserAccessor userAccessor, SpacePermissionsFilter spacePermissionsFilter)
           
 
Method Summary
 org.apache.lucene.search.DocIdSet getDocIdSet(org.apache.lucene.index.IndexReader reader)
           
 
Methods inherited from class org.apache.lucene.search.Filter
bits
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ContentNameSearchPermissionsFilter

public ContentNameSearchPermissionsFilter(UserAccessor userAccessor,
                                          SpacePermissionsFilter spacePermissionsFilter)
Method Detail

getDocIdSet

public org.apache.lucene.search.DocIdSet getDocIdSet(org.apache.lucene.index.IndexReader reader)
                                              throws IOException
Overrides:
getDocIdSet in class org.apache.lucene.search.Filter
Throws:
IOException


Copyright © 2003-2013 Atlassian. All Rights Reserved.