Class ProductConfigRulesSetupImpexService
java.lang.Object
de.hybris.platform.commerceservices.setup.impl.DefaultSetupImpexService
de.hybris.platform.sap.productconfig.rules.setup.ProductConfigRulesSetupImpexService
- All Implemented Interfaces:
SetupImpexService
- Direct Known Subclasses:
ProductConfigRulesSetupImpexServiceTestHelper
Extends the
DefaultSetupImpexService with functionality for addons-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected StringbuildMacroHeader(Map<String, Object> macroParameters) protected InputStreamgetMergedInputStream(Map<String, Object> macroParameters, InputStream fileStream) booleanimportImpexFile(String file, ImpexMacroParameterData macroParameters, boolean errorIfMissing) booleanimportImpexFile(String file, Map<String, Object> macroParameters, boolean errorIfMissing) Methods inherited from class de.hybris.platform.commerceservices.setup.impl.DefaultSetupImpexService
getCommonI18NService, getFileEncoding, getImpexExt, getImportService, importImpexFile, importImpexFile, importImpexFile, importImpexFile, importImpexFile, setCommonI18NService, setFileEncoding, setImpexExt, setImportService
-
Constructor Details
-
ProductConfigRulesSetupImpexService
public ProductConfigRulesSetupImpexService()
-
-
Method Details
-
importImpexFile
public boolean importImpexFile(String file, Map<String, Object> macroParameters, boolean errorIfMissing) - Specified by:
importImpexFilein interfaceSetupImpexService- Overrides:
importImpexFilein classDefaultSetupImpexService- Parameters:
file- the file path to importmacroParameters- the macro parameterserrorIfMissing- flag, set to true to error if the file is not found- Returns:
falsefor default implementation
-
importImpexFile
public boolean importImpexFile(String file, ImpexMacroParameterData macroParameters, boolean errorIfMissing) - Specified by:
importImpexFilein interfaceSetupImpexService- Overrides:
importImpexFilein classDefaultSetupImpexService- Parameters:
file- the file path to importmacroParameters- the macro parameterserrorIfMissing- flag, set to true to error if the file is not found- Returns:
falsefor default implementation
-
buildMacroHeader
-
getMergedInputStream
protected InputStream getMergedInputStream(Map<String, Object> macroParameters, InputStream fileStream)
-