|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.atlassian.jira.jql.resolver.UserIndexInfoResolver
public class UserIndexInfoResolver
Index resolver that can find the index values for users.
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 Summary | |
---|---|
UserIndexInfoResolver(NameResolver<com.atlassian.crowd.embedded.api.User> userResolver)
|
Method Summary | |
---|---|
String |
getIndexedValue(com.atlassian.crowd.embedded.api.User 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. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public UserIndexInfoResolver(NameResolver<com.atlassian.crowd.embedded.api.User> userResolver)
Method Detail |
---|
public List<String> getIndexedValues(String rawValue)
IndexInfoResolver
getIndexedValues
in interface IndexInfoResolver<com.atlassian.crowd.embedded.api.User>
rawValue
- the value whose indexed term equivalent is to be returned.
public List<String> getIndexedValues(Long rawValue)
IndexInfoResolver
getIndexedValues
in interface IndexInfoResolver<com.atlassian.crowd.embedded.api.User>
rawValue
- the value whose indexed term equivalent is to be returned.
public String getIndexedValue(com.atlassian.crowd.embedded.api.User user)
IndexInfoResolver
getIndexedValue
in interface IndexInfoResolver<com.atlassian.crowd.embedded.api.User>
user
- the domain object. Does not accept null.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |