com.atlassian.confluence.search.scope
Class PermittedSpacesScope

java.lang.Object
  extended by com.atlassian.confluence.search.scope.PermittedSpacesScope
All Implemented Interfaces:
ConfluenceSearchScope

public class PermittedSpacesScope
extends java.lang.Object
implements ConfluenceSearchScope

Limit a search so that it conforms with page level permissions.


Constructor Summary
PermittedSpacesScope(SpaceManager spaceManager, UserAccessor userAccessor)
           
 
Method Summary
 void restrictQuery(com.atlassian.user.User user, org.apache.lucene.search.BooleanQuery query)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PermittedSpacesScope

public PermittedSpacesScope(SpaceManager spaceManager,
                            UserAccessor userAccessor)
Method Detail

restrictQuery

public void restrictQuery(com.atlassian.user.User user,
                          org.apache.lucene.search.BooleanQuery query)
Specified by:
restrictQuery in interface ConfluenceSearchScope


Copyright © 2003-2014 Atlassian. All Rights Reserved.