|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface DirectorySynchroniserHelper
Helper class for performing a synchronisation on the SynchronisableDirectory's cache. Implementations of
this interface are responsible for ensuring that database operations are wrapped in a transaction where applicable.
| Method Summary | |
|---|---|
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. |
| Method Detail |
|---|
void updateSyncStartTime(SynchronisableDirectory synchronisableDirectory)
throws DirectoryNotFoundException
SynchronisableDirectory's current synchronisation start time.
synchronisableDirectory - directory to update
DirectoryNotFoundException - if the directory could not be found
void updateSyncEndTime(SynchronisableDirectory synchronisableDirectory)
throws DirectoryNotFoundException
updateSyncStartTime(com.atlassian.crowd.directory.SynchronisableDirectory) must have been invoked
before this method call.
synchronisableDirectory - directory to update
java.lang.IllegalStateException - if the directory is not currently synchronising.
DirectoryNotFoundException - If the directory could not be found
boolean isSynchronising(long synchronisableDirectoryId)
throws DirectoryNotFoundException
synchronisableDirectoryId - synchronisable directory id
DirectoryNotFoundException - if the directory could not be found
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||