public class

DefaultPermissionQueryFactory

extends Object
implements PermissionQueryFactory
java.lang.Object
   ↳ com.atlassian.jira.issue.search.parameters.lucene.DefaultPermissionQueryFactory

Summary

Public Constructors
DefaultPermissionQueryFactory(IssueSecurityLevelManager issueSecurityLevelManager, PermissionManager permissionManager, PermissionSchemeManager permissionSchemeManager, PermissionTypeManager permissionTypeManager, IssueSecuritySchemeManager issueSecuritySchemeManager, SecurityTypeManager issueSecurityTypeManager, ProjectFactory projectFactory)
Public Methods
Query getQuery(ApplicationUser searcher, int permissionId)
Generate a permission query for a specific permission.
[Expand]
Inherited Methods
From class java.lang.Object
From interface com.atlassian.jira.issue.search.parameters.lucene.PermissionQueryFactory

Public Constructors

public DefaultPermissionQueryFactory (IssueSecurityLevelManager issueSecurityLevelManager, PermissionManager permissionManager, PermissionSchemeManager permissionSchemeManager, PermissionTypeManager permissionTypeManager, IssueSecuritySchemeManager issueSecuritySchemeManager, SecurityTypeManager issueSecurityTypeManager, ProjectFactory projectFactory)

Public Methods

public Query getQuery (ApplicationUser 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