@InjectableComponent public class

IssueSecurityLevelResolver

extends Object
java.lang.Object
   ↳ com.atlassian.jira.jql.resolver.IssueSecurityLevelResolver

Class Overview

Resolves Issue Security Levels for the specified user.

Summary

Public Constructors
IssueSecurityLevelResolver(IssueSecurityLevelManager issueSecurityLevelManager)
Public Methods
List<IssueSecurityLevel> getAllSecurityLevels(User searcher)
Returns the issue level objects that the passed user can see.
List<IssueSecurityLevel> getIssueSecurityLevels(User searcher, QueryLiteral rawValue)
Resolves org.ofbiz.core.entity.GenericValues representing Issue Security Levels based on the QueryLiteral provided.
List<IssueSecurityLevel> getIssueSecurityLevels(User searcher, List<QueryLiteral> rawValues)
Resolves org.ofbiz.core.entity.GenericValues representing Issue Security Levels based on the QueryLiterals provided.
List<IssueSecurityLevel> getIssueSecurityLevelsOverrideSecurity(List<QueryLiteral> rawValues)
Resolves org.ofbiz.core.entity.GenericValues representing Issue Security Levels based on the QueryLiterals provided.
[Expand]
Inherited Methods
From class java.lang.Object

Public Constructors

public IssueSecurityLevelResolver (IssueSecurityLevelManager issueSecurityLevelManager)

Public Methods

public List<IssueSecurityLevel> getAllSecurityLevels (User searcher)

Returns the issue level objects that the passed user can see.

Parameters
searcher all the issues levels that the passed user can see.
Returns
  • a list of all the issue levels that the passed user can see. The list returned may be edited by the caller.

public List<IssueSecurityLevel> getIssueSecurityLevels (User searcher, QueryLiteral rawValue)

Resolves org.ofbiz.core.entity.GenericValues representing Issue Security Levels based on the QueryLiteral provided. Will only return security levels the specified user can see. Note: a null value in the returned list represents the "Empty" security level

Parameters
searcher the user performing the search.
rawValue the raw search input
Returns
  • the collection of security levels; never null.

public List<IssueSecurityLevel> getIssueSecurityLevels (User searcher, List<QueryLiteral> rawValues)

Resolves org.ofbiz.core.entity.GenericValues representing Issue Security Levels based on the QueryLiterals provided. Will only return security levels the specified user can see. Note: a null value in the returned list represents the "Empty" security level

Parameters
searcher the user performing the search.
rawValues the raw search inputs
Returns
  • the collection of security levels; never null.

public List<IssueSecurityLevel> getIssueSecurityLevelsOverrideSecurity (List<QueryLiteral> rawValues)

Resolves org.ofbiz.core.entity.GenericValues representing Issue Security Levels based on the QueryLiterals provided. Permissions are ignored. Note: a null value in the returned list represents the "Empty" security level

Parameters
rawValues the raw search inputs
Returns
  • the collection of security levels; never null.