public interface

PermissionsFilterGenerator

com.atlassian.jira.issue.search.parameters.lucene.PermissionsFilterGenerator
Known Indirect Subclasses

Summary

Public Methods
Query getQuery(User searcher)
Generates a lucene Query that is the canonical set of permissions for viewable issues for the given user.

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.