com.atlassian.jira.issue.search.parameters.lucene
Class PermissionsFilterGeneratorImpl

java.lang.Object
  extended by com.atlassian.jira.issue.search.parameters.lucene.PermissionsFilterGeneratorImpl
All Implemented Interfaces:
PermissionsFilterGenerator

public class PermissionsFilterGeneratorImpl
extends java.lang.Object
implements PermissionsFilterGenerator


Constructor Summary
PermissionsFilterGeneratorImpl(PermissionQueryFactory permissionQueryFactory)
           
 
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.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PermissionsFilterGeneratorImpl

public PermissionsFilterGeneratorImpl(PermissionQueryFactory permissionQueryFactory)
Method Detail

getQuery

public org.apache.lucene.search.Query getQuery(com.opensymphony.user.User searcher)
Description copied from interface: PermissionsFilterGenerator
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.

Specified by:
getQuery in interface PermissionsFilterGenerator
Parameters:
searcher - the user performing the search
Returns:
the query; could be null if an error occurred.


Copyright © 2002-2010 Atlassian. All Rights Reserved.