public class UserIndexInfoResolver extends Object implements IndexInfoResolver<ApplicationUser>
The indexed value for a user is the user's key. WARNING: Prior to JIRA 6.0, this was always the lowercase version of the username, but this will not be true for renamed users. Plugin developers should avoid relying on the exact contents of the index value directly.
Constructor and Description |
---|
UserIndexInfoResolver(NameResolver<ApplicationUser> userResolver) |
Modifier and Type | Method and Description |
---|---|
String |
getIndexedValue(ApplicationUser user)
Gets an indexed value from a domain object.
|
List<String> |
getIndexedValues(Long rawValue)
Provides the values in the index for the single value operand with the given Long value.
|
List<String> |
getIndexedValues(String rawValue)
Provides the values in the index for the operand with the given String value.
|
public UserIndexInfoResolver(NameResolver<ApplicationUser> userResolver)
public List<String> getIndexedValues(String rawValue)
IndexInfoResolver
getIndexedValues
in interface IndexInfoResolver<ApplicationUser>
rawValue
- the value whose indexed term equivalent is to be returned.public List<String> getIndexedValues(Long rawValue)
IndexInfoResolver
getIndexedValues
in interface IndexInfoResolver<ApplicationUser>
rawValue
- the value whose indexed term equivalent is to be returned.public String getIndexedValue(ApplicationUser user)
IndexInfoResolver
getIndexedValue
in interface IndexInfoResolver<ApplicationUser>
user
- the domain object. Does not accept null.Copyright © 2002-2021 Atlassian. All Rights Reserved.