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 Details

    • EmbeddedCrowdUserManagerImpl

      public EmbeddedCrowdUserManagerImpl()
  • Method Details

    • getIdentifier

      public com.atlassian.user.repository.RepositoryIdentifier getIdentifier()
      Specified by:
      getIdentifier in interface com.atlassian.user.EntityManager
    • getRepository

      public com.atlassian.user.repository.RepositoryIdentifier getRepository(com.atlassian.user.Entity entity)
      Specified by:
      getRepository in interface com.atlassian.user.EntityManager
    • isCreative

      public boolean isCreative()
      Specified by:
      isCreative in interface com.atlassian.user.EntityManager
    • getUsers

      public com.atlassian.user.search.page.Pager<com.atlassian.user.User> getUsers()
      Specified by:
      getUsers in interface com.atlassian.user.UserManager
    • getUserNames

      public com.atlassian.user.search.page.Pager<String> getUserNames()
      Specified by:
      getUserNames in interface com.atlassian.user.UserManager
    • getUser

      public com.atlassian.user.User getUser(String username)
      Specified by:
      getUser in interface com.atlassian.user.UserManager
    • createUser

      public com.atlassian.user.User createUser(String username) throws com.atlassian.user.EntityException
      Specified by:
      createUser in interface com.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 interface com.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 interface com.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 interface com.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 interface com.atlassian.user.UserManager
      Throws:
      com.atlassian.user.EntityException
      IllegalArgumentException
    • isReadOnly

      public boolean isReadOnly(com.atlassian.user.User user)
      Specified by:
      isReadOnly in interface com.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 interface com.atlassian.user.UserManager
      Throws:
      com.atlassian.user.EntityException
    • onExternalUserRename

      public com.atlassian.user.User onExternalUserRename(String oldName, String newName)
      Specified by:
      onExternalUserRename in interface com.atlassian.user.UserManager