public class ConfluenceUserManager extends Object implements com.atlassian.user.UserManager
Constructor and Description |
---|
ConfluenceUserManager(com.atlassian.user.UserManager delegate,
ConfluenceUserDao dao) |
Modifier and Type | Method and Description |
---|---|
void |
alterPassword(com.atlassian.user.User user,
String plainTextPass) |
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) |
void |
removeUser(com.atlassian.user.User user) |
void |
saveUser(com.atlassian.user.User user) |
public ConfluenceUserManager(com.atlassian.user.UserManager delegate, ConfluenceUserDao dao)
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) throws com.atlassian.user.EntityException
getRepository
in interface com.atlassian.user.EntityManager
com.atlassian.user.EntityException
public boolean isCreative()
isCreative
in interface com.atlassian.user.EntityManager
public com.atlassian.user.search.page.Pager<com.atlassian.user.User> getUsers() throws com.atlassian.user.EntityException
getUsers
in interface com.atlassian.user.UserManager
com.atlassian.user.EntityException
public com.atlassian.user.search.page.Pager<String> getUserNames() throws com.atlassian.user.EntityException
getUserNames
in interface com.atlassian.user.UserManager
com.atlassian.user.EntityException
public com.atlassian.user.User getUser(String username) throws com.atlassian.user.EntityException
getUser
in interface com.atlassian.user.UserManager
com.atlassian.user.EntityException
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, UnsupportedOperationException, IllegalArgumentException
createUser
in interface com.atlassian.user.UserManager
com.atlassian.user.EntityException
UnsupportedOperationException
IllegalArgumentException
public void 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 void alterPassword(com.atlassian.user.User user, String plainTextPass) throws com.atlassian.user.EntityException
alterPassword
in interface com.atlassian.user.UserManager
com.atlassian.user.EntityException
public boolean isReadOnly(com.atlassian.user.User user) throws com.atlassian.user.EntityException
isReadOnly
in interface com.atlassian.user.UserManager
com.atlassian.user.EntityException
Copyright © 2003–2021 Atlassian. All rights reserved.