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

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

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

A Lucene filter that filters out all status items if the user is anonymous and there is no SpacePermission.VIEW_USER_PROFILES_PERMISSION

See Also:
Serialized Form

Constructor Summary
ViewUserProfilesPermissionsFilter(com.atlassian.user.User user, SpacePermissionManager spacePermissionManager)
           
 
Method Summary
 BitSet bits(org.apache.lucene.index.IndexReader indexReader)
           
 
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

ViewUserProfilesPermissionsFilter

public ViewUserProfilesPermissionsFilter(com.atlassian.user.User user,
                                         SpacePermissionManager spacePermissionManager)
Method Detail

bits

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


Copyright © 2003-2011 Atlassian. All Rights Reserved.