com.atlassian.confluence.plugins.rest.dto
Class UserDtoFactoryImpl
java.lang.Object
com.atlassian.confluence.plugins.rest.dto.UserDtoFactoryImpl
- All Implemented Interfaces:
- UserDtoFactory
public class UserDtoFactoryImpl
- extends java.lang.Object
- implements UserDtoFactory
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
UserDtoFactoryImpl
public UserDtoFactoryImpl(UserAccessor userAccessor,
I18NBeanFactory i18NBeanFactory,
LocaleManager localeManager,
ContextPathHolder contextPathHolder,
UserDetailsManager userDetailsManager,
com.atlassian.renderer.WikiStyleRenderer wikiStyleRenderer,
PersonalInformationManager personalInformationManager,
com.atlassian.plugin.webresource.WebResourceUrlProvider webResourceUrlProvider,
PermissionManager permissionManager,
SettingsManager settingsManager)
getUserDto
@Deprecated
public UserDto getUserDto(java.lang.String username)
- Deprecated.
- You should note that for a renamed user this method may return a misleading DTO (wrong user details).
- Specified by:
getUserDto
in interface UserDtoFactory
- Returns:
- a UserDto for the supplied username.
getUserDto
public UserDto getUserDto(@Nullable
ConfluenceUser targetUser)
-
- Specified by:
getUserDto
in interface UserDtoFactory
- Parameters:
targetUser
- the user to construct a DTO for
- Returns:
- a UserDto for the identified user
Copyright © 2003-2014 Atlassian. All Rights Reserved.