| Modifier and Type | Method and Description |
|---|---|
protected void |
ExcelImportJobPerformable.logImpexResult(ImportResult importResult) |
protected PerformResult |
ExcelImportJobPerformable.mapResult(ImportResult importResult) |
| Modifier and Type | Method and Description |
|---|---|
protected java.util.Optional<ImportResult> |
DefaultBackofficeSolrSearchImpexImportSystemSetup.tryToImportImpexFile(java.lang.String filePath) |
| Modifier and Type | Method and Description |
|---|---|
static ImportResult |
ImportTestUtils.importResultWithLogErrors(java.lang.String impexFileLoc,
java.lang.String errLogText)
Mocks an import result with errors present in the error log.
|
static ImportResult |
ImportTestUtils.importResultWithUnresolvedLineErrors(java.lang.String impexFileLoc,
java.lang.String errLogText,
java.io.InputStream mediaStream)
Mocks an import result with errors present in the unresolved lines.
|
| Modifier and Type | Method and Description |
|---|---|
static void |
ImportTestUtils.makeResultSuccessful(ImportResult result)
Takes mock of an
ImportResult and finishes stubbing to simulate success import result. |
static void |
ImportTestUtils.makeResultWithErrors(ImportResult res,
java.lang.String errLogText)
Takes mock of an
ImportResult and finishes stubbing to simulate errors present in the result. |
static void |
ImportTestUtils.makeResultWithErrors(ImportResult res,
java.lang.String errLogText,
MediaService mediaService,
java.io.InputStream mediaStream)
Takes mock of an
ImportResult and finishes stubbing to simulate errors present in the result. |
static void |
ImportTestUtils.makeResultWithMediaServiceException(ImportResult res,
MediaService mediaService)
Takes mock of an
ImportResult and throws an IOException when calling the mediaService |
| Modifier and Type | Method and Description |
|---|---|
ImportResult |
ImpexImportService.importMedia(ImpExMediaModel impexMedia)
Deprecated.
Imports the
ImpExMediaModel |
| Modifier and Type | Method and Description |
|---|---|
ImportResult |
DefaultSapImpexImportService.importMedia(ImpExMediaModel impexMedia)
Deprecated.
Imports the impex media and returns the
ImportResult |
| Modifier and Type | Method and Description |
|---|---|
void |
RemoveCallback.afterRemoved(RemoveCatalogVersionCronJobModel cronJobModel,
P parentType,
ImportResult result)
Hook for the after import handling.
|
void |
RemoveCallback.doRemove(RemoveCatalogVersionCronJobModel cronJobModel,
P parentType,
ImportResult result)
Hook for the period polling current status of the import.
|
| Modifier and Type | Method and Description |
|---|---|
void |
RemoveCatalogVersionsCallback.afterRemoved(RemoveCatalogVersionCronJobModel cronJobModel,
java.util.Collection<CatalogVersionModel> catalogVersions,
ImportResult result)
Performed after import job finishes.
|
void |
RemoveCatalogVersionsCallback.doRemove(RemoveCatalogVersionCronJobModel cronJobModel,
java.util.Collection<CatalogVersionModel> catalogVersion,
ImportResult result)
Performed while import job is running, poll called for the state of the import every 1 second.
|
| Modifier and Type | Method and Description |
|---|---|
static ImportResult |
DataImportTestUtils.importResult(java.lang.String impexFileLoc)
Mocks an import result, which is wired up with the CronJobModel and WorkMedia.
|
static ImportResult |
DataImportTestUtils.successfulImportResult()
Mocks a successful import result.
|
| Modifier and Type | Method and Description |
|---|---|
T |
ImportResultConverter.convert(ImportResult importRes)
Converts service import result to item import result
|
| Modifier and Type | Method and Description |
|---|---|
T |
DefaultImportErrorsConverter.convert(ImportResult importRes) |
protected java.util.Collection<DataImportError> |
DefaultImportErrorsConverter.extractErrorsFrom(ImportResult importRes) |
protected T |
DefaultImportErrorsConverter.toItemImportResult(ImportResult importRes) |
| Modifier and Type | Method and Description |
|---|---|
protected ImportResult |
AbstractMarketplaceImpexRunnerTask.process(java.io.File file,
java.lang.String encoding) |
| Modifier and Type | Method and Description |
|---|---|
protected java.lang.String |
AbstractMarketplaceImpexRunnerTask.createLogMsg(java.util.List<ImportResult> results) |
protected void |
AbstractMarketplaceImpexRunnerTask.log(java.util.List<ImportResult> results,
java.io.File target) |
| Modifier and Type | Method and Description |
|---|---|
ImportResult |
ImpexImportUnitResult.getImportResult() |
| Modifier and Type | Method and Description |
|---|---|
void |
ImpexImportUnitResult.setImportResult(ImportResult importResult) |
| Modifier and Type | Method and Description |
|---|---|
ImportResult |
ServicelayerTest.importData(ImportConfig config)
Delegates to de.hybris.platform.servicelayer.ServicelayerTestLogic#importData(de.hybris.platform.servicelayer.impex.ImportConfig, de.hybris.platform.servicelayer.impex.ImportService)
|
ImportResult |
ServicelayerTestLogic.importData(ImportConfig config,
ImportService importService)
Performs import using provided config.
|
| Modifier and Type | Method and Description |
|---|---|
ImportResult |
ImportService.importData(ImpExResource script)
Imports platform data using given impex import script.
|
ImportResult |
ImportService.importData(ImportConfig config)
Imports platform data.
|
| Modifier and Type | Method and Description |
|---|---|
java.util.stream.Stream<? extends ImpExError> |
ImportService.collectImportErrors(ImportResult result)
Allows to collect import error objects built from import result dump.
|
| Modifier and Type | Class and Description |
|---|---|
class |
ImportCronJobResult
Implementation based on an import cronjob.
|
| Modifier and Type | Method and Description |
|---|---|
ImportResult |
DefaultImportService.importData(ImpExResource script) |
ImportResult |
DefaultImportService.importData(ImportConfig config) |
| Modifier and Type | Method and Description |
|---|---|
java.util.stream.Stream<? extends ImpExError> |
DefaultImportService.collectImportErrors(ImportResult result) |
Copyright © 2018 SAP SE. All Rights Reserved.