com.atlassian.jira.issue.search.parameters.lucene
Interface PermissionsFilterGenerator

All Known Implementing Classes:
PermissionsFilterGeneratorImpl

public interface PermissionsFilterGenerator

Since:
v4.0

Method Summary
 org.apache.lucene.search.Query getQuery(com.opensymphony.user.User searcher)
          Generates a lucene Query that is the canonical set of permissions for viewable issues for the given user.
 

Method Detail

getQuery

org.apache.lucene.search.Query getQuery(com.opensymphony.user.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.


Copyright © 2002-2010 Atlassian. All Rights Reserved.