@Transactional public class EmbeddedCrowdUserManagerImpl extends Object implements EmbeddedCrowdUserManager
Constructor and Description |
---|
EmbeddedCrowdUserManagerImpl() |
Modifier and Type | Method and Description |
---|---|
void |
alterPassword(com.atlassian.user.User user,
String password) |
com.atlassian.user.User |
createUser(String username) |
com.atlassian.user.User |
createUser(com.atlassian.user.User userTemplate,
com.atlassian.user.security.password.Credential credential) |
com.atlassian.user.repository.RepositoryIdentifier |
getIdentifier() |
com.atlassian.user.repository.RepositoryIdentifier |
getRepository(com.atlassian.user.Entity entity) |
com.atlassian.user.User |
getUser(String username) |
com.atlassian.user.search.page.Pager<String> |
getUserNames() |
com.atlassian.user.search.page.Pager<com.atlassian.user.User> |
getUsers() |
boolean |
isCreative() |
boolean |
isReadOnly(com.atlassian.user.User user) |
com.atlassian.user.User |
onExternalUserRename(String oldName,
String newName) |
void |
removeUser(com.atlassian.user.User user) |
com.atlassian.user.User |
renameUser(com.atlassian.user.User user,
String newUsername) |
com.atlassian.user.User |
saveUser(com.atlassian.user.User user) |
public com.atlassian.user.repository.RepositoryIdentifier getIdentifier()
getIdentifier
in interface com.atlassian.user.EntityManager
public com.atlassian.user.repository.RepositoryIdentifier getRepository(com.atlassian.user.Entity entity)
getRepository
in interface com.atlassian.user.EntityManager
public boolean isCreative()
isCreative
in interface com.atlassian.user.EntityManager
public com.atlassian.user.search.page.Pager<com.atlassian.user.User> getUsers()
getUsers
in interface com.atlassian.user.UserManager
public com.atlassian.user.search.page.Pager<String> getUserNames()
getUserNames
in interface com.atlassian.user.UserManager
public com.atlassian.user.User getUser(String username)
getUser
in interface com.atlassian.user.UserManager
public com.atlassian.user.User createUser(String username) throws com.atlassian.user.EntityException
createUser
in interface com.atlassian.user.UserManager
com.atlassian.user.EntityException
public com.atlassian.user.User createUser(com.atlassian.user.User userTemplate, com.atlassian.user.security.password.Credential credential) throws com.atlassian.user.EntityException, IllegalArgumentException
createUser
in interface com.atlassian.user.UserManager
com.atlassian.user.EntityException
IllegalArgumentException
public void alterPassword(com.atlassian.user.User user, String password) throws com.atlassian.user.EntityException
alterPassword
in interface com.atlassian.user.UserManager
com.atlassian.user.EntityException
public com.atlassian.user.User saveUser(com.atlassian.user.User user) throws com.atlassian.user.EntityException, IllegalArgumentException
saveUser
in interface com.atlassian.user.UserManager
com.atlassian.user.EntityException
IllegalArgumentException
public void removeUser(com.atlassian.user.User user) throws com.atlassian.user.EntityException, IllegalArgumentException
removeUser
in interface com.atlassian.user.UserManager
com.atlassian.user.EntityException
IllegalArgumentException
public boolean isReadOnly(com.atlassian.user.User user)
isReadOnly
in interface com.atlassian.user.UserManager
public com.atlassian.user.User renameUser(com.atlassian.user.User user, String newUsername) throws com.atlassian.user.EntityException
renameUser
in interface com.atlassian.user.UserManager
com.atlassian.user.EntityException
Copyright © 2022 Atlassian Software Systems Pty Ltd. All rights reserved.