Class TransactionalDirectorySynchroniserHelperWrapper
- java.lang.Object
-
- com.atlassian.confluence.impl.user.crowd.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 ofDirectorySynchroniserHelper
which exists solely as a place to hangTransactional
annotations on.- Since:
- 7.15
-
-
Constructor Summary
Constructors Constructor Description TransactionalDirectorySynchroniserHelperWrapper(com.atlassian.crowd.manager.directory.DirectorySynchroniserHelper delegate)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description com.atlassian.crowd.embedded.api.Directory
findDirectoryById(long directoryId)
boolean
isSynchronising(long synchronisableDirectoryId)
void
updateSyncEndTime(com.atlassian.crowd.directory.SynchronisableDirectory synchronisableDirectory)
void
updateSyncStartTime(com.atlassian.crowd.directory.SynchronisableDirectory synchronisableDirectory)
-
-
-
Method Detail
-
updateSyncStartTime
public void updateSyncStartTime(com.atlassian.crowd.directory.SynchronisableDirectory synchronisableDirectory) throws com.atlassian.crowd.exception.DirectoryNotFoundException
- Specified by:
updateSyncStartTime
in interfacecom.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 interfacecom.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 interfacecom.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 interfacecom.atlassian.crowd.manager.directory.DirectorySynchroniserHelper
- Throws:
com.atlassian.crowd.exception.DirectoryNotFoundException
-
-