public interface DirectorySynchronisationTokenDao
Modifier and Type | Method and Description |
---|---|
void |
clearSynchronisationTokenForDirectory(long directoryId)
Clears the synchronisation token for the given directory
|
String |
getLastSynchronisationTokenForDirectory(long directoryId)
Returns the last stored synchronisation token for the directory
|
void |
storeSynchronisationTokenForDirectory(long directoryId,
String synchronisationToken)
Store a new synchronisation token for the given directory.
|
String getLastSynchronisationTokenForDirectory(long directoryId)
directoryId
- the id of the directoryvoid storeSynchronisationTokenForDirectory(long directoryId, String synchronisationToken) throws DirectoryNotFoundException
directoryId
- the id of the directorysynchronisationToken
- the new token to storeDirectoryNotFoundException
void clearSynchronisationTokenForDirectory(long directoryId)
directoryId
- directory idCopyright © 2019 Atlassian. All rights reserved.