Package com.atlassian.jira.jql.resolver
Class IssueSecurityLevelResolver
java.lang.Object
com.atlassian.jira.jql.resolver.IssueSecurityLevelResolver
Resolves Issue Security Levels for the specified user.
- Since:
- v4.0
-
Constructor Summary
ConstructorsConstructorDescriptionIssueSecurityLevelResolver
(IssueSecurityLevelManager issueSecurityLevelManager) -
Method Summary
Modifier and TypeMethodDescriptiongetAllSecurityLevels
(ApplicationUser searcher) Returns the issue level objects that the passed user can see.getIssueSecurityLevels
(ApplicationUser searcher, QueryLiteral rawValue) ResolvesGenericValue
s representing Issue Security Levels based on theQueryLiteral
provided.getIssueSecurityLevels
(ApplicationUser searcher, List<QueryLiteral> rawValues) ResolvesGenericValue
s representing Issue Security Levels based on theQueryLiteral
s provided.getIssueSecurityLevelsOverrideSecurity
(List<QueryLiteral> rawValues) ResolvesGenericValue
s representing Issue Security Levels based on theQueryLiteral
s provided.
-
Constructor Details
-
IssueSecurityLevelResolver
-
-
Method Details
-
getAllSecurityLevels
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.
-
getIssueSecurityLevels
public List<IssueSecurityLevel> getIssueSecurityLevels(ApplicationUser searcher, QueryLiteral rawValue) ResolvesGenericValue
s representing Issue Security Levels based on theQueryLiteral
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.
-
getIssueSecurityLevels
public List<IssueSecurityLevel> getIssueSecurityLevels(ApplicationUser searcher, List<QueryLiteral> rawValues) ResolvesGenericValue
s representing Issue Security Levels based on theQueryLiteral
s 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.
-
getIssueSecurityLevelsOverrideSecurity
public List<IssueSecurityLevel> getIssueSecurityLevelsOverrideSecurity(List<QueryLiteral> rawValues) ResolvesGenericValue
s representing Issue Security Levels based on theQueryLiteral
s 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.
-