public interface InternalUserDao<T extends com.atlassian.crowd.model.user.User>
extends com.atlassian.crowd.embedded.spi.UserDao
Modifier and Type | Method and Description |
---|---|
T |
add(com.atlassian.crowd.model.user.User user,
com.atlassian.crowd.embedded.api.PasswordCredential credential) |
Collection<com.atlassian.crowd.model.user.InternalUser> |
findByNames(long directoryId,
Collection<String> userNames)
Find all users from the list of user names
|
com.atlassian.crowd.model.user.InternalUser |
internalFindByName(long directoryId,
String userName)
Find a persistent user object from a given directory and user name
|
com.atlassian.crowd.model.user.InternalUser |
internalFindByUser(com.atlassian.crowd.model.user.User user)
Find the persistent user object that corresponds to the provided user.
|
void |
removeAllUsers(long directoryId)
Remove all users from a particular directory (used when deleting an internal directory)
|
addAll, findByExternalId, findByExternalIds, findByName, findByNameWithAttributes, findDirectoryIdsContainingUserName, getAllExternalIds, getCredential, getCredentialHistory, getUserCount, remove, removeAllUsers, removeAttribute, rename, search, setAttributeForAllInDirectory, storeAttributes, update, updateCredential
com.atlassian.crowd.model.user.InternalUser internalFindByName(long directoryId, String userName) throws com.atlassian.crowd.exception.UserNotFoundException
com.atlassian.crowd.exception.UserNotFoundException
com.atlassian.crowd.model.user.InternalUser internalFindByUser(com.atlassian.crowd.model.user.User user) throws com.atlassian.crowd.exception.UserNotFoundException
com.atlassian.crowd.exception.UserNotFoundException
void removeAllUsers(long directoryId)
Collection<com.atlassian.crowd.model.user.InternalUser> findByNames(long directoryId, Collection<String> userNames)
directoryId
- userNames
- T add(com.atlassian.crowd.model.user.User user, com.atlassian.crowd.embedded.api.PasswordCredential credential) throws com.atlassian.crowd.exception.UserAlreadyExistsException, IllegalArgumentException, com.atlassian.crowd.exception.DirectoryNotFoundException
add
in interface com.atlassian.crowd.embedded.spi.UserDao
com.atlassian.crowd.exception.UserAlreadyExistsException
IllegalArgumentException
com.atlassian.crowd.exception.DirectoryNotFoundException
Copyright © 2003–2021 Atlassian. All rights reserved.