com.atlassian.confluence.search.scope
Class TypeScope
java.lang.Object
com.atlassian.confluence.search.scope.TypeScope
- All Implemented Interfaces:
- ConfluenceSearchScope
public class TypeScope
- extends Object
- implements ConfluenceSearchScope
Limit a search query by a set of content/data types. If you provide an empty list of types, all types are
searched
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 |
TypeScope
public TypeScope(List types)
restrictQuery
public void restrictQuery(com.atlassian.user.User user,
org.apache.lucene.search.BooleanQuery query)
- Specified by:
restrictQuery
in interface ConfluenceSearchScope
Copyright © 2003-2013 Atlassian. All Rights Reserved.