com.atlassian.crowd.dao.user
Interface InternalUserDao

All Superinterfaces:
UserDao
All Known Implementing Classes:
UserDAOHibernate

public interface InternalUserDao
extends UserDao


Method Summary
 BatchResultWithIdReferences<User> addAll(java.util.Collection<UserTemplateWithCredentialAndAttributes> users)
           
 java.util.Collection<InternalUser> findByNames(long directoryID, java.util.Collection<java.lang.String> usernames)
          Bulk find of users using SQL disjunction.
 void removeAll(long directoryId)
           
 
Methods inherited from interface com.atlassian.crowd.embedded.spi.UserDao
add, addAll, findByName, findByNameWithAttributes, getCredential, getCredentialHistory, remove, removeAllUsers, removeAttribute, rename, search, storeAttributes, update, updateCredential
 

Method Detail

addAll

BatchResultWithIdReferences<User> addAll(java.util.Collection<UserTemplateWithCredentialAndAttributes> users)

removeAll

void removeAll(long directoryId)
               throws DirectoryNotFoundException
Throws:
DirectoryNotFoundException

findByNames

java.util.Collection<InternalUser> findByNames(long directoryID,
                                               java.util.Collection<java.lang.String> usernames)
                                               throws DirectoryNotFoundException
Bulk find of users using SQL disjunction.

Parameters:
directoryID - the directory to search for the users.
usernames - names of users to find
Returns:
collection of found users.
Throws:
DirectoryNotFoundException - if the directory cannot be found


Copyright © 2010 Atlassian. All Rights Reserved.