public class RemoteDirectoryCacheRefresher extends AbstractCacheRefresher implements CacheRefresher
| Modifier and Type | Field and Description |
|---|---|
static EntityQuery<GroupWithAttributes> |
ALL_REMOTE_GROUPS_QUERY |
remoteDirectory| Constructor and Description |
|---|
RemoteDirectoryCacheRefresher(RemoteDirectory remoteDirectory) |
| Modifier and Type | Method and Description |
|---|---|
protected List<? extends GroupWithAttributes> |
synchroniseAllGroups(DirectoryCache directoryCache) |
protected List<? extends UserWithAttributes> |
synchroniseAllUsers(DirectoryCache directoryCache,
boolean withAttributes) |
boolean |
synchroniseChanges(DirectoryCache directoryCache)
Attempts to synchronise changes since the last refresh as opposed to performing a full synchronisation.
|
directoryDescription, isIncrementalSyncEnabled, isUserAttributeSynchronisationEnabled, synchroniseAll, synchroniseAllGroupAttributes, synchroniseAllUserAttributes, synchroniseMembershipsclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitsynchroniseAllpublic static final EntityQuery<GroupWithAttributes> ALL_REMOTE_GROUPS_QUERY
public RemoteDirectoryCacheRefresher(RemoteDirectory remoteDirectory)
public boolean synchroniseChanges(DirectoryCache directoryCache) throws OperationFailedException
CacheRefreshersynchroniseChanges in interface CacheRefresherdirectoryCache - the DirectoryCache to update.OperationFailedException - if there was an error processing the operationprotected List<? extends UserWithAttributes> synchroniseAllUsers(DirectoryCache directoryCache, boolean withAttributes) throws OperationFailedException
synchroniseAllUsers in class AbstractCacheRefresherOperationFailedExceptionprotected List<? extends GroupWithAttributes> synchroniseAllGroups(DirectoryCache directoryCache) throws OperationFailedException
synchroniseAllGroups in class AbstractCacheRefresherOperationFailedExceptionCopyright © 2018 Atlassian. All rights reserved.