Class TransactionalDirectorySynchroniserHelperWrapper

  • All Implemented Interfaces:
    com.atlassian.crowd.manager.directory.DirectorySynchroniserHelper

    @Transactional(propagation=REQUIRES_NEW)
    public final class TransactionalDirectorySynchroniserHelperWrapper
    extends Object
    implements com.atlassian.crowd.manager.directory.DirectorySynchroniserHelper
    An implementation of DirectorySynchroniserHelper which exists solely as a place to hang Transactional annotations on.
    Since:
    7.15
    • Constructor Detail

      • TransactionalDirectorySynchroniserHelperWrapper

        public TransactionalDirectorySynchroniserHelperWrapper​(com.atlassian.crowd.manager.directory.DirectorySynchroniserHelper delegate)
    • Method Detail

      • updateSyncStartTime

        public void updateSyncStartTime​(com.atlassian.crowd.directory.SynchronisableDirectory synchronisableDirectory)
                                 throws com.atlassian.crowd.exception.DirectoryNotFoundException
        Specified by:
        updateSyncStartTime in interface com.atlassian.crowd.manager.directory.DirectorySynchroniserHelper
        Throws:
        com.atlassian.crowd.exception.DirectoryNotFoundException
      • updateSyncEndTime

        public void updateSyncEndTime​(com.atlassian.crowd.directory.SynchronisableDirectory synchronisableDirectory)
                               throws com.atlassian.crowd.exception.DirectoryNotFoundException
        Specified by:
        updateSyncEndTime in interface com.atlassian.crowd.manager.directory.DirectorySynchroniserHelper
        Throws:
        com.atlassian.crowd.exception.DirectoryNotFoundException
      • isSynchronising

        public boolean isSynchronising​(long synchronisableDirectoryId)
                                throws com.atlassian.crowd.exception.DirectoryNotFoundException
        Specified by:
        isSynchronising in interface com.atlassian.crowd.manager.directory.DirectorySynchroniserHelper
        Throws:
        com.atlassian.crowd.exception.DirectoryNotFoundException
      • findDirectoryById

        public com.atlassian.crowd.embedded.api.Directory findDirectoryById​(long directoryId)
                                                                     throws com.atlassian.crowd.exception.DirectoryNotFoundException
        Specified by:
        findDirectoryById in interface com.atlassian.crowd.manager.directory.DirectorySynchroniserHelper
        Throws:
        com.atlassian.crowd.exception.DirectoryNotFoundException