Class HibernateDirectorySynchronisationTokenDao
- java.lang.Object
-
- com.atlassian.confluence.impl.user.crowd.hibernate.HibernateDirectorySynchronisationTokenDao
-
- All Implemented Interfaces:
com.atlassian.crowd.embedded.spi.DirectorySynchronisationTokenDao
public final class HibernateDirectorySynchronisationTokenDao extends Object implements com.atlassian.crowd.embedded.spi.DirectorySynchronisationTokenDao
- Since:
- 7.11.0
-
-
Constructor Summary
Constructors Constructor Description HibernateDirectorySynchronisationTokenDao(org.hibernate.SessionFactory sessionFactory, com.atlassian.sal.api.transaction.TransactionTemplate transactionTemplate, com.atlassian.crowd.embedded.spi.DirectoryDao directoryDao)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
clearSynchronisationTokenForDirectory(long directoryId)
@Nullable String
getLastSynchronisationTokenForDirectory(long directoryId)
void
storeSynchronisationTokenForDirectory(long directoryId, String synchronisationToken)
-
-
-
Method Detail
-
getLastSynchronisationTokenForDirectory
public @Nullable String getLastSynchronisationTokenForDirectory(long directoryId)
- Specified by:
getLastSynchronisationTokenForDirectory
in interfacecom.atlassian.crowd.embedded.spi.DirectorySynchronisationTokenDao
-
storeSynchronisationTokenForDirectory
public void storeSynchronisationTokenForDirectory(long directoryId, String synchronisationToken) throws com.atlassian.crowd.exception.DirectoryNotFoundException
- Specified by:
storeSynchronisationTokenForDirectory
in interfacecom.atlassian.crowd.embedded.spi.DirectorySynchronisationTokenDao
- Throws:
com.atlassian.crowd.exception.DirectoryNotFoundException
-
clearSynchronisationTokenForDirectory
public void clearSynchronisationTokenForDirectory(long directoryId)
- Specified by:
clearSynchronisationTokenForDirectory
in interfacecom.atlassian.crowd.embedded.spi.DirectorySynchronisationTokenDao
-
-