com.atlassian.jira.sharing.index
Class DefaultQueryFactory
java.lang.Object
com.atlassian.jira.sharing.index.DefaultQueryFactory
- All Implemented Interfaces:
- QueryFactory
public class DefaultQueryFactory
- extends Object
- implements QueryFactory
- Since:
- v3.13
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DefaultQueryFactory
public DefaultQueryFactory(ShareTypeFactory shareTypeFactory,
SharedEntitySearchContextToQueryFactoryMap searchContextToQueryFactoryMap)
create
public org.apache.lucene.search.Query create(SharedEntitySearchParameters params,
com.atlassian.crowd.embedded.api.User user)
- Description copied from interface:
QueryFactory
- Get a query with permission checks for the specified user.
- Specified by:
create
in interface QueryFactory
- Parameters:
params
- to search foruser
- the user to limit the results for, null is anonymous
- Returns:
- the query to search a lucene index
create
public org.apache.lucene.search.Query create(SharedEntitySearchParameters searchParameters,
User user)
- Description copied from interface:
QueryFactory
- Get a query with permission checks for the specified user.
- Specified by:
create
in interface QueryFactory
- Parameters:
searchParameters
- to search foruser
- the user to limit the results for, null is anonymous
- Returns:
- the query to search a lucene index
create
public org.apache.lucene.search.Query create(SharedEntitySearchParameters params)
- Description copied from interface:
QueryFactory
- Get a query without any permission checks.
- Specified by:
create
in interface QueryFactory
- Parameters:
params
- to search for
- Returns:
- the query to search a lucene index
Copyright © 2002-2011 Atlassian. All Rights Reserved.