com.atlassian.jira.issue.customfields.converters
Interface UserConverter

All Known Subinterfaces:
MultiUserConverter
All Known Implementing Classes:
MultiUserConverterImpl, UserConverterImpl

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)
           
 String getString(User user)
           
 User getUser(String stringValue)
          Deprecated. Use getUserObject(String stringValue). Since 4.3
 com.atlassian.crowd.embedded.api.User getUserObject(String stringValue)
          Get the User Object from the user name
 

Method Detail

getString

String getString(com.atlassian.crowd.embedded.api.User user)

getString

String getString(User user)

getUser

User getUser(String stringValue)
             throws FieldValidationException
Deprecated. Use getUserObject(String stringValue). Since 4.3

Get the User Object from the user name

Parameters:
stringValue -
Returns:
Throws:
FieldValidationException

getUserObject

com.atlassian.crowd.embedded.api.User getUserObject(String stringValue)
                                                    throws FieldValidationException
Get the User Object from the user name

Parameters:
stringValue -
Returns:
Throws:
FieldValidationException


Copyright © 2002-2011 Atlassian. All Rights Reserved.