Class PruningConfigurationController
java.lang.Object
com.atlassian.labs.crowd.directory.pruning.controller.PruningConfigurationController
-
Constructor Summary
ConstructorDescriptionPruningConfigurationController
(DirectoryManager directoryManager, com.atlassian.sal.api.ApplicationProperties applicationProperties, PruningConfigurationEntityMapper entityMapper) -
Method Summary
Modifier and TypeMethodDescriptionloadPruningConfiguration
(Long directoryId) updatePruningConfiguration
(Long directoryId, PruningConfigurationEntity pruningConfigurationEntity) updatePruningConfigurations
(List<PruningConfigurationEntity> pruningConfigurations)
-
Constructor Details
-
PruningConfigurationController
@Inject public PruningConfigurationController(DirectoryManager directoryManager, com.atlassian.sal.api.ApplicationProperties applicationProperties, PruningConfigurationEntityMapper entityMapper)
-
-
Method Details
-
loadPruningConfiguration
public PruningConfigurationEntity loadPruningConfiguration(Long directoryId) throws DirectoryNotFoundException, InvalidDirectoryTypeException -
loadPruningConfigurations
-
updatePruningConfiguration
public PruningConfigurationEntity updatePruningConfiguration(Long directoryId, PruningConfigurationEntity pruningConfigurationEntity) throws InvalidDirectoryTypeException, DirectoryNotFoundException -
updatePruningConfigurations
public List<PruningConfigurationEntity> updatePruningConfigurations(List<PruningConfigurationEntity> pruningConfigurations) throws InvalidDirectoryTypeException - Throws:
InvalidDirectoryTypeException
-