com.atlassian.crowd.integration.atlassianuser
Class CrowdUserManager

java.lang.Object
  extended by com.atlassian.crowd.integration.atlassianuser.AbstractCrowdUserManager
      extended by com.atlassian.crowd.integration.atlassianuser.CrowdUserManager
All Implemented Interfaces:
com.atlassian.user.EntityManager, com.atlassian.user.UserManager

public class CrowdUserManager
extends AbstractCrowdUserManager


Constructor Summary
CrowdUserManager(com.atlassian.user.repository.RepositoryIdentifier repositoryIdentifier)
           
CrowdUserManager(com.atlassian.user.repository.RepositoryIdentifier repositoryIdentifier, com.atlassian.crowd.integration.atlassianuser.UserGroupCache snapshotProvider)
           
 
Method Summary
 void alterPassword(com.atlassian.user.User user, java.lang.String password)
           
 com.atlassian.user.User createUser(java.lang.String username)
           
 com.atlassian.user.User getUser(java.lang.String username)
           
 com.atlassian.user.search.page.Pager getUserNames()
           
 com.atlassian.user.search.page.Pager getUsers()
           
 void removeUser(com.atlassian.user.User user)
           
 void saveUser(com.atlassian.user.User user)
           
 
Methods inherited from class com.atlassian.crowd.integration.atlassianuser.AbstractCrowdUserManager
getIdentifier, getRepository, isCreative, isReadOnly
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CrowdUserManager

public CrowdUserManager(com.atlassian.user.repository.RepositoryIdentifier repositoryIdentifier,
                        com.atlassian.crowd.integration.atlassianuser.UserGroupCache snapshotProvider)

CrowdUserManager

public CrowdUserManager(com.atlassian.user.repository.RepositoryIdentifier repositoryIdentifier)
Method Detail

getUser

public com.atlassian.user.User getUser(java.lang.String username)
                                throws com.atlassian.user.EntityException
Throws:
com.atlassian.user.EntityException

getUserNames

public com.atlassian.user.search.page.Pager getUserNames()
                                                  throws com.atlassian.user.EntityException
Throws:
com.atlassian.user.EntityException

getUsers

public com.atlassian.user.search.page.Pager getUsers()
                                              throws com.atlassian.user.EntityException
Throws:
com.atlassian.user.EntityException

createUser

public com.atlassian.user.User createUser(java.lang.String username)
                                   throws com.atlassian.user.EntityException
Throws:
com.atlassian.user.EntityException

removeUser

public void removeUser(com.atlassian.user.User user)
                throws com.atlassian.user.EntityException,
                       java.lang.IllegalArgumentException
Throws:
com.atlassian.user.EntityException
java.lang.IllegalArgumentException

saveUser

public void saveUser(com.atlassian.user.User user)
              throws com.atlassian.user.EntityException
Throws:
com.atlassian.user.EntityException

alterPassword

public void alterPassword(com.atlassian.user.User user,
                          java.lang.String password)
                   throws com.atlassian.user.EntityException
Throws:
com.atlassian.user.EntityException


Copyright © 2011 Atlassian. All Rights Reserved.