public interface SecurityType extends SchemeType
Modifier and Type | Method and Description |
---|---|
String |
getArgumentDisplay(String argument) |
org.apache.lucene.search.Query |
getQuery(com.atlassian.crowd.embedded.api.User 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(com.atlassian.crowd.embedded.api.User searcher,
Project project,
String parameter) |
Set<com.atlassian.crowd.embedded.api.User> |
getUsers(PermissionContext permissionContext,
String argument)
Returns a list of
User s represented by a security type instance. |
doValidation, getDisplayName, getType, hasPermission, hasPermission, hasPermission, hasPermission, hasPermission, hasPermission, isValidForPermission
org.apache.lucene.search.Query getQuery(com.atlassian.crowd.embedded.api.User searcher, Project project, String parameter)
org.apache.lucene.search.Query getQuery(com.atlassian.crowd.embedded.api.User 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<com.atlassian.crowd.embedded.api.User> getUsers(PermissionContext permissionContext, String argument)
User
s 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 idUser
s.IllegalArgumentException
- if argument is invalid for this type.Copyright © 2002-2015 Atlassian. All Rights Reserved.