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 Object
implements PermissionsFilterGenerator


Constructor Summary
PermissionsFilterGeneratorImpl(IssueSecurityLevelManager issueSecurityLevelManager, PermissionManager permissionManager, PermissionSchemeManager permissionSchemeManager, PermissionTypeManager permissionTypeManager, IssueSecuritySchemeManager issueSecuritySchemeManager, SecurityTypeManager issueSecurityTypeManager, ProjectFactory projectFactory)
           
 
Method Summary
 org.apache.lucene.search.Query getQuery(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(IssueSecurityLevelManager issueSecurityLevelManager,
                                      PermissionManager permissionManager,
                                      PermissionSchemeManager permissionSchemeManager,
                                      PermissionTypeManager permissionTypeManager,
                                      IssueSecuritySchemeManager issueSecuritySchemeManager,
                                      SecurityTypeManager issueSecurityTypeManager,
                                      ProjectFactory projectFactory)
Method Detail

getQuery

public org.apache.lucene.search.Query getQuery(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-2009 Atlassian. All Rights Reserved.