| Package | Description |
|---|---|
| com.sap.pdms.commons.config.variants |
Provides classes for exposing REST endpoints for Insight Provider configuration.
|
| com.sap.pdms.commons.configuration |
Provides classes for exposing REST endpoints for Insight Provider configuration.
|
| com.sap.pdms.commons.util.exceptions |
Provides classes that facilitate exception handling in Insight Providers.
|
| Modifier and Type | Method and Description |
|---|---|
void |
VariantFacade.addTranslations(String variantId,
String langId,
List<Translation> translations)
Creates key-text values for a given variant ID and language.
|
void |
VariantFacade.createConfig(String variantId,
com.google.gson.JsonObject config)
Creates common configuration for a given variantId.
|
void |
GenericConfigMigrationFacade.createConfigForId(com.google.gson.JsonObject genericConfig,
String configId)
Creates common configuration for a given configId.
|
javax.ws.rs.core.Response |
ConfigurationMigrationApi.createConfiguration(String payload,
String configId)
Creates the configuration for a given configurationId.
|
void |
ConfigurationMigrationFacade.createConfigurationForId(String configString,
String configId)
Creates configuration for a given configId.
|
void |
ConfigurationMigrationFacade.createConfigurations(String payload)
Creates configurations for the configIds in the payload.
|
javax.ws.rs.core.Response |
ConfigurationMigrationApi.createConfigurations(String payload)
Creates all the configurations.
|
void |
TextInterpretationMigrationFacade.createI18NForId(com.google.gson.JsonArray jsI18ns,
String configId)
Creates the text-interpretations for a given configurationId.
|
void |
VariantFacade.createI18ns(String variantId,
List<I18N> i18ns)
Creates the text-interpretations for a given variant ID.
|
javax.ws.rs.core.Response |
VariantApi.createVariant(String json,
String variantId)
Creates the configuration for a given configurationId.
|
void |
VariantFacade.createVariant(Variant variant)
Creates configuration for a given variantId.
|
void |
VariantFacade.createVariants(List<Variant> variants)
Creates configurations for the variantIds in the variantsJson.
|
javax.ws.rs.core.Response |
VariantApi.createVariants(String json)
Creates all the variants.
|
void |
VariantFacade.deleteAllConfigs()
Deletes all the existing common configurations.
|
void |
ConfigurationMigrationFacade.deleteAllConfigurations()
Deletes all the configurations for all applications.
|
javax.ws.rs.core.Response |
ConfigurationMigrationApi.deleteAllConfigurations()
Deletes all the configurations.
|
void |
VariantFacade.deleteAllI18n()
Deletes all the text interpretations.
|
void |
VariantFacade.deleteAllI18n(String variantId)
Deletes all the text interpretations for a given variantId.
|
void |
VariantFacade.deleteAllVariants()
Deletes all the variants for all applications.
|
javax.ws.rs.core.Response |
VariantApi.deleteAllVariants()
Deletes all the configurations.
|
void |
VariantFacade.deleteConfig(String variantId)
Deletes the common configuration for a given variantId.
|
javax.ws.rs.core.Response |
VariantApi.deleteConfig(String variantId)
Deletes the common configuration for a given configurationId.
|
javax.ws.rs.core.Response |
ConfigurationMigrationApi.deleteConfigurationForID(String configId)
Deletes the configuration for a given configurationId.
|
void |
GenericConfigMigrationFacade.deleteConfigurations()
Deletes all the existing common configurations.
|
void |
GenericConfigMigrationFacade.deleteConfigurationsForId(String configId)
Deletes the common configuration for a given configId.
|
void |
ConfigurationMigrationFacade.deleteConfigurationsForId(String configId)
Deletes the configurations and text-interpretations for a given configId.
|
javax.ws.rs.core.Response |
ConfigurationMigrationApi.deleteFrontendConfigForId(String configId)
Deletes the common configuration for a given configurationId.
|
javax.ws.rs.core.Response |
VariantApi.deleteI18n(String variantId)
Deletes the i18n for all languages for a given configurationId.
|
void |
VariantFacade.deleteI18n(String variantId,
String langId)
Deletes the text interpretation value for a given variant ID and language.
|
javax.ws.rs.core.Response |
VariantApi.deleteI18nForLanguage(String variantId,
String langId)
Deletes all the text interpretations for a given configurationId and language.
|
void |
TextInterpretationMigrationFacade.deleteTextInterpretations()
Deletes all the text interpretations.
|
void |
TextInterpretationMigrationFacade.deleteTextInterpretationsForConfigId(String configId)
Deletes all the text interpretations for a given configId.
|
javax.ws.rs.core.Response |
ConfigurationMigrationApi.deleteTextInterpretationsForConfigId(String configId)
Deletes the text-interpretations for all languages for a given configurationId.
|
void |
TextInterpretationMigrationFacade.deleteTextInterpretationsForConfigIdandLangId(String configId,
String langId)
Deletes the text interpretation value for a given configurationId and language.
|
javax.ws.rs.core.Response |
ConfigurationMigrationApi.deleteTextInterpretationsForConfigIdandLangId(String configId,
String langId)
Deletes all the text interpretations for a given configurationId and language.
|
void |
TextInterpretationMigrationFacade.deleteTextInterpretationsForConfigIdandLangIdandKey(String configId,
String langId,
String key)
Deletes the text interpretation value for a given configurationId,language and key.
|
javax.ws.rs.core.Response |
ConfigurationMigrationApi.deleteTextInterpretationsForConfigIdandLangIDandKey(String configId,
String langId,
String key)
Deletes the text value for a given configurationId,language and key.
|
void |
VariantFacade.deleteTranslation(String variantId,
String langId,
String key)
Deletes the text value for a given variant ID,language and key.
|
javax.ws.rs.core.Response |
VariantApi.deleteTranslation(String variantId,
String langId,
String key)
Deletes the text value for a given configurationId,language and key.
|
void |
VariantFacade.deleteVariant(String variantId)
Deletes the configurations and text-interpretations for a given variantId.
|
javax.ws.rs.core.Response |
VariantApi.deleteVariant(String variantId)
Deletes the configuration for a given configurationId.
|
javax.ws.rs.core.Response |
ConfigurationMigrationApi.fetchConfigurations()
Fetches all the configurations.
|
javax.ws.rs.core.Response |
ConfigurationMigrationApi.fetchConfigurationWithId(String configId,
String acceptLanguage,
String sapRequestLanguage,
String locale)
Fetches the configuration for a given configurationId.
|
com.google.gson.JsonArray |
ConfigurationMigrationFacade.getAllConfigurations()
Fetches all the configurations for existing applications.
|
List<I18N> |
VariantFacade.getAllI18n(String variantId)
Fetches all the text-interpretations of a given variant ID.
|
List<Variant> |
VariantFacade.getAllVariants()
Fetches all the variants for existing applications.
|
javax.ws.rs.core.Response |
VariantApi.getAllVariants(String acceptLanguage,
String sapRequestLanguage,
boolean metadata)
Fetches all the variants.
|
com.google.gson.JsonArray |
VariantFacade.getAllVariantsMetadata(List<String> languages) |
Optional<com.google.gson.JsonObject> |
VariantFacade.getConfig(String variantId)
Fetches the common configuration object for a given variantId.
|
javax.ws.rs.core.Response |
VariantApi.getConfig(String variantId)
Fetches the common configuration for a given configurationId.
|
List<String> |
GenericConfigMigrationFacade.getConfigIds()
Returns the list of configurationIds.
|
com.google.gson.JsonObject |
ConfigurationMigrationFacade.getConfigurationwithId(String configId)
Fetches the configuration for a given configId.
|
javax.ws.rs.core.Response |
ConfigurationMigrationApi.getFrontendConfigForId(String configId)
Fetches the common configuration for a given configurationId.
|
com.google.gson.JsonObject |
GenericConfigMigrationFacade.getGenericConfig(String configId)
Fetches the common configuration object for a given configId.
|
com.google.gson.JsonArray |
TextInterpretationMigrationFacade.geti18N(String configId)
Fetches all the text-interpretations of a given configurationId.
|
Optional<I18N> |
VariantFacade.getI18n(String variantId,
String langId)
Fetches all the key-text pairs of text-interpretations for a given variant ID and language.
|
javax.ws.rs.core.Response |
VariantApi.getI18n(String variantId,
String acceptLanguage,
String sapRequestLanguage,
boolean localized)
Fetches i18n for a given configurationId.
|
javax.ws.rs.core.Response |
VariantApi.getI18nForLanguage(String variantId,
String langId)
Fetches all the i18n for a given configurationId and language.
|
com.google.gson.JsonObject |
TextInterpretationMigrationFacade.geti18NMapping(String configId,
String langId)
Fetches all the key-text pairs of text-interpretations for a given configurationId and language.
|
String |
TextInterpretationMigrationFacade.geti18NMappingText(String configId,
String langId,
String key)
Fetches the text value for a given configurationId,language and key.
|
javax.ws.rs.core.Response |
ConfigurationMigrationApi.getTextInterpretationsForConfigId(String configId,
String acceptLanguage,
String sapRequestLanguage,
String locale)
Fetches text-interpretations for a given configurationId.
|
javax.ws.rs.core.Response |
ConfigurationMigrationApi.getTextInterpretationsForConfigIdandLangId(String configId,
String langId)
Fetches all the text-interpretations for a given configurationId and language.
|
javax.ws.rs.core.Response |
ConfigurationMigrationApi.getTextInterpretationsForConfigIdandLangIDandKey(String configId,
String langId,
String key)
Fetch text value for a given configurationId,language and key.
|
Optional<Translation> |
VariantFacade.getTranslation(String variantId,
String langId,
String key)
Fetches the text value for a given variant ID,language and key.
|
javax.ws.rs.core.Response |
VariantApi.getTranslation(String variantId,
String langId,
String key)
Fetch text value for a given configurationId,language and key.
|
Optional<Variant> |
VariantFacade.getVariant(String variantId)
Fetches the variantConfiguration for a given variantId.
|
javax.ws.rs.core.Response |
VariantApi.getVariant(String variantId,
String acceptLanguage,
String sapRequestLanguage,
boolean metadata,
boolean localized)
Fetches the configuration for a given configurationId.
|
List<String> |
VariantFacade.getVariantIds()
Returns the list of configurationIds.
|
Optional<com.google.gson.JsonObject> |
VariantFacade.getVariantMetadata(String variantId,
List<String> languages) |
void |
TextInterpretationMigrationFacade.insertKeyTextValues(com.google.gson.JsonArray mapping,
String configId,
String lang)
Creates key-text values for a given configurationId and language.
|
void |
MigrationAssistant.migrateConfigToVariant() |
javax.ws.rs.core.Response |
VariantApi.putTranslation(String variantId,
String langId,
String key,
String json)
Updates the text value for a given configurationId,language and key.
|
javax.ws.rs.core.Response |
ConfigurationMigrationApi.updateConfiguration(String payload)
Updates all the configurations.
|
I18N |
VariantFacade.updateI18n(String variantId,
String langId,
I18N i18n)
Updates the key-text values for a given variant ID and language.
|
javax.ws.rs.core.Response |
ConfigurationMigrationApi.updateKeysForConfigIdandLangId(String configId,
String langId,
String payload)
Updates the key-text interpretations for a given configurationId and language.
|
com.google.gson.JsonObject |
TextInterpretationMigrationFacade.updateKeysForConfigIdAndLangId(String configId,
String langId,
String payload)
Updates the key-text values for a given configurationId and language.
|
com.google.gson.JsonObject |
TextInterpretationMigrationFacade.updateKeyValuesForConfigIdAndLangId(String configId,
String langId,
String key,
String payload)
Updates the text interpretation values for a given configurationId,language and key.
|
javax.ws.rs.core.Response |
ConfigurationMigrationApi.updateTextInterpretationsForConfigIdandLangIDandKey(String configId,
String langId,
String key,
String payload)
Updates the text value for a given configurationId,language and key.
|
Translation |
VariantFacade.updateTranslation(String variantId,
String langId,
Translation translation)
Updates the text interpretation values for a given variant ID,language and key.
|
javax.ws.rs.core.Response |
VariantApi.updateTranslations(String variantId,
String langId,
String json)
Updates the key-text interpretations for a given configurationId and language.
|
void |
VariantFacade.updateVariant(Variant variant) |
void |
VariantFacade.updateVariants(List<Variant> variants) |
| Modifier and Type | Method and Description |
|---|---|
javax.ws.rs.core.Response |
ConfigurationApi.createConfiguration(String payload,
String configId)
Deprecated.
Creates the configuration for a given configurationId.
|
javax.ws.rs.core.Response |
ConfigurationApi.createConfigurations(String payload)
Deprecated.
Creates all the configurations.
|
javax.ws.rs.core.Response |
ConfigurationApi.deleteAllConfigurations()
Deprecated.
Deletes all the configurations.
|
javax.ws.rs.core.Response |
ConfigurationApi.deleteConfigurationForID(String configId)
Deprecated.
Deletes the configuration for a given configurationId.
|
javax.ws.rs.core.Response |
ConfigurationApi.deleteFrontendConfigForId(String configId)
Deprecated.
Deletes the common configuration for a given configurationId.
|
javax.ws.rs.core.Response |
ConfigurationApi.deleteTextInterpretationsForConfigId(String configId)
Deprecated.
Deletes the text-interpretations for all languages for a given configurationId.
|
javax.ws.rs.core.Response |
ConfigurationApi.deleteTextInterpretationsForConfigIdandLangId(String configId,
String langId)
Deprecated.
Deletes all the text interpretations for a given configurationId and language.
|
javax.ws.rs.core.Response |
ConfigurationApi.deleteTextInterpretationsForConfigIdandLangIDandKey(String configId,
String langId,
String key)
Deprecated.
Deletes the text value for a given configurationId,language and key.
|
javax.ws.rs.core.Response |
ConfigurationApi.fetchConfigurations()
Deprecated.
Fetches all the configurations.
|
javax.ws.rs.core.Response |
ConfigurationApi.fetchConfigurationWithId(String configId,
String acceptLanguage,
String sapRequestLanguage,
String locale)
Deprecated.
Fetches the configuration for a given configurationId.
|
javax.ws.rs.core.Response |
ConfigurationApi.getFrontendConfigForId(String configId)
Deprecated.
Fetches the common configuration for a given configurationId.
|
javax.ws.rs.core.Response |
ConfigurationApi.getTextInterpretationsForConfigId(String configId,
String acceptLanguage,
String sapRequestLanguage,
String locale)
Deprecated.
Fetches text-interpretations for a given configurationId.
|
javax.ws.rs.core.Response |
ConfigurationApi.getTextInterpretationsForConfigIdandLangId(String configId,
String langId)
Deprecated.
Fetches all the text-interpretations for a given configurationId and language.
|
javax.ws.rs.core.Response |
ConfigurationApi.getTextInterpretationsForConfigIdandLangIDandKey(String configId,
String langId,
String key)
Deprecated.
Fetch text value for a given configurationId,language and key.
|
javax.ws.rs.core.Response |
ConfigurationApi.updateConfiguration(String payload)
Deprecated.
Updates all the configurations.
|
javax.ws.rs.core.Response |
ConfigurationApi.updateKeysForConfigIdandLangId(String configId,
String langId,
String payload)
Deprecated.
Updates the key-text interpretations for a given configurationId and language.
|
javax.ws.rs.core.Response |
ConfigurationApi.updateTextInterpretationsForConfigIdandLangIDandKey(String configId,
String langId,
String key,
String payload)
Deprecated.
Updates the text value for a given configurationId,language and key.
|
| Modifier and Type | Method and Description |
|---|---|
javax.ws.rs.core.Response |
AppExceptionMapper.toResponse(PdmsBackendException e)
This method is called by the JAX-RS runtime environment when a
PdmsBackendException is thrown. |
Copyright © 2016 SAP. All Rights Reserved.