@InjectableComponent public class IssueSecurityLevelResolver extends Object
Constructor and Description |
---|
IssueSecurityLevelResolver(IssueSecurityLevelManager issueSecurityLevelManager) |
Modifier and Type | Method and Description |
---|---|
List<IssueSecurityLevel> |
getAllSecurityLevels(ApplicationUser searcher)
Returns the issue level objects that the passed user can see.
|
List<IssueSecurityLevel> |
getIssueSecurityLevels(ApplicationUser searcher,
List<QueryLiteral> rawValues)
Resolves
GenericValue s representing Issue Security Levels based on the
QueryLiteral s provided. |
List<IssueSecurityLevel> |
getIssueSecurityLevels(ApplicationUser searcher,
QueryLiteral rawValue)
Resolves
GenericValue s representing Issue Security Levels based on the
QueryLiteral provided. |
List<IssueSecurityLevel> |
getIssueSecurityLevelsOverrideSecurity(List<QueryLiteral> rawValues)
Resolves
GenericValue s representing Issue Security Levels based on the
QueryLiteral s provided. |
public IssueSecurityLevelResolver(IssueSecurityLevelManager issueSecurityLevelManager)
public List<IssueSecurityLevel> getAllSecurityLevels(ApplicationUser searcher)
searcher
- all the issues levels that the passed user can see.public List<IssueSecurityLevel> getIssueSecurityLevels(ApplicationUser searcher, QueryLiteral rawValue)
GenericValue
s 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
searcher
- the user performing the search.rawValue
- the raw search inputpublic List<IssueSecurityLevel> getIssueSecurityLevels(ApplicationUser searcher, List<QueryLiteral> rawValues)
GenericValue
s representing Issue Security Levels based on the
QueryLiteral
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
searcher
- the user performing the search.rawValues
- the raw search inputspublic List<IssueSecurityLevel> getIssueSecurityLevelsOverrideSecurity(List<QueryLiteral> rawValues)
GenericValue
s representing Issue Security Levels based on the
QueryLiteral
s provided. Permissions are ignored.
Note: a null value in the returned list represents the "Empty" security level
rawValues
- the raw search inputsCopyright © 2002-2021 Atlassian. All Rights Reserved.