com.atlassian.confluence.search.scope
Class SecureScope
java.lang.Object
com.atlassian.confluence.search.scope.SecureScope
- All Implemented Interfaces:
- ConfluenceSearchScope
public class SecureScope
- extends Object
- implements ConfluenceSearchScope
Composite search that ensures a search query conforms with Confluence permissioning
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SecureScope
public SecureScope(SpaceManager spaceManager,
UserAccessor userAccessor,
List availableGroups)
restrictQuery
public void restrictQuery(User user,
BooleanQuery query)
- Specified by:
restrictQuery in interface ConfluenceSearchScope