public class GenericConfigMigrationFacade extends Object
| Constructor and Description |
|---|
GenericConfigMigrationFacade()
Creates a new instance of
GenericConfigFacade. |
GenericConfigMigrationFacade(VariantFacade variantFacade) |
| Modifier and Type | Method and Description |
|---|---|
void |
createConfigForId(com.google.gson.JsonObject genericConfig,
String configId)
Creates common configuration for a given configId.
|
void |
deleteConfigurations()
Deletes all the existing common configurations.
|
void |
deleteConfigurationsForId(String configId)
Deletes the common configuration for a given configId.
|
List<String> |
getConfigIds()
Returns the list of configurationIds.
|
com.google.gson.JsonObject |
getGenericConfig(String configId)
Fetches the common configuration object for a given configId.
|
public GenericConfigMigrationFacade()
GenericConfigFacade.public GenericConfigMigrationFacade(VariantFacade variantFacade)
public com.google.gson.JsonObject getGenericConfig(String configId) throws PdmsBackendException
configId - the unique configurationId per application.PdmsBackendExceptionpublic void createConfigForId(com.google.gson.JsonObject genericConfig,
String configId)
throws PdmsBackendException
genericConfig - the common configuration object.configId - the unique configurationId per application.PdmsBackendExceptionpublic void deleteConfigurationsForId(String configId) throws PdmsBackendException
configId - the unique configurationId per application.PdmsBackendExceptionpublic void deleteConfigurations()
throws PdmsBackendException
PdmsBackendExceptionpublic List<String> getConfigIds() throws PdmsBackendException
PdmsBackendExceptionCopyright © 2016 SAP. All Rights Reserved.