com.atlassian.jira.issue.customfields.converters
Class UserConverterImpl

java.lang.Object
  extended by com.atlassian.jira.issue.customfields.converters.UserConverterImpl
All Implemented Interfaces:
UserConverter
Direct Known Subclasses:
MultiUserConverterImpl

public class UserConverterImpl
extends Object
implements UserConverter


Constructor Summary
UserConverterImpl(UserUtil userUtil)
           
 
Method Summary
 String getString(com.atlassian.crowd.embedded.api.User user)
           
 String getString(User user)
           
 User getUser(String stringValue)
          Get the User Object from the user name
 com.atlassian.crowd.embedded.api.User getUserObject(String stringValue)
          Get the User Object from the user name
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UserConverterImpl

public UserConverterImpl(UserUtil userUtil)
Method Detail

getString

public String getString(com.atlassian.crowd.embedded.api.User user)
Specified by:
getString in interface UserConverter

getString

public String getString(User user)
Specified by:
getString in interface UserConverter

getUser

public User getUser(String stringValue)
             throws FieldValidationException
Description copied from interface: UserConverter
Get the User Object from the user name

Specified by:
getUser in interface UserConverter
Returns:
Throws:
FieldValidationException

getUserObject

public com.atlassian.crowd.embedded.api.User getUserObject(String stringValue)
                                                    throws FieldValidationException
Description copied from interface: UserConverter
Get the User Object from the user name

Specified by:
getUserObject in interface UserConverter
Returns:
Throws:
FieldValidationException


Copyright © 2002-2011 Atlassian. All Rights Reserved.