public class DirectoryCacheImplUsingChangeOperations extends Object implements DirectoryCache
| Constructor and Description |
|---|
DirectoryCacheImplUsingChangeOperations(DirectoryCacheChangeOperations dc) |
public DirectoryCacheImplUsingChangeOperations(DirectoryCacheChangeOperations dc)
public com.atlassian.crowd.directory.synchronisation.utils.AddUpdateSets<UserTemplateWithCredentialAndAttributes,UserTemplate> addOrUpdateCachedUsers(Collection<? extends User> remoteUsers, Date syncStartDate) throws OperationFailedException
addOrUpdateCachedUsers in interface DirectoryCacheOperationFailedExceptionpublic void deleteCachedUsersByGuid(Set<String> guids) throws OperationFailedException
deleteCachedUsersByGuid in interface DirectoryCacheOperationFailedExceptionpublic void addOrUpdateCachedGroups(Collection<? extends Group> remoteGroups, Date syncStartDate) throws OperationFailedException
addOrUpdateCachedGroups in interface DirectoryCacheOperationFailedExceptionpublic void deleteCachedGroupsNotIn(GroupType groupType, List<? extends Group> remoteGroups, Date syncStartDate) throws OperationFailedException
deleteCachedGroupsNotIn in interface DirectoryCacheOperationFailedExceptionpublic void deleteCachedGroupsNotInByExternalId(Collection<? extends Group> remoteGroups, Date syncStartDate) throws OperationFailedException
deleteCachedGroupsNotInByExternalId in interface DirectoryCacheOperationFailedExceptionpublic void syncUserMembersForGroup(Group parentGroup, Collection<String> remoteUsers) throws OperationFailedException
syncUserMembersForGroup in interface DirectoryCacheOperationFailedExceptionpublic void addUserMembersForGroup(Group parentGroup, Set<String> remoteUsers) throws OperationFailedException
addUserMembersForGroup in interface DirectoryCacheOperationFailedExceptionpublic void deleteUserMembersForGroup(Group parentGroup, Set<String> remoteUsers) throws OperationFailedException
deleteUserMembersForGroup in interface DirectoryCacheOperationFailedExceptionpublic void syncGroupMembersForGroup(Group parentGroup, Collection<String> remoteGroups) throws OperationFailedException
syncGroupMembersForGroup in interface DirectoryCacheOperationFailedExceptionpublic void addGroupMembersForGroup(Group parentGroup, Set<String> remoteGroups) throws OperationFailedException
addGroupMembersForGroup in interface DirectoryCacheOperationFailedExceptionpublic void deleteGroupMembersForGroup(Group parentGroup, Set<String> remoteGroups) throws OperationFailedException
deleteGroupMembersForGroup in interface DirectoryCacheOperationFailedExceptionpublic void deleteCachedGroups(Set<String> groupnames) throws OperationFailedException
deleteCachedGroups in interface DirectoryCacheOperationFailedExceptionpublic void deleteCachedGroupsByGuids(Set<String> guids) throws OperationFailedException
deleteCachedGroupsByGuids in interface DirectoryCacheOperationFailedExceptionpublic void deleteCachedUsersNotIn(Collection<? extends User> users, Date syncStartDate) throws OperationFailedException
deleteCachedUsersNotIn in interface DirectoryCacheOperationFailedExceptionpublic void addOrUpdateCachedUser(User user) throws OperationFailedException
addOrUpdateCachedUser in interface DirectoryCacheOperationFailedExceptionpublic void deleteCachedUser(String username) throws OperationFailedException
deleteCachedUser in interface DirectoryCacheOperationFailedExceptionpublic void addOrUpdateCachedGroup(Group group) throws OperationFailedException
addOrUpdateCachedGroup in interface DirectoryCacheOperationFailedExceptionpublic void deleteCachedGroup(String groupName) throws OperationFailedException
deleteCachedGroup in interface DirectoryCacheOperationFailedExceptionpublic void addUserToGroup(String username, String groupName) throws OperationFailedException
addUserToGroup in interface DirectoryCacheOperationFailedExceptionpublic void removeUserFromGroup(String username, String groupName) throws OperationFailedException
removeUserFromGroup in interface DirectoryCacheOperationFailedExceptionpublic void addGroupToGroup(String childGroup, String parentGroup) throws OperationFailedException
addGroupToGroup in interface DirectoryCacheOperationFailedExceptionpublic void removeGroupFromGroup(String childGroup, String parentGroup) throws OperationFailedException
removeGroupFromGroup in interface DirectoryCacheOperationFailedExceptionpublic void syncGroupMembershipsForUser(String childUsername, Set<String> parentGroupNames) throws OperationFailedException
syncGroupMembershipsForUser in interface DirectoryCacheOperationFailedExceptionpublic void syncGroupMembershipsAndMembersForGroup(String groupName, Set<String> parentGroupNames, Set<String> childGroupNames) throws OperationFailedException
syncGroupMembershipsAndMembersForGroup in interface DirectoryCacheOperationFailedExceptionpublic Set<String> getAllUserGuids() throws OperationFailedException
getAllUserGuids in interface DirectoryCacheOperationFailedExceptionpublic Set<String> getAllGroupGuids() throws OperationFailedException
getAllGroupGuids in interface DirectoryCacheOperationFailedExceptionpublic Set<String> getAllLocalGroupNames() throws OperationFailedException
getAllLocalGroupNames in interface DirectoryCacheOperationFailedExceptionpublic long getUserCount()
throws OperationFailedException
getUserCount in interface DirectoryCacheOperationFailedExceptionpublic long getGroupCount()
throws OperationFailedException
getGroupCount in interface DirectoryCacheOperationFailedExceptionpublic long getExternalCachedGroupCount()
throws OperationFailedException
getExternalCachedGroupCount in interface DirectoryCacheOperationFailedExceptionpublic UserWithAttributes findUserWithAttributesByName(String name) throws UserNotFoundException, OperationFailedException
findUserWithAttributesByName in interface DirectoryCacheUserNotFoundExceptionOperationFailedExceptionpublic Map<String,String> findUsersByExternalIds(Set<String> externalIds)
findUsersByExternalIds in interface DirectoryCachepublic Map<String,String> findGroupsByExternalIds(Set<String> externalIds) throws OperationFailedException
findGroupsByExternalIds in interface DirectoryCacheOperationFailedExceptionpublic Map<String,String> findGroupsExternalIdsByNames(Set<String> groupNames) throws OperationFailedException
findGroupsExternalIdsByNames in interface DirectoryCacheOperationFailedExceptionpublic GroupWithAttributes findGroupWithAttributesByName(String name) throws GroupNotFoundException, OperationFailedException
findGroupWithAttributesByName in interface DirectoryCacheGroupNotFoundExceptionOperationFailedExceptionpublic void applySyncingUserAttributes(String userName, Set<String> deletedAttributes, Map<String,Set<String>> storedAttributes) throws UserNotFoundException, OperationFailedException
applySyncingUserAttributes in interface DirectoryCacheUserNotFoundExceptionOperationFailedExceptionpublic void applySyncingGroupAttributes(String groupName, Set<String> deletedAttributes, Map<String,Set<String>> storedAttributes) throws GroupNotFoundException, OperationFailedException
applySyncingGroupAttributes in interface DirectoryCacheGroupNotFoundExceptionOperationFailedExceptionCopyright © 2023 Atlassian. All rights reserved.