com.atlassian.crowd.dao.user
Interface InternalUserDao

All Superinterfaces:
UserDao
All Known Implementing Classes:
UserDAOHibernate

public interface InternalUserDao
extends UserDao

Manages persistence of User.


Method Summary
 BatchResultWithIdReferences<User> addAll(Collection<UserTemplateWithCredentialAndAttributes> users)
           
 Collection<InternalUser> findByNames(long directoryID, Collection<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(Collection<UserTemplateWithCredentialAndAttributes> users)

removeAll

void removeAll(long directoryId)
               throws DirectoryNotFoundException
Throws:
DirectoryNotFoundException

findByNames

Collection<InternalUser> findByNames(long directoryID,
                                     Collection<String> usernames)
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.


Copyright © 2013 Atlassian. All Rights Reserved.