com.atlassian.crowd.dao.user
Interface InternalUserDao
- All Superinterfaces:
- UserDao
public interface InternalUserDao
- extends UserDao
Manages persistence of User.
| Methods inherited from interface com.atlassian.crowd.embedded.spi.UserDao |
add, addAll, findByExternalId, findByName, findByNameWithAttributes, getAllExternalIds, getCredential, getCredentialHistory, getUserCount, remove, removeAllUsers, removeAttribute, rename, search, setAttributeForAllInDirectory, storeAttributes, update, updateCredential |
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 © 2016 Atlassian. All Rights Reserved.