public class UserRenameServiceImpl extends Object implements UserRenameService
Constructor and Description |
---|
UserRenameServiceImpl(BambooUserManager bambooUserManager,
org.springframework.transaction.support.TransactionTemplate transactionTemplate,
org.springframework.orm.hibernate3.HibernateTemplate hibernateTemplate,
com.atlassian.plugin.PluginAccessor pluginAccessor,
com.atlassian.event.api.EventPublisher eventPublisher,
ScopedExclusionService scopedExclusionService,
com.atlassian.user.impl.hibernate3.ExternalEntityDAO externalEntityDao) |
Modifier and Type | Method and Description |
---|---|
void |
renameUser(String oldUserName,
String newUserName,
boolean isExternalRename)
Rename user in all Bamboo user related records.
|
public UserRenameServiceImpl(@NotNull BambooUserManager bambooUserManager, @NotNull org.springframework.transaction.support.TransactionTemplate transactionTemplate, @NotNull org.springframework.orm.hibernate3.HibernateTemplate hibernateTemplate, @NotNull com.atlassian.plugin.PluginAccessor pluginAccessor, @NotNull com.atlassian.event.api.EventPublisher eventPublisher, @NotNull ScopedExclusionService scopedExclusionService, @NotNull com.atlassian.user.impl.hibernate3.ExternalEntityDAO externalEntityDao)
public void renameUser(@Nullable String oldUserName, @Nullable String newUserName, boolean isExternalRename) throws UserRenameException
UserRenameService
renameUser
in interface UserRenameService
isExternalRename
- set to true if the rename has been done externally and Bamboo is notified of itUserRenameException
Copyright © 2016 Atlassian Software Systems Pty Ltd. All rights reserved.