public interface PermissionQueryFactory
Modifier and Type | Method and Description |
---|---|
org.apache.lucene.search.Query |
getQuery(ApplicationUser searcher,
ProjectPermissionKey permissionKey)
Deprecated.
Use
getQuery(ApplicationUser, ProjectPermissionKey, Collection) . Since 7.10 |
org.apache.lucene.search.Query |
getQuery(ApplicationUser searcher,
ProjectPermissionKey permissionKey,
Collection<Project> searchedProjects)
Generate a permission query for a specific permission on given collection of projects.
|
org.apache.lucene.search.Query getQuery(ApplicationUser searcher, ProjectPermissionKey permissionKey)
getQuery(ApplicationUser, ProjectPermissionKey, Collection)
. Since 7.10searcher
- the user who is doing the searchingpermissionKey
- the specific permissionorg.apache.lucene.search.Query getQuery(ApplicationUser searcher, ProjectPermissionKey permissionKey, @Nonnull Collection<Project> searchedProjects)
searcher
- the user who is doing the searchingpermissionKey
- the specific permissionsearchedProjects
- collection of projectsCopyright © 2002-2019 Atlassian. All Rights Reserved.