Index
All Classes and Interfaces|All Packages
A
- add(Directory) - Method in interface com.atlassian.crowd.embedded.spi.DirectoryDao
-
Store a new directory in the data store.
- add(DirectorySynchronisationStatus) - Method in interface com.atlassian.crowd.embedded.spi.DirectorySynchronisationStatusDao
-
Saves a new synchronisation status
- add(Group) - Method in interface com.atlassian.crowd.embedded.spi.GroupDao
-
Adds a new group.
- add(User, PasswordCredential) - Method in interface com.atlassian.crowd.embedded.spi.UserDao
-
Creates a new user with the given details and credentials.
- addAll(Set<? extends Group>) - Method in interface com.atlassian.crowd.embedded.spi.GroupDao
-
Bulk add of groups.
- addAll(Set<UserTemplateWithCredentialAndAttributes>) - Method in interface com.atlassian.crowd.embedded.spi.UserDao
-
Bulk add users.
- addAllGroupsToGroup(long, Collection<String>, String) - Method in interface com.atlassian.crowd.embedded.spi.MembershipDao
-
Bulk adds all the given child groups into the given group.
- addAllUsersToGroup(long, Collection<String>, String) - Method in interface com.atlassian.crowd.embedded.spi.MembershipDao
-
Bulk adds all the given users into the given group.
- addGroupToGroup(long, String, String) - Method in interface com.atlassian.crowd.embedded.spi.MembershipDao
-
Adds group as a child of the (supposedly) parent group.
- addLocal(Group) - Method in interface com.atlassian.crowd.embedded.spi.GroupDao
-
Add a new local group.
- addUserToGroup(long, String, String) - Method in interface com.atlassian.crowd.embedded.spi.MembershipDao
-
Adds user as a member of group.
- addUserToGroups(long, String, Set<String>) - Method in interface com.atlassian.crowd.embedded.spi.MembershipDao
-
Bulk adds the given user to all the given groups.
C
- clearSynchronisationTokenForDirectory(long) - Method in interface com.atlassian.crowd.embedded.spi.DirectorySynchronisationTokenDao
-
Clears the synchronisation token for the given directory
- com.atlassian.crowd.embedded.spi - package com.atlassian.crowd.embedded.spi
- countDirectMembersOfGroup(long, String, int) - Method in interface com.atlassian.crowd.embedded.spi.MembershipDao
-
Count the direct members of a group with a recommended upper bound on the count.
D
- DcLicenseChecker - Interface in com.atlassian.crowd.embedded.spi
-
Interface to determine whether current license is DC.
- DirectoryDao - Interface in com.atlassian.crowd.embedded.spi
-
Stores and retrieves directories.
- DirectorySynchronisationStatusDao - Interface in com.atlassian.crowd.embedded.spi
-
A DAO to store synchronisation progress and results
- DirectorySynchronisationTokenDao - Interface in com.atlassian.crowd.embedded.spi
F
- findActiveForDirectory(long) - Method in interface com.atlassian.crowd.embedded.spi.DirectorySynchronisationStatusDao
- findActiveSyncsWhereNodeIdNotIn(Set<String>) - Method in interface com.atlassian.crowd.embedded.spi.DirectorySynchronisationStatusDao
- findAll() - Method in interface com.atlassian.crowd.embedded.spi.DirectoryDao
-
Deprecated.
- findByExternalId(long, String) - Method in interface com.atlassian.crowd.embedded.spi.UserDao
-
Finds and returns the user with the given unique/external id and directory ID.
- findByExternalIds(long, Set<String>) - Method in interface com.atlassian.crowd.embedded.spi.GroupDao
-
Searches the specified directory for group names of groups with the specified external ids
- findByExternalIds(long, Set<String>) - Method in interface com.atlassian.crowd.embedded.spi.UserDao
-
Searches the specified directory for usernames of users with the specified external ids, returns a map from external id to username
- findById(long) - Method in interface com.atlassian.crowd.embedded.spi.DirectoryDao
-
Returns the directory with the specified ID, throwing
DirectoryNotFoundExceptionif it cannot be found. - findByName(long, String) - Method in interface com.atlassian.crowd.embedded.spi.GroupDao
-
Finds group by name.
- findByName(long, String) - Method in interface com.atlassian.crowd.embedded.spi.UserDao
-
Finds and returns the user with the given name and directory ID.
- findByName(String) - Method in interface com.atlassian.crowd.embedded.spi.DirectoryDao
-
Returns the directory with the specified name, throwing
DirectoryNotFoundExceptionif it cannot be found. - findByNameWithAttributes(long, String) - Method in interface com.atlassian.crowd.embedded.spi.GroupDao
-
Finds group by name.
- findByNameWithAttributes(long, String) - Method in interface com.atlassian.crowd.embedded.spi.UserDao
-
Finds and returns the user with attributes with the given name and directory ID.
- findDirectoryIdsContainingUserName(String) - Method in interface com.atlassian.crowd.embedded.spi.UserDao
-
Find IDs of the directories that contain user with specified username in the cache
- findExternalIdsByNames(long, Set<String>) - Method in interface com.atlassian.crowd.embedded.spi.GroupDao
-
Searches the specified directory for externalIds of groups with the specified names
- findLastForDirectory(long) - Method in interface com.atlassian.crowd.embedded.spi.DirectorySynchronisationStatusDao
G
- getAllExternalIds(long) - Method in interface com.atlassian.crowd.embedded.spi.GroupDao
-
Return all group externalId in the given directory.
- getAllExternalIds(long) - Method in interface com.atlassian.crowd.embedded.spi.UserDao
-
Return all users externalId in the given directory.
- getCredential(long, String) - Method in interface com.atlassian.crowd.embedded.spi.UserDao
-
Returns the credential for the given user.
- getCredentialHistory(long, String) - Method in interface com.atlassian.crowd.embedded.spi.UserDao
-
Returns the previous credentials for the given user, starting with the oldest.
- getExternalGroupCount(long) - Method in interface com.atlassian.crowd.embedded.spi.GroupDao
-
Gets the count of external groups for a directory
- getGroupCount(long) - Method in interface com.atlassian.crowd.embedded.spi.GroupDao
-
Return number of groups in given directory.
- getLastSynchronisationTokenForDirectory(long) - Method in interface com.atlassian.crowd.embedded.spi.DirectorySynchronisationTokenDao
-
Returns the last stored synchronisation token for the directory
- getLocalGroupNames(long) - Method in interface com.atlassian.crowd.embedded.spi.GroupDao
-
Return names of all local groups in given directory.
- getUserCount(long) - Method in interface com.atlassian.crowd.embedded.spi.UserDao
-
Return number of users in given directory.
- GroupDao - Interface in com.atlassian.crowd.embedded.spi
H
- HostApplicationControl - Interface in com.atlassian.crowd.embedded.spi
-
Defines an interface that allows the host application to control the behaviour of the Crowd API.
I
- isDcLicense() - Method in interface com.atlassian.crowd.embedded.spi.DcLicenseChecker
-
Returns whether currently installed license is DC.
- isGroupDirectMember(long, String, String) - Method in interface com.atlassian.crowd.embedded.spi.MembershipDao
-
Determines whether the group is a direct member of the (supposedly) parent group.
- isUserDirectMember(long, String, String) - Method in interface com.atlassian.crowd.embedded.spi.MembershipDao
-
Determines whether the user is a direct member of the group.
M
- MembershipDao - Interface in com.atlassian.crowd.embedded.spi
R
- remove(Directory) - Method in interface com.atlassian.crowd.embedded.spi.DirectoryDao
-
Removes the specified directory from the data store.
- remove(Group) - Method in interface com.atlassian.crowd.embedded.spi.GroupDao
-
Removes group.
- remove(User) - Method in interface com.atlassian.crowd.embedded.spi.UserDao
-
Removes the user.
- removeAll() - Method in interface com.atlassian.crowd.embedded.spi.DirectorySynchronisationStatusDao
-
Removes all stored status information
- removeAllExcept(long, int) - Method in interface com.atlassian.crowd.embedded.spi.DirectorySynchronisationStatusDao
-
Removes all stored status information for the directory except the indicated one
- removeAllGroups(long, Set<String>) - Method in interface com.atlassian.crowd.embedded.spi.GroupDao
-
Bulk remove all the given groups.
- removeAllUsers(long, Set<String>) - Method in interface com.atlassian.crowd.embedded.spi.UserDao
-
Bulk remove all the given users from directory.
- removeAttribute(Group, String) - Method in interface com.atlassian.crowd.embedded.spi.GroupDao
-
Remove the attribute from the group.
- removeAttribute(User, String) - Method in interface com.atlassian.crowd.embedded.spi.UserDao
-
Removes the attributes for the user with the given name.
- removeGroupFromGroup(long, String, String) - Method in interface com.atlassian.crowd.embedded.spi.MembershipDao
-
Removes group from the parent group.
- removeGroupsFromGroup(long, Collection<String>, String) - Method in interface com.atlassian.crowd.embedded.spi.MembershipDao
-
Bulk remove all the given child groups from the given group.
- removeStatusesForDirectory(Long) - Method in interface com.atlassian.crowd.embedded.spi.DirectorySynchronisationStatusDao
-
Removes all stored status information for the directory with the specified id
- removeUserFromGroup(long, String, String) - Method in interface com.atlassian.crowd.embedded.spi.MembershipDao
-
Removes user as a member of the given group.
- removeUsersFromGroup(long, Collection<String>, String) - Method in interface com.atlassian.crowd.embedded.spi.MembershipDao
-
Bulk remove all the given users into the given group.
- rename(Group, String) - Method in interface com.atlassian.crowd.embedded.spi.GroupDao
-
Renames group.
- rename(User, String) - Method in interface com.atlassian.crowd.embedded.spi.UserDao
-
Changes the user's name to the provided new name.
S
- search(long, EntityQuery<T>) - Method in interface com.atlassian.crowd.embedded.spi.GroupDao
-
Searches for group based on the given criteria.
- search(long, EntityQuery<T>) - Method in interface com.atlassian.crowd.embedded.spi.UserDao
-
Returns users matching the search query in the given directory, ordered by name.
- search(long, MembershipQuery<T>) - Method in interface com.atlassian.crowd.embedded.spi.MembershipDao
-
Search for memberships by the given criteria.
- search(EntityQuery<Directory>) - Method in interface com.atlassian.crowd.embedded.spi.DirectoryDao
-
Search for directories matching the specified query.
- searchGroupedByName(long, MembershipQuery<T>) - Method in interface com.atlassian.crowd.embedded.spi.MembershipDao
-
Search for memberships by the given criteria.
- setAttributeForAllInDirectory(long, String, String) - Method in interface com.atlassian.crowd.embedded.spi.UserDao
-
Ensures that all users in the directory with the given ID have the attribute with the given name set (only) to the single given attribute value.
- storeAttributes(Group, Map<String, Set<String>>) - Method in interface com.atlassian.crowd.embedded.spi.GroupDao
-
Stores attributes into group.
- storeAttributes(User, Map<String, Set<String>>, boolean) - Method in interface com.atlassian.crowd.embedded.spi.UserDao
-
Adds or updates a user's attributes with the new Map of attribute values.
- storeSynchronisationTokenForDirectory(long, String) - Method in interface com.atlassian.crowd.embedded.spi.DirectorySynchronisationTokenDao
-
Store a new synchronisation token for the given directory.
U
- update(Directory) - Method in interface com.atlassian.crowd.embedded.spi.DirectoryDao
-
Persists any changes made to the provided directory.
- update(DirectorySynchronisationStatus) - Method in interface com.atlassian.crowd.embedded.spi.DirectorySynchronisationStatusDao
-
Updates an existing directory status
- update(Group) - Method in interface com.atlassian.crowd.embedded.spi.GroupDao
-
Updates group.
- update(User) - Method in interface com.atlassian.crowd.embedded.spi.UserDao
-
Updates all the user properties (except the username) of the user with the same directory and case-insensitive name.
- updateCredential(User, PasswordCredential, int) - Method in interface com.atlassian.crowd.embedded.spi.UserDao
-
Updates the credential (password) of the user with the same directory and case-insensitive name.
- UserDao - Interface in com.atlassian.crowd.embedded.spi
-
Responsible for the persistence and retrieval of
Users,PasswordCredentials and user attributes.
All Classes and Interfaces|All Packages
DirectoryDao.search(EntityQuery)instead. Since v3.2.0