|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
@Internal public interface UserConverter
Converts between User objects and Strings for storage and retrieval of Custom Field values.
Method Summary | |
---|---|
String |
getString(com.atlassian.crowd.embedded.api.User user)
|
com.atlassian.crowd.embedded.api.User |
getUser(String stringValue)
Get the User Object from the user name. |
com.atlassian.crowd.embedded.api.User |
getUserEvenWhenUnknown(String stringValue)
Get the User Object from the user name even when the user is unknown. |
com.atlassian.crowd.embedded.api.User |
getUserObject(String stringValue)
Deprecated. Use getUser(String) instead. Since v5.0. |
Method Detail |
---|
String getString(com.atlassian.crowd.embedded.api.User user)
com.atlassian.crowd.embedded.api.User getUser(String stringValue) throws FieldValidationException
stringValue
- User name
FieldValidationException
- if the input parameter is nullcom.atlassian.crowd.embedded.api.User getUserEvenWhenUnknown(String stringValue) throws FieldValidationException
stringValue
- User name
FieldValidationException
- if the input parameter is nullcom.atlassian.crowd.embedded.api.User getUserObject(String stringValue) throws FieldValidationException
getUser(String)
instead. Since v5.0.
stringValue
- User name
FieldValidationException
- if the input parameter is null
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |