Class EmbeddedCrowdUserManagerImpl
java.lang.Object
com.atlassian.crowd.embedded.atlassianuser.EmbeddedCrowdUserManagerImpl
- All Implemented Interfaces:
EmbeddedCrowdUserManager
,com.atlassian.user.EntityManager
,com.atlassian.user.UserManager
@Transactional
public class EmbeddedCrowdUserManagerImpl
extends Object
implements EmbeddedCrowdUserManager
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
alterPassword
(com.atlassian.user.User user, String password) com.atlassian.user.User
createUser
(com.atlassian.user.User userTemplate, com.atlassian.user.security.password.Credential credential) com.atlassian.user.User
createUser
(String username) com.atlassian.user.repository.RepositoryIdentifier
com.atlassian.user.repository.RepositoryIdentifier
getRepository
(com.atlassian.user.Entity entity) com.atlassian.user.User
com.atlassian.user.search.page.Pager<String>
com.atlassian.user.search.page.Pager<com.atlassian.user.User>
getUsers()
boolean
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) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.atlassian.user.EntityManager
unwrapProxy
-
Constructor Details
-
EmbeddedCrowdUserManagerImpl
public EmbeddedCrowdUserManagerImpl()
-
-
Method Details
-
getIdentifier
public com.atlassian.user.repository.RepositoryIdentifier getIdentifier()- Specified by:
getIdentifier
in interfacecom.atlassian.user.EntityManager
-
getRepository
public com.atlassian.user.repository.RepositoryIdentifier getRepository(com.atlassian.user.Entity entity) - Specified by:
getRepository
in interfacecom.atlassian.user.EntityManager
-
isCreative
public boolean isCreative()- Specified by:
isCreative
in interfacecom.atlassian.user.EntityManager
-
getUsers
public com.atlassian.user.search.page.Pager<com.atlassian.user.User> getUsers()- Specified by:
getUsers
in interfacecom.atlassian.user.UserManager
-
getUserNames
- Specified by:
getUserNames
in interfacecom.atlassian.user.UserManager
-
getUser
- Specified by:
getUser
in interfacecom.atlassian.user.UserManager
-
createUser
public com.atlassian.user.User createUser(String username) throws com.atlassian.user.EntityException - Specified by:
createUser
in interfacecom.atlassian.user.UserManager
- Throws:
com.atlassian.user.EntityException
-
createUser
public com.atlassian.user.User createUser(com.atlassian.user.User userTemplate, com.atlassian.user.security.password.Credential credential) throws com.atlassian.user.EntityException, IllegalArgumentException - Specified by:
createUser
in interfacecom.atlassian.user.UserManager
- Throws:
com.atlassian.user.EntityException
IllegalArgumentException
-
alterPassword
public void alterPassword(com.atlassian.user.User user, String password) throws com.atlassian.user.EntityException - Specified by:
alterPassword
in interfacecom.atlassian.user.UserManager
- Throws:
com.atlassian.user.EntityException
-
saveUser
public com.atlassian.user.User saveUser(com.atlassian.user.User user) throws com.atlassian.user.EntityException, IllegalArgumentException - Specified by:
saveUser
in interfacecom.atlassian.user.UserManager
- Throws:
com.atlassian.user.EntityException
IllegalArgumentException
-
removeUser
public void removeUser(com.atlassian.user.User user) throws com.atlassian.user.EntityException, IllegalArgumentException - Specified by:
removeUser
in interfacecom.atlassian.user.UserManager
- Throws:
com.atlassian.user.EntityException
IllegalArgumentException
-
isReadOnly
public boolean isReadOnly(com.atlassian.user.User user) - Specified by:
isReadOnly
in interfacecom.atlassian.user.UserManager
-
renameUser
public com.atlassian.user.User renameUser(com.atlassian.user.User user, String newUsername) throws com.atlassian.user.EntityException - Specified by:
renameUser
in interfacecom.atlassian.user.UserManager
- Throws:
com.atlassian.user.EntityException
-
onExternalUserRename
- Specified by:
onExternalUserRename
in interfacecom.atlassian.user.UserManager
-