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

All Known Implementing Classes:
DefaultPermissionQueryFactory

public interface PermissionQueryFactory

Factory for generating a permission query based on a specific permission.

Since:
4.1

Method Summary
 org.apache.lucene.search.Query getQuery(com.opensymphony.user.User searcher, int permissionId)
          Generate a permission query for a specific permission.
 

Method Detail

getQuery

org.apache.lucene.search.Query getQuery(com.opensymphony.user.User searcher,
                                        int permissionId)
Generate a permission query for a specific permission.

Parameters:
searcher - the user who is doing the searching
permissionId - the specific permission
Returns:
a permission query for that user


Copyright © 2002-2010 Atlassian. All Rights Reserved.