public class IsSharedQueryFactory extends Object implements QueryFactory
Does not retrieve entities that are private.
| Constructor and Description |
|---|
IsSharedQueryFactory(ComponentLocator componentLocator) |
| Modifier and Type | Method and Description |
|---|---|
org.apache.lucene.search.Query |
create(SharedEntitySearchParameters searchParameters)
Get a query without any permission checks.
|
org.apache.lucene.search.Query |
create(SharedEntitySearchParameters searchParameters,
ApplicationUser user)
Get a query with permission checks for the specified user.
|
public IsSharedQueryFactory(ComponentLocator componentLocator)
public org.apache.lucene.search.Query create(SharedEntitySearchParameters searchParameters, ApplicationUser user)
QueryFactorycreate in interface QueryFactorysearchParameters - to search foruser - the user to limit the results for, null is anonymouspublic org.apache.lucene.search.Query create(SharedEntitySearchParameters searchParameters)
QueryFactorycreate in interface QueryFactorysearchParameters - to search forCopyright © 2002-2020 Atlassian. All Rights Reserved.