public class RestFileServerRemoteDAO extends Object implements ConfigurationDAO
| Constructor and Description |
|---|
RestFileServerRemoteDAO(String descriptionName)
Create a RestFileServer DAO.
|
| Modifier and Type | Method and Description |
|---|---|
void |
close()
Called when the DAO is no longer used (typically at shutdown).
|
SingleCategoryTagData |
loadCategoryTag(SingleCategoryTag singleCategoryTag)
Load the configuration data for a SingleCategoryTag.
|
SingleCategoryTag |
saveCategoryTagData(SingleCategoryTagData singleCategoryTagData)
Save the data included in the provided SingleCategoryTag object.
|
public RestFileServerRemoteDAO(String descriptionName)
descriptionName - The descriptionName that started the subsystem in which this DAO is running. It is used to initialize
the underlying remote file serverpublic SingleCategoryTagData loadCategoryTag(SingleCategoryTag singleCategoryTag) throws ConfigurationServiceException
ConfigurationDAOloadCategoryTag in interface ConfigurationDAOsingleCategoryTag - The object describing the data to be loaded for
a single category tag.ConfigurationServiceException - if the data
cannot be found or loaded for the given SingleCategoryTag instance.public SingleCategoryTag saveCategoryTagData(SingleCategoryTagData singleCategoryTagData) throws ConfigurationServiceException
ConfigurationDAOsaveCategoryTagData in interface ConfigurationDAOsingleCategoryTagData - The data to be saved; it includes the configuration
parameter values and associated comments.ConfigurationServiceException - if the data could not be saved.public void close()
ConfigurationDAOclose in interface AutoCloseableclose in interface ConfigurationDAOCopyright © 2023 LSST. All rights reserved.