public class DefaultSetupImpexAddOnService extends DefaultSetupImpexService
DefaultSetupImpexService with functionality for addons| Constructor and Description |
|---|
DefaultSetupImpexAddOnService() |
| Modifier and Type | Method and Description |
|---|---|
protected java.lang.String |
buildMacroHeader(java.util.Map<java.lang.String,java.lang.Object> macroParameters) |
protected java.io.InputStream |
getMergedInputStream(java.util.Map<java.lang.String,java.lang.Object> macroParameters,
java.io.InputStream fileStream) |
boolean |
importImpexFile(java.lang.String file,
ImpexMacroParameterData macroParameters,
boolean errorIfMissing) |
boolean |
importImpexFile(java.lang.String file,
ImpexMacroParameterData macroParameters,
boolean errorIfMissing,
boolean legacyMode) |
boolean |
importImpexFile(java.lang.String file,
java.util.Map<java.lang.String,java.lang.Object> macroParameters,
boolean errorIfMissing) |
boolean |
importImpexFile(java.lang.String file,
java.util.Map<java.lang.String,java.lang.Object> macroParameters,
boolean errorIfMissing,
boolean legacyMode) |
protected void |
importLanguageSpecificImpexFiles(java.lang.String file,
java.util.Map<java.lang.String,java.lang.Object> macroParameters,
boolean legacyMode) |
getCommonI18NService, getFileEncoding, getImpexExt, getImportService, importImpexFile, importImpexFile, importImpexFile, setCommonI18NService, setFileEncoding, setImpexExt, setImportServicepublic boolean importImpexFile(java.lang.String file,
java.util.Map<java.lang.String,java.lang.Object> macroParameters,
boolean errorIfMissing)
importImpexFile in interface SetupImpexServiceimportImpexFile in class DefaultSetupImpexServicefile - the file path to importmacroParameters - the macro parameterserrorIfMissing - flag, set to true to error if the file is not foundfalse for default implementationpublic boolean importImpexFile(java.lang.String file,
java.util.Map<java.lang.String,java.lang.Object> macroParameters,
boolean errorIfMissing,
boolean legacyMode)
importImpexFile in interface SetupImpexServiceimportImpexFile in class DefaultSetupImpexServicefile - the file path to importmacroParameters - the macro parameterserrorIfMissing - flag, set to true to error if the file is not foundlegacyMode - flag, set to true to use legacy impex modefalse for default implementationprotected void importLanguageSpecificImpexFiles(java.lang.String file,
java.util.Map<java.lang.String,java.lang.Object> macroParameters,
boolean legacyMode)
protected java.lang.String buildMacroHeader(java.util.Map<java.lang.String,java.lang.Object> macroParameters)
protected java.io.InputStream getMergedInputStream(java.util.Map<java.lang.String,java.lang.Object> macroParameters,
java.io.InputStream fileStream)
public boolean importImpexFile(java.lang.String file,
ImpexMacroParameterData macroParameters,
boolean errorIfMissing,
boolean legacyMode)
importImpexFile in interface SetupImpexServiceimportImpexFile in class DefaultSetupImpexServicefile - the file path to importmacroParameters - the macro parameterserrorIfMissing - flag, set to true to error if the file is not foundlegacyMode - flag, set to true to use legacy impex modefalse for default implementationpublic boolean importImpexFile(java.lang.String file,
ImpexMacroParameterData macroParameters,
boolean errorIfMissing)
importImpexFile in interface SetupImpexServiceimportImpexFile in class DefaultSetupImpexServicefile - the file path to importmacroParameters - the macro parameterserrorIfMissing - flag, set to true to error if the file is not foundfalse for default implementationCopyright © 2018 SAP SE. All Rights Reserved.