public class PermissionQueryFactory extends Object implements QueryFactory
Constructor and Description |
---|
PermissionQueryFactory(ProjectShareQueryFactory projectShareQueryFactory,
GroupManager groupManager) |
Modifier and Type | Method and Description |
---|---|
org.apache.lucene.search.Query |
create(SharedEntitySearchParameters searchParameters)
specifically unsupported here as this is designed for non-permission queries.
|
org.apache.lucene.search.Query |
create(SharedEntitySearchParameters searchParameters,
ApplicationUser user)
Get a query with permission checks for the specified user.
|
public PermissionQueryFactory(ProjectShareQueryFactory projectShareQueryFactory, GroupManager groupManager)
public org.apache.lucene.search.Query create(SharedEntitySearchParameters searchParameters, ApplicationUser user)
QueryFactory
create
in interface QueryFactory
searchParameters
- to search foruser
- the user to limit the results for, null is anonymouspublic org.apache.lucene.search.Query create(SharedEntitySearchParameters searchParameters)
create
in interface QueryFactory
searchParameters
- to search forCopyright © 2002-2015 Atlassian. All Rights Reserved.