Class 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 Detail

      • HibernateDirectorySynchronisationTokenDao

        public HibernateDirectorySynchronisationTokenDao​(org.hibernate.SessionFactory sessionFactory,
                                                         com.atlassian.sal.api.transaction.TransactionTemplate transactionTemplate,
                                                         com.atlassian.crowd.embedded.spi.DirectoryDao directoryDao)
    • Method Detail

      • getLastSynchronisationTokenForDirectory

        public @Nullable String getLastSynchronisationTokenForDirectory​(long directoryId)
        Specified by:
        getLastSynchronisationTokenForDirectory in interface com.atlassian.crowd.embedded.spi.DirectorySynchronisationTokenDao
      • storeSynchronisationTokenForDirectory

        public void storeSynchronisationTokenForDirectory​(long directoryId,
                                                          String synchronisationToken)
                                                   throws com.atlassian.crowd.exception.DirectoryNotFoundException
        Specified by:
        storeSynchronisationTokenForDirectory in interface com.atlassian.crowd.embedded.spi.DirectorySynchronisationTokenDao
        Throws:
        com.atlassian.crowd.exception.DirectoryNotFoundException
      • clearSynchronisationTokenForDirectory

        public void clearSynchronisationTokenForDirectory​(long directoryId)
        Specified by:
        clearSynchronisationTokenForDirectory in interface com.atlassian.crowd.embedded.spi.DirectorySynchronisationTokenDao