com.atlassian.confluence.plugins.rest.dto
Interface UserDtoFactory

All Known Implementing Classes:
UserDtoFactoryImpl

public interface UserDtoFactory


Method Summary
 UserDto getUserDto(ConfluenceUser user)
           
 UserDto getUserDto(java.lang.String username)
          Deprecated. since 5.3. See getUserDto(ConfluenceUser) instead.
 

Method Detail

getUserDto

@Deprecated
UserDto getUserDto(java.lang.String username)
Deprecated. since 5.3. See getUserDto(ConfluenceUser) instead.

You should note that for a renamed user this method may return a misleading DTO (wrong user details).

Parameters:
username -
Returns:
a UserDto for the supplied username.

getUserDto

UserDto getUserDto(@Nullable
                   ConfluenceUser user)
Parameters:
user - the user to construct a DTO for
Returns:
a UserDto for the identified user
Since:
5.3


Copyright © 2003-2013 Atlassian. All Rights Reserved.