public class DefaultSetupImpexService extends java.lang.Object implements SetupImpexService
SetupImpexService.| Constructor and Description |
|---|
DefaultSetupImpexService() |
| Modifier and Type | Method and Description |
|---|---|
protected CommonI18NService |
getCommonI18NService() |
protected java.lang.String |
getFileEncoding() |
protected java.lang.String |
getImpexExt() |
protected ImportService |
getImportService() |
void |
importImpexFile(java.lang.String file,
boolean errorIfMissing)
Import impex file.
|
void |
importImpexFile(java.lang.String file,
boolean errorIfMissing,
boolean legacyMode)
Import impex file.
|
boolean |
importImpexFile(java.lang.String file,
ImpexMacroParameterData macroParameters,
boolean errorIfMissing) |
boolean |
importImpexFile(java.lang.String file,
ImpexMacroParameterData macroParameters,
boolean errorIfMissing,
boolean legacyMode) |
protected void |
importImpexFile(java.lang.String file,
java.io.InputStream stream,
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) |
void |
setCommonI18NService(CommonI18NService commonI18NService) |
void |
setFileEncoding(java.lang.String fileEncoding) |
void |
setImpexExt(java.lang.String impexExt) |
void |
setImportService(ImportService importService) |
protected java.lang.String getFileEncoding()
public void setFileEncoding(java.lang.String fileEncoding)
protected java.lang.String getImpexExt()
public void setImpexExt(java.lang.String impexExt)
protected CommonI18NService getCommonI18NService()
public void setCommonI18NService(CommonI18NService commonI18NService)
protected ImportService getImportService()
public void setImportService(ImportService importService)
public void importImpexFile(java.lang.String file,
boolean errorIfMissing)
SetupImpexServiceimportImpexFile in interface SetupImpexServicefile - the file path to importerrorIfMissing - flag, set to true to error if the file is not foundpublic void importImpexFile(java.lang.String file,
boolean errorIfMissing,
boolean legacyMode)
SetupImpexServiceimportImpexFile in interface SetupImpexServicefile - the file path to importerrorIfMissing - flag, set to true to error if the file is not foundlegacyMode - flag, set to true to use legacy impex modeprotected void importImpexFile(java.lang.String file,
java.io.InputStream stream,
boolean legacyMode)
public boolean importImpexFile(java.lang.String file,
java.util.Map<java.lang.String,java.lang.Object> macroParameters,
boolean errorIfMissing,
boolean legacyMode)
importImpexFile in interface SetupImpexServicefile - 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,
java.util.Map<java.lang.String,java.lang.Object> macroParameters,
boolean errorIfMissing)
importImpexFile in interface SetupImpexServicefile - 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,
ImpexMacroParameterData macroParameters,
boolean errorIfMissing,
boolean legacyMode)
importImpexFile in interface SetupImpexServicefile - 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 SetupImpexServicefile - 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.