com.atlassian.crowd.directory.ldap.cache
Class AbstractCacheRefresher
java.lang.Object
com.atlassian.crowd.directory.ldap.cache.AbstractCacheRefresher
- All Implemented Interfaces:
- CacheRefresher
- Direct Known Subclasses:
- RemoteDirectoryCacheRefresher, UsnChangedCacheRefresher
public abstract class AbstractCacheRefresher
- extends java.lang.Object
- implements CacheRefresher
- Since:
- v2.1
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
remoteDirectory
protected final RemoteDirectory remoteDirectory
AbstractCacheRefresher
public AbstractCacheRefresher(RemoteDirectory remoteDirectory)
synchroniseAll
public void synchroniseAll(DirectoryCache directoryCache)
throws OperationFailedException
- Description copied from interface:
CacheRefresher
- Will visit all Users and Groups in the external directory in order to do a Full refresh.
- Specified by:
synchroniseAll in interface CacheRefresher
- Parameters:
directoryCache - the DirectoryCache to update.
- Throws:
OperationFailedException - if there was an error processing the operation
synchroniseAllUsers
protected abstract void synchroniseAllUsers(DirectoryCache directoryCache)
throws OperationFailedException
- Throws:
OperationFailedException
synchroniseAllGroups
protected abstract java.util.List<? extends Group> synchroniseAllGroups(GroupType legacyRole,
DirectoryCache directoryCache)
throws OperationFailedException
- Throws:
OperationFailedException
synchroniseMemberships
protected void synchroniseMemberships(GroupType groupType,
java.util.List<? extends Group> remoteGroups,
DirectoryCache directoryCache)
throws OperationFailedException
- Throws:
OperationFailedException
synchroniseMembershipsForGroup
protected void synchroniseMembershipsForGroup(GroupType groupType,
Group ldapGroup,
DirectoryCache directoryCache)
throws OperationFailedException
- Throws:
OperationFailedException
directoryDescription
protected java.lang.String directoryDescription()
Copyright © 2011 Atlassian. All Rights Reserved.