public class DefaultCrowdUserDirectoryHelper extends Object implements CrowdUserDirectoryHelper
Constructor and Description |
---|
DefaultCrowdUserDirectoryHelper(com.atlassian.crowd.embedded.api.CrowdDirectoryService crowdDirectoryService,
com.atlassian.crowd.manager.directory.DirectoryManager directoryManager,
org.hibernate.SessionFactory sessionFactory) |
Modifier and Type | Method and Description |
---|---|
List<com.atlassian.crowd.embedded.api.Directory> |
getDirectoriesForUser(com.atlassian.user.User user) |
Optional<Integer> |
getGroupCount(long directoryId) |
Optional<Integer> |
getMembershipCount(long directoryId) |
Optional<com.atlassian.crowd.manager.directory.SynchronisationMode> |
getSynchronisationMode(long directoryId) |
Optional<Integer> |
getUserCount(long directoryId) |
CrowdUserDirectoryImplementation |
getUserDirectoryImplementation(long directoryId) |
public DefaultCrowdUserDirectoryHelper(com.atlassian.crowd.embedded.api.CrowdDirectoryService crowdDirectoryService, com.atlassian.crowd.manager.directory.DirectoryManager directoryManager, org.hibernate.SessionFactory sessionFactory)
public Optional<com.atlassian.crowd.manager.directory.SynchronisationMode> getSynchronisationMode(long directoryId)
getSynchronisationMode
in interface CrowdUserDirectoryHelper
public CrowdUserDirectoryImplementation getUserDirectoryImplementation(long directoryId)
getUserDirectoryImplementation
in interface CrowdUserDirectoryHelper
public Optional<Integer> getUserCount(long directoryId)
getUserCount
in interface CrowdUserDirectoryHelper
public Optional<Integer> getGroupCount(long directoryId)
getGroupCount
in interface CrowdUserDirectoryHelper
public Optional<Integer> getMembershipCount(long directoryId)
getMembershipCount
in interface CrowdUserDirectoryHelper
public List<com.atlassian.crowd.embedded.api.Directory> getDirectoriesForUser(com.atlassian.user.User user)
getDirectoriesForUser
in interface CrowdUserDirectoryHelper
Copyright © 2003–2021 Atlassian. All rights reserved.