@InjectableComponent public class IssueSecurityLevelResolver extends Object
| Constructor and Description |
|---|
IssueSecurityLevelResolver(IssueSecurityLevelManager issueSecurityLevelManager) |
| Modifier and Type | Method and Description |
|---|---|
List<IssueSecurityLevel> |
getAllSecurityLevels(com.atlassian.crowd.embedded.api.User searcher)
Returns the issue level objects that the passed user can see.
|
List<IssueSecurityLevel> |
getIssueSecurityLevels(com.atlassian.crowd.embedded.api.User searcher,
List<QueryLiteral> rawValues)
Resolves
GenericValues representing Issue Security Levels based on the
QueryLiterals provided. |
List<IssueSecurityLevel> |
getIssueSecurityLevels(com.atlassian.crowd.embedded.api.User 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(com.atlassian.crowd.embedded.api.User searcher)
searcher - all the issues levels that the passed user can see.public List<IssueSecurityLevel> getIssueSecurityLevels(com.atlassian.crowd.embedded.api.User 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 levelsearcher - the user performing the search.rawValue - the raw search inputpublic List<IssueSecurityLevel> getIssueSecurityLevels(com.atlassian.crowd.embedded.api.User 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 levelsearcher - 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 levelrawValues - the raw search inputsCopyright © 2002-2016 Atlassian. All Rights Reserved.