public interface DirectoryCacheChangeOperations
| Modifier and Type | Interface and Description |
|---|---|
static class |
DirectoryCacheChangeOperations.AddRemoveSets<T> |
static class |
DirectoryCacheChangeOperations.GroupShadowingType |
static class |
DirectoryCacheChangeOperations.GroupsToAddUpdateReplace |
void deleteCachedUsersNotIn(Collection<? extends User> users, Date syncStartDate) throws OperationFailedException
OperationFailedExceptionvoid deleteCachedUsersByGuid(Set<String> usernames) throws OperationFailedException
OperationFailedExceptionvoid deleteCachedGroupsNotIn(GroupType groupType, List<? extends Group> ldapGroups, Date syncStartDate) throws OperationFailedException
OperationFailedExceptionvoid deleteCachedGroupsNotInByExternalId(Collection<? extends Group> remoteGroups, Date syncStartDate) throws OperationFailedException
OperationFailedExceptionvoid deleteCachedGroups(Set<String> groupnames) throws OperationFailedException
OperationFailedExceptionvoid deleteCachedGroupsByGuids(Set<String> guids) throws OperationFailedException
OperationFailedExceptionAddUpdateSets<UserTemplateWithCredentialAndAttributes,UserTemplate> getUsersToAddAndUpdate(Collection<? extends User> remoteUsers, Date syncStartDate) throws OperationFailedException
OperationFailedExceptionvoid addUsers(Set<UserTemplateWithCredentialAndAttributes> usersToAdd) throws OperationFailedException
OperationFailedExceptionvoid updateUsers(Collection<UserTemplate> usersToUpdate) throws OperationFailedException
OperationFailedExceptionDirectoryCacheChangeOperations.GroupsToAddUpdateReplace findGroupsToUpdate(Collection<? extends Group> remoteGroups, Date syncStartDate) throws OperationFailedException
OperationFailedExceptionvoid removeGroups(Collection<String> keySet) throws OperationFailedException
OperationFailedExceptionvoid addGroups(Set<GroupTemplate> allToAdd) throws OperationFailedException
OperationFailedExceptionvoid updateGroups(Collection<GroupTemplate> groupsToUpdate) throws OperationFailedException
OperationFailedExceptionDirectoryCacheChangeOperations.GroupShadowingType isGroupShadowed(Group group) throws OperationFailedException
OperationFailedExceptionDirectoryCacheChangeOperations.AddRemoveSets<String> findUserMembershipForGroupChanges(Group group, Collection<String> remoteUsers) throws OperationFailedException
OperationFailedExceptionvoid addUserMembershipsForGroup(Group group, Set<String> toAdd) throws OperationFailedException
OperationFailedExceptionvoid removeUserMembershipsForGroup(Group group, Set<String> toRemove) throws OperationFailedException
OperationFailedExceptionDirectoryCacheChangeOperations.AddRemoveSets<String> findGroupMembershipForGroupChanges(Group parentGroup, Collection<String> remoteGroups) throws OperationFailedException
OperationFailedExceptionvoid addGroupMembershipsForGroup(Group parentGroup, Collection<String> toAdd) throws OperationFailedException
OperationFailedExceptionvoid removeGroupMembershipsForGroup(Group parentGroup, Collection<String> toRemove) throws OperationFailedException
OperationFailedExceptionSet<String> getAllUserGuids() throws OperationFailedException
OperationFailedExceptionlong getUserCount()
throws OperationFailedException
OperationFailedExceptionSet<String> getAllGroupGuids() throws OperationFailedException
OperationFailedExceptionlong getGroupCount()
throws OperationFailedException
OperationFailedExceptionlong getExternalCachedGroupCount()
throws OperationFailedException
OperationFailedExceptionSet<String> getAllLocalGroupNames() throws OperationFailedException
OperationFailedExceptionvoid addOrUpdateCachedUser(User user) throws OperationFailedException
OperationFailedExceptionvoid deleteCachedUser(String username) throws OperationFailedException
OperationFailedExceptionvoid addOrUpdateCachedGroup(Group group) throws OperationFailedException
OperationFailedExceptionvoid deleteCachedGroup(String groupName) throws OperationFailedException
OperationFailedExceptionvoid addUserToGroup(String username, String groupName) throws OperationFailedException
OperationFailedExceptionvoid removeUserFromGroup(String username, String groupName) throws OperationFailedException
OperationFailedExceptionvoid addGroupToGroup(String childGroup, String parentGroup) throws OperationFailedException
OperationFailedExceptionvoid removeGroupFromGroup(String childGroup, String parentGroup) throws OperationFailedException
OperationFailedExceptionvoid syncGroupMembershipsForUser(String childUsername, Set<String> parentGroupNames) throws OperationFailedException
OperationFailedExceptionvoid syncGroupMembershipsAndMembersForGroup(String groupName, Set<String> parentGroupNames, Set<String> childGroupNames) throws OperationFailedException
OperationFailedExceptionUserWithAttributes findUserWithAttributesByName(String name) throws UserNotFoundException, OperationFailedException
GroupWithAttributes findGroupWithAttributesByName(String name) throws GroupNotFoundException, OperationFailedException
Map<String,String> findGroupsByExternalIds(Set<String> externalIds) throws OperationFailedException
externalIds - external ids of the groups to findOperationFailedExceptionMap<String,String> findGroupsExternalIdsByNames(Set<String> groupNames) throws OperationFailedException
groupNames - names of the groups to findOperationFailedExceptionvoid applySyncingUserAttributes(String userName, Set<String> deletedAttributes, Map<String,Set<String>> storedAttributes) throws UserNotFoundException, OperationFailedException
userName - user to apply attributes todeletedAttributes - attribute keys that need to be deletedstoredAttributes - attributes and values that need to be saved (will overwrite any existing attributes with the same keys)UserNotFoundExceptionOperationFailedExceptionvoid applySyncingGroupAttributes(String groupName, Set<String> deletedAttributes, Map<String,Set<String>> storedAttributes) throws GroupNotFoundException, OperationFailedException
groupName - group to apply attributes todeletedAttributes - attribute keys that need to be deletedstoredAttributes - attributes and values that need to be saved (will overwrite any existing attributes with the same keys)GroupNotFoundExceptionOperationFailedExceptionCopyright © 2025 Atlassian. All rights reserved.