Interface DirectorySynchronisationTokenStore
- All Known Implementing Classes:
InDatabaseDirectorySynchronisationTokenStore,InMemoryDirectorySynchronisationTokenStore
public interface DirectorySynchronisationTokenStore
Responsible for storing and obtaining directory synchronisation tokens
-
Method Summary
Modifier and TypeMethodDescriptionvoidclearSynchronisationTokenForDirectory(long directoryId) Clears the synchronisation token for the given directorygetLastSynchronisationTokenForDirectory(long directoryId) Returns the last stored synchronisation token for the directoryvoidstoreSynchronisationTokenForDirectory(long directoryId, String syncStatus) Store a new synchronisation token for the given directory.
-
Method Details
-
getLastSynchronisationTokenForDirectory
Returns the last stored synchronisation token for the directory- Parameters:
directoryId- the id of the directory- Returns:
- the last stored synchronisation token
-
storeSynchronisationTokenForDirectory
Store a new synchronisation token for the given directory. This will overwrite the old token.- Parameters:
directoryId- the id of the directorysynchronisationToken- the new token to store
-
clearSynchronisationTokenForDirectory
void clearSynchronisationTokenForDirectory(long directoryId) Clears the synchronisation token for the given directory- Parameters:
directoryId- directory id
-