public class

PermissionsFilterGeneratorImpl

extends Object
implements PermissionsFilterGenerator
java.lang.Object
   ↳ com.atlassian.jira.issue.search.parameters.lucene.PermissionsFilterGeneratorImpl

Summary

Public Constructors
PermissionsFilterGeneratorImpl(PermissionQueryFactory permissionQueryFactory)
Public Methods
Query getQuery(User searcher)
Generates a lucene Query that is the canonical set of permissions for viewable issues for the given user.
[Expand]
Inherited Methods
From class java.lang.Object
From interface com.atlassian.jira.issue.search.parameters.lucene.PermissionsFilterGenerator

Public Constructors

public PermissionsFilterGeneratorImpl (PermissionQueryFactory permissionQueryFactory)

Public Methods

public Query getQuery (User searcher)

Generates a lucene Query that is the canonical set of permissions for viewable issues for the given user. This query can then be used to filter out impermissible documents from a lucene search.

Parameters
searcher the user performing the search
Returns
  • the query; could be null if an error occurred.