public interface SecurityType extends SchemeType
| Modifier and Type | Method and Description |
|---|---|
String |
getArgumentDisplay(String argument) |
org.apache.lucene.search.Query |
getQuery(ApplicationUser searcher,
Project project,
IssueSecurityLevel securityLevel,
String parameter)
Returns a query based on security level and the project passed in.
|
org.apache.lucene.search.Query |
getQuery(ApplicationUser searcher,
Project project,
String parameter) |
Set<ApplicationUser> |
getUsers(PermissionContext permissionContext,
String argument)
Returns a list of
ApplicationUsers represented by a security type instance. |
doValidation, getDisplayName, getType, hasPermission, hasPermission, hasPermission, hasPermission, isValidForPermissionorg.apache.lucene.search.Query getQuery(ApplicationUser searcher, Project project, String parameter)
org.apache.lucene.search.Query getQuery(ApplicationUser searcher, Project project, IssueSecurityLevel securityLevel, String parameter)
searcher - The searcher conducting the searchproject - The project for which we're constructing a querysecurityLevel - The security level for which we are constructing the queryparameter - Parameter identifying user related field (reporter, assignee, etc)Set<ApplicationUser> getUsers(PermissionContext permissionContext, String argument)
ApplicationUsers represented by a security type instance. The collection must
not contain any nulls.permissionContext - The current issue and projectargument - Instance value, eg. a group name, user name, custom field idApplicationUsers.IllegalArgumentException - if argument is invalid for this type.Copyright © 2002-2016 Atlassian. All Rights Reserved.