@Named public class PruningConfigurationController extends Object
Constructor and Description |
---|
PruningConfigurationController(DirectoryManager directoryManager,
com.atlassian.sal.api.ApplicationProperties applicationProperties,
PruningConfigurationEntityMapper entityMapper) |
Modifier and Type | Method and Description |
---|---|
PruningConfigurationEntity |
loadPruningConfiguration(Long directoryId) |
List<PruningConfigurationEntity> |
loadPruningConfigurations() |
PruningConfigurationEntity |
updatePruningConfiguration(Long directoryId,
PruningConfigurationEntity pruningConfigurationEntity) |
List<PruningConfigurationEntity> |
updatePruningConfigurations(List<PruningConfigurationEntity> pruningConfigurations) |
@Inject public PruningConfigurationController(DirectoryManager directoryManager, com.atlassian.sal.api.ApplicationProperties applicationProperties, PruningConfigurationEntityMapper entityMapper)
public PruningConfigurationEntity loadPruningConfiguration(Long directoryId) throws DirectoryNotFoundException, InvalidDirectoryTypeException
public List<PruningConfigurationEntity> loadPruningConfigurations()
public PruningConfigurationEntity updatePruningConfiguration(Long directoryId, PruningConfigurationEntity pruningConfigurationEntity) throws InvalidDirectoryTypeException, DirectoryNotFoundException
public List<PruningConfigurationEntity> updatePruningConfigurations(List<PruningConfigurationEntity> pruningConfigurations) throws InvalidDirectoryTypeException
InvalidDirectoryTypeException
Copyright © 2021 Atlassian. All rights reserved.