public class DelegatingCrowdDirectoryService extends Object implements com.atlassian.crowd.embedded.api.CrowdDirectoryService
Modifier and Type | Field and Description |
---|---|
protected com.atlassian.crowd.embedded.api.CrowdDirectoryService |
delegate |
Constructor and Description |
---|
DelegatingCrowdDirectoryService(com.atlassian.crowd.embedded.api.CrowdDirectoryService delegate) |
Modifier and Type | Method and Description |
---|---|
com.atlassian.crowd.embedded.api.Directory |
addDirectory(com.atlassian.crowd.embedded.api.Directory directory) |
List<com.atlassian.crowd.embedded.api.Directory> |
findAllDirectories() |
com.atlassian.crowd.embedded.api.Directory |
findDirectoryById(long directoryId) |
com.atlassian.crowd.embedded.api.Directory |
findDirectoryByName(String s) |
com.atlassian.crowd.embedded.api.DirectorySynchronisationInformation |
getDirectorySynchronisationInformation(long directoryId) |
com.atlassian.crowd.embedded.api.ConnectionPoolProperties |
getStoredConnectionPoolProperties() |
com.atlassian.crowd.embedded.api.ConnectionPoolProperties |
getSystemConnectionPoolProperties() |
boolean |
isDirectorySynchronisable(long directoryId) |
boolean |
isDirectorySynchronising(long directoryId) |
boolean |
isMembershipAggregationEnabled() |
boolean |
removeDirectory(long directoryId) |
void |
setConnectionPoolProperties(com.atlassian.crowd.embedded.api.ConnectionPoolProperties poolProperties) |
void |
setDirectoryPosition(long directoryId,
int position) |
void |
setMembershipAggregationEnabled(boolean enabled) |
boolean |
supportsNestedGroups(long directoryId) |
void |
synchroniseDirectory(long directoryId) |
void |
synchroniseDirectory(long directoryId,
boolean runInBackground) |
void |
testConnection(com.atlassian.crowd.embedded.api.Directory directory) |
com.atlassian.crowd.embedded.api.Directory |
updateDirectory(com.atlassian.crowd.embedded.api.Directory directory) |
List<com.atlassian.crowd.validator.ValidationError> |
validateDirectoryConfiguration(com.atlassian.crowd.embedded.api.Directory directory,
EnumSet<com.atlassian.crowd.validator.DirectoryValidationContext> enumSet) |
protected final com.atlassian.crowd.embedded.api.CrowdDirectoryService delegate
public DelegatingCrowdDirectoryService(com.atlassian.crowd.embedded.api.CrowdDirectoryService delegate)
public com.atlassian.crowd.embedded.api.Directory addDirectory(com.atlassian.crowd.embedded.api.Directory directory) throws com.atlassian.crowd.exception.runtime.OperationFailedException
addDirectory
in interface com.atlassian.crowd.embedded.api.CrowdDirectoryService
com.atlassian.crowd.exception.runtime.OperationFailedException
public void testConnection(com.atlassian.crowd.embedded.api.Directory directory) throws com.atlassian.crowd.exception.runtime.OperationFailedException
testConnection
in interface com.atlassian.crowd.embedded.api.CrowdDirectoryService
com.atlassian.crowd.exception.runtime.OperationFailedException
public List<com.atlassian.crowd.embedded.api.Directory> findAllDirectories()
findAllDirectories
in interface com.atlassian.crowd.embedded.api.CrowdDirectoryService
public com.atlassian.crowd.embedded.api.Directory findDirectoryById(long directoryId)
findDirectoryById
in interface com.atlassian.crowd.embedded.api.CrowdDirectoryService
public com.atlassian.crowd.embedded.api.Directory updateDirectory(com.atlassian.crowd.embedded.api.Directory directory) throws com.atlassian.crowd.exception.runtime.OperationFailedException
updateDirectory
in interface com.atlassian.crowd.embedded.api.CrowdDirectoryService
com.atlassian.crowd.exception.runtime.OperationFailedException
public void setDirectoryPosition(long directoryId, int position) throws com.atlassian.crowd.exception.runtime.OperationFailedException
setDirectoryPosition
in interface com.atlassian.crowd.embedded.api.CrowdDirectoryService
com.atlassian.crowd.exception.runtime.OperationFailedException
public boolean removeDirectory(long directoryId) throws com.atlassian.crowd.exception.DirectoryCurrentlySynchronisingException, com.atlassian.crowd.exception.runtime.OperationFailedException
removeDirectory
in interface com.atlassian.crowd.embedded.api.CrowdDirectoryService
com.atlassian.crowd.exception.DirectoryCurrentlySynchronisingException
com.atlassian.crowd.exception.runtime.OperationFailedException
public boolean supportsNestedGroups(long directoryId) throws com.atlassian.crowd.exception.runtime.OperationFailedException
supportsNestedGroups
in interface com.atlassian.crowd.embedded.api.CrowdDirectoryService
com.atlassian.crowd.exception.runtime.OperationFailedException
public boolean isDirectorySynchronisable(long directoryId) throws com.atlassian.crowd.exception.runtime.OperationFailedException
isDirectorySynchronisable
in interface com.atlassian.crowd.embedded.api.CrowdDirectoryService
com.atlassian.crowd.exception.runtime.OperationFailedException
public void synchroniseDirectory(long directoryId) throws com.atlassian.crowd.exception.runtime.OperationFailedException
synchroniseDirectory
in interface com.atlassian.crowd.embedded.api.CrowdDirectoryService
com.atlassian.crowd.exception.runtime.OperationFailedException
public void synchroniseDirectory(long directoryId, boolean runInBackground) throws com.atlassian.crowd.exception.runtime.OperationFailedException
synchroniseDirectory
in interface com.atlassian.crowd.embedded.api.CrowdDirectoryService
com.atlassian.crowd.exception.runtime.OperationFailedException
public boolean isDirectorySynchronising(long directoryId) throws com.atlassian.crowd.exception.runtime.OperationFailedException
isDirectorySynchronising
in interface com.atlassian.crowd.embedded.api.CrowdDirectoryService
com.atlassian.crowd.exception.runtime.OperationFailedException
public com.atlassian.crowd.embedded.api.DirectorySynchronisationInformation getDirectorySynchronisationInformation(long directoryId) throws com.atlassian.crowd.exception.runtime.OperationFailedException
getDirectorySynchronisationInformation
in interface com.atlassian.crowd.embedded.api.CrowdDirectoryService
com.atlassian.crowd.exception.runtime.OperationFailedException
public void setConnectionPoolProperties(com.atlassian.crowd.embedded.api.ConnectionPoolProperties poolProperties)
setConnectionPoolProperties
in interface com.atlassian.crowd.embedded.api.CrowdDirectoryService
public com.atlassian.crowd.embedded.api.ConnectionPoolProperties getStoredConnectionPoolProperties()
getStoredConnectionPoolProperties
in interface com.atlassian.crowd.embedded.api.CrowdDirectoryService
public com.atlassian.crowd.embedded.api.ConnectionPoolProperties getSystemConnectionPoolProperties()
getSystemConnectionPoolProperties
in interface com.atlassian.crowd.embedded.api.CrowdDirectoryService
public boolean isMembershipAggregationEnabled()
isMembershipAggregationEnabled
in interface com.atlassian.crowd.embedded.api.CrowdDirectoryService
public void setMembershipAggregationEnabled(boolean enabled)
setMembershipAggregationEnabled
in interface com.atlassian.crowd.embedded.api.CrowdDirectoryService
public List<com.atlassian.crowd.validator.ValidationError> validateDirectoryConfiguration(com.atlassian.crowd.embedded.api.Directory directory, EnumSet<com.atlassian.crowd.validator.DirectoryValidationContext> enumSet)
validateDirectoryConfiguration
in interface com.atlassian.crowd.embedded.api.CrowdDirectoryService
public com.atlassian.crowd.embedded.api.Directory findDirectoryByName(String s)
findDirectoryByName
in interface com.atlassian.crowd.embedded.api.CrowdDirectoryService
Copyright © 2019 Atlassian Software Systems Pty Ltd. All rights reserved.