com.atlassian.confluence.search.scope
Class PermittedPagesScope

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

public class PermittedPagesScope
extends Object
implements ConfluenceSearchScope

Limits a search to only that content the user can see due to page-level permissions. This bean should not be kept in saved searches - it should be applied on top of an existing search

You shouldn't have to use this search directly - just use SecureScope

See Also:
SecureScope

Constructor Summary
PermittedPagesScope(UserAccessor userAccessor, List availableGroups)
           
 
Method Summary
 void restrictQuery(User user, BooleanQuery query)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PermittedPagesScope

public PermittedPagesScope(UserAccessor userAccessor,
                           List availableGroups)
Method Detail

restrictQuery

public void restrictQuery(User user,
                          BooleanQuery query)
Specified by:
restrictQuery in interface ConfluenceSearchScope


Confluence is developed by Atlassian.