Class ProductConfigRulesSetup
java.lang.Object
de.hybris.platform.commerceservices.setup.AbstractSystemSetup
de.hybris.platform.sap.productconfig.rules.setup.ProductConfigRulesSetup
@SystemSetup(extension="sapproductconfigrules")
@Deprecated(since="2211",
forRemoval=true)
public class ProductConfigRulesSetup
extends AbstractSystemSetup
Deprecated, for removal: This API element is subject to removal in a future version.
since 22.11 release due to using of the standard essentialdata impex logic
This Setup implementation loads multiple language files for the CPQ rules implementation.
It is expected, that the language files are delivered as properties file, following the file name format
sapproductconfigrules-impexsupport_[two character language code].properties, and are placed
in the resources/localization folder.
The properties files are used as parameter sets for the essential Impex file (
essentialdata-sapproductconfigrules_languages.impex).
-
Field Summary
Fields inherited from class de.hybris.platform.commerceservices.setup.AbstractSystemSetup
BOOLEAN_FALSE, BOOLEAN_TRUE -
Constructor Summary
ConstructorsConstructorDescriptionDeprecated, for removal: This API element is subject to removal in a future version. -
Method Summary
Modifier and TypeMethodDescriptionprotected StringextractLocaleOutOfFileName(String fileName) Deprecated, for removal: This API element is subject to removal in a future version.protected StringDeprecated, for removal: This API element is subject to removal in a future version.protected StringDeprecated, for removal: This API element is subject to removal in a future version.protected FlexibleSearchServiceDeprecated, for removal: This API element is subject to removal in a future version.protected ImpExSystemSetupDeprecated, for removal: This API element is subject to removal in a future version.protected ImpexMacroParameterDatagetImpexParameterMap(SystemSetupContext context, Path localeFile, Map<String, String> defaultParameters) Deprecated, for removal: This API element is subject to removal in a future version.Deprecated, for removal: This API element is subject to removal in a future version.Abstract method to be implemented in subclasses.getListOfLanguageFiles(String basedir, SystemSetupContext context) Deprecated, for removal: This API element is subject to removal in a future version.protected StringDeprecated, for removal: This API element is subject to removal in a future version.protected StringDeprecated, for removal: This API element is subject to removal in a future version.getPropertyFileAsMap(SystemSetupContext context, Path localeFile) Deprecated, for removal: This API element is subject to removal in a future version.protected voidimportImpex(ImpexMacroParameterData parameters) Deprecated, for removal: This API element is subject to removal in a future version.voidprocessEssentialFiles(SystemSetupContext context) Deprecated, for removal: This API element is subject to removal in a future version.The method processes first the base definitions for the CPQ rules, and updates the definitions values with the language specific property files.voidsetFlexibleSearchService(FlexibleSearchService flexibleSearchService) Deprecated, for removal: This API element is subject to removal in a future version.voidsetImpexImporter(ImpExSystemSetup impexImporter) Deprecated, for removal: This API element is subject to removal in a future version.Methods inherited from class de.hybris.platform.commerceservices.setup.AbstractSystemSetup
activateSolrIndexerCronJobs, createBooleanSystemSetupParameter, createContentCatalogSyncJob, createProductCatalogSyncJob, createSolrIndexerCronJobs, executeCatalogSyncJob, executeSolrIndexerCronJob, getBooleanSystemSetupParameter, getCatalogSyncJob, getCatalogVersionService, getDefaultValueForBooleanSystemSetupParameter, getEventService, getSetupImpexService, getSetupSolrIndexerService, getSetupSyncJobService, importImpexFile, importImpexFile, importImpexFile, isSyncRerunNeeded, logError, logInfo, setCatalogVersionService, setEventService, setSetupImpexService, setSetupSolrIndexerService, setSetupSyncJobService
-
Constructor Details
-
ProductConfigRulesSetup
public ProductConfigRulesSetup()Deprecated, for removal: This API element is subject to removal in a future version.
-
-
Method Details
-
processEssentialFiles
@SystemSetup(type=ESSENTIAL, process=ALL) public void processEssentialFiles(SystemSetupContext context) Deprecated, for removal: This API element is subject to removal in a future version.The method processes first the base definitions for the CPQ rules, and updates the definitions values with the language specific property files. Each language property file will trigger an import for the language essential Impex.- Parameters:
context- System context, provided by the initialize or update run
-
getBasedir
Deprecated, for removal: This API element is subject to removal in a future version. -
importImpex
Deprecated, for removal: This API element is subject to removal in a future version. -
getImpexParameterMap
protected ImpexMacroParameterData getImpexParameterMap(SystemSetupContext context, Path localeFile, Map<String, String> defaultParameters) Deprecated, for removal: This API element is subject to removal in a future version. -
getPropertyFileAsMap
Deprecated, for removal: This API element is subject to removal in a future version. -
extractLocaleOutOfFileName
Deprecated, for removal: This API element is subject to removal in a future version. -
getListOfLanguageFiles
Deprecated, for removal: This API element is subject to removal in a future version. -
getInitializationOptions
Deprecated, for removal: This API element is subject to removal in a future version.Description copied from class:AbstractSystemSetupAbstract method to be implemented in subclasses.- Specified by:
getInitializationOptionsin classAbstractSystemSetup- Returns:
- the list of SystemSetupParameters for the SystemSetup class.
-
getLocaleFileRegex
Deprecated, for removal: This API element is subject to removal in a future version. -
getLocaleFileLanguageRegex
Deprecated, for removal: This API element is subject to removal in a future version. -
getExtensionName
Deprecated, for removal: This API element is subject to removal in a future version. -
getFlexibleSearchService
Deprecated, for removal: This API element is subject to removal in a future version. -
setFlexibleSearchService
Deprecated, for removal: This API element is subject to removal in a future version. -
getImpexImporter
Deprecated, for removal: This API element is subject to removal in a future version. -
setImpexImporter
Deprecated, for removal: This API element is subject to removal in a future version.
-