@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
GenericValues representing Issue Security Levels based on the
QueryLiterals provided. |
List<IssueSecurityLevel> |
getIssueSecurityLevels(ApplicationUser searcher,
QueryLiteral rawValue)
Resolves
GenericValues representing Issue Security Levels based on the
QueryLiteral provided. |
List<IssueSecurityLevel> |
getIssueSecurityLevelsOverrideSecurity(List<QueryLiteral> rawValues)
Resolves
GenericValues representing Issue Security Levels based on the
QueryLiterals 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)
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
searcher - the user performing the search.rawValue - the raw search inputpublic List<IssueSecurityLevel> getIssueSecurityLevels(ApplicationUser searcher, List<QueryLiteral> rawValues)
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
searcher - the user performing the search.rawValues - the raw search inputspublic List<IssueSecurityLevel> getIssueSecurityLevelsOverrideSecurity(List<QueryLiteral> rawValues)
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
rawValues - the raw search inputsCopyright © 2002-2022 Atlassian. All Rights Reserved.