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
Constructors Constructor Description EmbeddedCrowdUserManagerImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
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
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)
-
-
-
Method Detail
-
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
public com.atlassian.user.search.page.Pager<String> getUserNames()
- Specified by:
getUserNames
in interfacecom.atlassian.user.UserManager
-
getUser
public com.atlassian.user.User getUser(String username)
- 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
-
-