com.atlassian.confluence.search.scope
Class TypeScope

java.lang.Object
  extended by 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


Constructor Summary
TypeScope(List types)
           
 
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

TypeScope

public TypeScope(List types)
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-2013 Atlassian. All Rights Reserved.