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
OperationFailedException
void deleteCachedUsersByGuid(Set<String> usernames) throws OperationFailedException
OperationFailedException
void deleteCachedGroupsNotIn(GroupType groupType, List<? extends Group> ldapGroups, Date syncStartDate) throws OperationFailedException
OperationFailedException
void deleteCachedGroupsNotInByExternalId(Collection<? extends Group> remoteGroups, Date syncStartDate) throws OperationFailedException
OperationFailedException
void deleteCachedGroups(Set<String> groupnames) throws OperationFailedException
OperationFailedException
void deleteCachedGroupsByGuids(Set<String> guids) throws OperationFailedException
OperationFailedException
AddUpdateSets<UserTemplateWithCredentialAndAttributes,UserTemplate> getUsersToAddAndUpdate(Collection<? extends User> remoteUsers, Date syncStartDate) throws OperationFailedException
OperationFailedException
void addUsers(Set<UserTemplateWithCredentialAndAttributes> usersToAdd) throws OperationFailedException
OperationFailedException
void updateUsers(Collection<UserTemplate> usersToUpdate) throws OperationFailedException
OperationFailedException
DirectoryCacheChangeOperations.GroupsToAddUpdateReplace findGroupsToUpdate(Collection<? extends Group> remoteGroups, Date syncStartDate) throws OperationFailedException
OperationFailedException
void removeGroups(Collection<String> keySet) throws OperationFailedException
OperationFailedException
void addGroups(Set<GroupTemplate> allToAdd) throws OperationFailedException
OperationFailedException
void updateGroups(Collection<GroupTemplate> groupsToUpdate) throws OperationFailedException
OperationFailedException
DirectoryCacheChangeOperations.GroupShadowingType isGroupShadowed(Group group) throws OperationFailedException
OperationFailedException
DirectoryCacheChangeOperations.AddRemoveSets<String> findUserMembershipForGroupChanges(Group group, Collection<String> remoteUsers) throws OperationFailedException
OperationFailedException
void addUserMembershipsForGroup(Group group, Set<String> toAdd) throws OperationFailedException
OperationFailedException
void removeUserMembershipsForGroup(Group group, Set<String> toRemove) throws OperationFailedException
OperationFailedException
DirectoryCacheChangeOperations.AddRemoveSets<String> findGroupMembershipForGroupChanges(Group parentGroup, Collection<String> remoteGroups) throws OperationFailedException
OperationFailedException
void addGroupMembershipsForGroup(Group parentGroup, Collection<String> toAdd) throws OperationFailedException
OperationFailedException
void removeGroupMembershipsForGroup(Group parentGroup, Collection<String> toRemove) throws OperationFailedException
OperationFailedException
Set<String> getAllUserGuids() throws OperationFailedException
OperationFailedException
long getUserCount() throws OperationFailedException
OperationFailedException
Set<String> getAllGroupGuids() throws OperationFailedException
OperationFailedException
long getGroupCount() throws OperationFailedException
OperationFailedException
long getExternalCachedGroupCount() throws OperationFailedException
OperationFailedException
Set<String> getAllLocalGroupNames() throws OperationFailedException
OperationFailedException
void addOrUpdateCachedUser(User user) throws OperationFailedException
OperationFailedException
void deleteCachedUser(String username) throws OperationFailedException
OperationFailedException
void addOrUpdateCachedGroup(Group group) throws OperationFailedException
OperationFailedException
void deleteCachedGroup(String groupName) throws OperationFailedException
OperationFailedException
void addUserToGroup(String username, String groupName) throws OperationFailedException
OperationFailedException
void removeUserFromGroup(String username, String groupName) throws OperationFailedException
OperationFailedException
void addGroupToGroup(String childGroup, String parentGroup) throws OperationFailedException
OperationFailedException
void removeGroupFromGroup(String childGroup, String parentGroup) throws OperationFailedException
OperationFailedException
void syncGroupMembershipsForUser(String childUsername, Set<String> parentGroupNames) throws OperationFailedException
OperationFailedException
void syncGroupMembershipsAndMembersForGroup(String groupName, Set<String> parentGroupNames, Set<String> childGroupNames) throws OperationFailedException
OperationFailedException
UserWithAttributes 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 findOperationFailedException
Map<String,String> findGroupsExternalIdsByNames(Set<String> groupNames) throws OperationFailedException
groupNames
- names of the groups to findOperationFailedException
void 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)UserNotFoundException
OperationFailedException
void 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)GroupNotFoundException
OperationFailedException
Copyright © 2021 Atlassian. All rights reserved.
View cookie preferences