public abstract class AbstractCacheRefresher extends Object implements CacheRefresher
| Modifier and Type | Field and Description |
|---|---|
protected RemoteDirectory |
remoteDirectory |
| Constructor and Description |
|---|
AbstractCacheRefresher(RemoteDirectory remoteDirectory) |
| Modifier and Type | Method and Description |
|---|---|
protected String |
directoryDescription() |
protected boolean |
isIncrementalSyncEnabled() |
protected boolean |
isUserAttributeSynchronisationEnabled() |
void |
synchroniseAll(DirectoryCache directoryCache)
Will visit all Users and Groups in the external directory in order to do a Full refresh.
|
protected void |
synchroniseAllGroupAttributes(List<? extends GroupWithAttributes> remoteGroups,
DirectoryCache directoryCache) |
protected abstract List<? extends GroupWithAttributes> |
synchroniseAllGroups(DirectoryCache directoryCache) |
protected void |
synchroniseAllUserAttributes(List<? extends UserWithAttributes> remoteUsers,
DirectoryCache directoryCache) |
protected abstract List<? extends UserWithAttributes> |
synchroniseAllUsers(DirectoryCache directoryCache,
boolean withAttributes) |
protected void |
synchroniseMemberships(List<? extends Group> remoteGroups,
DirectoryCache directoryCache) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitsynchroniseChangesprotected final RemoteDirectory remoteDirectory
public AbstractCacheRefresher(RemoteDirectory remoteDirectory)
public void synchroniseAll(DirectoryCache directoryCache) throws OperationFailedException
CacheRefreshersynchroniseAll in interface CacheRefresherdirectoryCache - the DirectoryCache to update.OperationFailedException - if there was an error processing the operationprotected abstract List<? extends UserWithAttributes> synchroniseAllUsers(DirectoryCache directoryCache, boolean withAttributes) throws OperationFailedException
OperationFailedExceptionprotected abstract List<? extends GroupWithAttributes> synchroniseAllGroups(DirectoryCache directoryCache) throws OperationFailedException
OperationFailedExceptionprotected boolean isUserAttributeSynchronisationEnabled()
protected void synchroniseAllUserAttributes(List<? extends UserWithAttributes> remoteUsers, DirectoryCache directoryCache) throws OperationFailedException
OperationFailedExceptionprotected void synchroniseAllGroupAttributes(List<? extends GroupWithAttributes> remoteGroups, DirectoryCache directoryCache) throws OperationFailedException
OperationFailedExceptionprotected void synchroniseMemberships(List<? extends Group> remoteGroups, DirectoryCache directoryCache) throws OperationFailedException
OperationFailedExceptionprotected boolean isIncrementalSyncEnabled()
protected String directoryDescription()
Copyright © 2016 Atlassian. All rights reserved.