com.atlassian.confluence.search.scope
Class PermittedSpacesScope
java.lang.Object
com.atlassian.confluence.search.scope.PermittedSpacesScope
- All Implemented Interfaces:
- ConfluenceSearchScope
- public class PermittedSpacesScope
- extends Object
- implements ConfluenceSearchScope
Limit a search so that it conforms with page level permissions.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PermittedSpacesScope
public PermittedSpacesScope(SpaceManager spaceManager)
restrictQuery
public void restrictQuery(User user,
BooleanQuery query)
- Specified by:
restrictQuery
in interface ConfluenceSearchScope