com.atlassian.crowd.manager.recovery
Class RecoveryModeAwareDirectoryManager

java.lang.Object
  extended by com.atlassian.crowd.manager.directory.DirectoryManagerGeneric
      extended by com.atlassian.crowd.manager.recovery.RecoveryModeAwareDirectoryManager
All Implemented Interfaces:
DirectoryManager

public class RecoveryModeAwareDirectoryManager
extends DirectoryManagerGeneric

Overrides DirectoryManagerGeneric to provide recovery-mode aware behaviour.

Since:
2.7.2

Constructor Summary
RecoveryModeAwareDirectoryManager(com.atlassian.crowd.embedded.spi.DirectoryDao directoryDao, ApplicationDAO applicationDAO, com.atlassian.event.api.EventPublisher eventPublisher, PermissionManager permissionManager, DirectoryInstanceLoader directoryInstanceLoader, DirectorySynchroniser directorySynchroniser, DirectoryPollerManager directoryPollerManager, com.atlassian.beehive.ClusterLockService clusterLockService, SynchronisationStatusManager synchronisationStatusManager, BeforeGroupRemoval beforeGroupRemoval, RecoveryModeService recoveryModeService)
           
 
Method Summary
 List<Directory> findAllDirectories()
           
 Directory findDirectoryById(long directoryId)
           
 Directory findDirectoryByName(String name)
           
 
Methods inherited from class com.atlassian.crowd.manager.directory.DirectoryManagerGeneric
addAllGroups, addAllUsers, addAllUsersToGroup, addDirectory, addGroup, addGroupToGroup, addUser, addUserToGroup, authenticateUser, countDirectMembersOfGroup, expireAllPasswords, findGroupByName, findGroupWithAttributesByName, findUserByExternalId, findUserByName, findUserWithAttributesByExternalId, findUserWithAttributesByName, getDirectorySynchronisationInformation, isGroupDirectGroupMember, isGroupNestedGroupMember, isSynchronisable, isSynchronising, isUserDirectGroupMember, isUserNestedGroupMember, removeDirectory, removeGroup, removeGroupAttributes, removeGroupFromGroup, removeUser, removeUserAttributes, removeUserFromGroup, renameGroup, renameUser, searchDirectGroupRelationships, searchDirectories, searchGroups, searchNestedGroupRelationships, searchUsers, storeGroupAttributes, storeUserAttributes, supportsExpireAllPasswords, supportsNestedGroups, synchroniseCache, synchroniseCache, updateDirectory, updateGroup, updateUser, updateUserCredential
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RecoveryModeAwareDirectoryManager

public RecoveryModeAwareDirectoryManager(com.atlassian.crowd.embedded.spi.DirectoryDao directoryDao,
                                         ApplicationDAO applicationDAO,
                                         com.atlassian.event.api.EventPublisher eventPublisher,
                                         PermissionManager permissionManager,
                                         DirectoryInstanceLoader directoryInstanceLoader,
                                         DirectorySynchroniser directorySynchroniser,
                                         DirectoryPollerManager directoryPollerManager,
                                         com.atlassian.beehive.ClusterLockService clusterLockService,
                                         SynchronisationStatusManager synchronisationStatusManager,
                                         BeforeGroupRemoval beforeGroupRemoval,
                                         RecoveryModeService recoveryModeService)
Method Detail

findDirectoryById

public Directory findDirectoryById(long directoryId)
                            throws DirectoryNotFoundException
Specified by:
findDirectoryById in interface DirectoryManager
Overrides:
findDirectoryById in class DirectoryManagerGeneric
Throws:
DirectoryNotFoundException

findAllDirectories

public List<Directory> findAllDirectories()
Specified by:
findAllDirectories in interface DirectoryManager
Overrides:
findAllDirectories in class DirectoryManagerGeneric

findDirectoryByName

public Directory findDirectoryByName(String name)
                              throws DirectoryNotFoundException
Specified by:
findDirectoryByName in interface DirectoryManager
Overrides:
findDirectoryByName in class DirectoryManagerGeneric
Throws:
DirectoryNotFoundException


Copyright © 2016 Atlassian. All Rights Reserved.