public interface InternalUserDao extends UserDao
User
.Modifier and Type | Method and Description |
---|---|
BatchResultWithIdReferences<User> |
addAll(Collection<UserTemplateWithCredentialAndAttributes> users) |
Map<String,String> |
findByExternalIds(long directoryId,
Set<String> externalIds)
Searches the specified directory for usernames of users with the specified external ids, returns
a map from external id to username
|
Collection<InternalUser> |
findByIds(Collection<Long> userIds)
Bulk find of users with the specified database identifiers.
|
Collection<InternalUser> |
findByNames(long directoryID,
Collection<String> usernames)
Bulk find of users using SQL disjunction.
|
Collection<MinimalUser> |
findMinimalUsersByNames(long directoryId,
Collection<String> usernames)
Bulk find of users using SQL disjunction.
|
void |
removeAll(long directoryId) |
add, addAll, findByExternalId, findByName, findByNameWithAttributes, getAllExternalIds, getCredential, getCredentialHistory, getUserCount, remove, removeAllUsers, removeAttribute, rename, search, setAttributeForAllInDirectory, storeAttributes, update, updateCredential
BatchResultWithIdReferences<User> addAll(Collection<UserTemplateWithCredentialAndAttributes> users)
void removeAll(long directoryId) throws DirectoryNotFoundException
DirectoryNotFoundException
Collection<InternalUser> findByNames(long directoryID, Collection<String> usernames)
findMinimalUsersByNames(long, Collection)
should be used instead due to performance reasons.directoryID
- the directory to search for the users.usernames
- names of users to findCollection<MinimalUser> findMinimalUsersByNames(long directoryId, Collection<String> usernames)
directoryId
- the directory to search for the users.usernames
- names of users to findCollection<InternalUser> findByIds(Collection<Long> userIds)
userIds
- identifiers of users that will be foundMap<String,String> findByExternalIds(long directoryId, Set<String> externalIds)
directoryId
- the directory to search for the usersexternalIds
- the external ids of the users to search forCopyright © 2018 Atlassian. All rights reserved.