public interface DirectorySynchroniserHelper
SynchronisableDirectory
's cache. Implementations of
this interface are responsible for ensuring that database operations are wrapped in a transaction where applicable.Modifier and Type | Method and Description |
---|---|
boolean |
isSynchronising(long synchronisableDirectoryId)
Returns true if the given directory is currently being synchronised.
|
void |
updateSyncEndTime(SynchronisableDirectory synchronisableDirectory)
Updates information relevant to a directory's current synchronisation end time.
|
void |
updateSyncStartTime(SynchronisableDirectory synchronisableDirectory)
Updates a
SynchronisableDirectory 's current synchronisation start time. |
void updateSyncStartTime(SynchronisableDirectory synchronisableDirectory) throws DirectoryNotFoundException
SynchronisableDirectory
's current synchronisation start time.synchronisableDirectory
- directory to updateDirectoryNotFoundException
- if the directory could not be foundvoid updateSyncEndTime(SynchronisableDirectory synchronisableDirectory) throws DirectoryNotFoundException
updateSyncStartTime(com.atlassian.crowd.directory.SynchronisableDirectory)
must have been invoked
before this method call.synchronisableDirectory
- directory to updateIllegalStateException
- if the directory is not currently synchronising.DirectoryNotFoundException
- If the directory could not be foundboolean isSynchronising(long synchronisableDirectoryId) throws DirectoryNotFoundException
synchronisableDirectoryId
- synchronisable directory idDirectoryNotFoundException
- if the directory could not be foundCopyright © 2013 Atlassian. All Rights Reserved.