public class DefaultPatchImportService extends java.lang.Object implements PatchImportService
IMPEX_IMPORT_CRON_JOB_REMOVE_ON_SUCCESS_PROPERTY_KEY, IMPEX_IMPORT_FAIL_ON_ERROR_PROPERTY_KEY| Constructor and Description |
|---|
DefaultPatchImportService() |
| Modifier and Type | Method and Description |
|---|---|
java.io.SequenceInputStream |
getStreamForImpexImportUnit(ImpexImportUnit impexImportUnit)
Method prepares SequenceInputStream based on impexImportUnit.
|
ImpexImportUnitResult |
importImpexUnit(ImpexImportUnit impexImportUnit)
Method for importing impex data based on ImpexImportUnit.
|
ImpexImportUnitResult |
importImpexUnitWithoutTracking(ImpexImportUnit impexImportUnit)
Method is workaround not to execute the aspect.
|
void |
setConfigurationService(ConfigurationService configurationService) |
void |
setImportService(ImportService importService) |
public ImpexImportUnitResult importImpexUnit(ImpexImportUnit impexImportUnit)
PatchImportServiceimportImpexUnit in interface PatchImportServiceimpexImportUnit - unit which keeps all datapublic ImpexImportUnitResult importImpexUnitWithoutTracking(ImpexImportUnit impexImportUnit)
PatchImportServiceimportImpexUnitWithoutTracking in interface PatchImportServiceimpexImportUnit - unit which keeps all datapublic java.io.SequenceInputStream getStreamForImpexImportUnit(ImpexImportUnit impexImportUnit) throws java.io.FileNotFoundException
PatchImportServicegetStreamForImpexImportUnit in interface PatchImportServiceimpexImportUnit - unit which keeps all datajava.io.FileNotFoundException - when a given impex file cannot be foundpublic void setConfigurationService(ConfigurationService configurationService)
public void setImportService(ImportService importService)
Copyright © 2018 SAP SE. All Rights Reserved.