public class ImportErrorsConverter extends Object implements ImportResultConverter
| Constructor and Description |
|---|
ImportErrorsConverter() |
| Modifier and Type | Method and Description |
|---|---|
ItemImportResult |
convert(ImportResult importRes)
Converts service import result to item import result
|
void |
setErrorLimit(int errorLimit)
The maximum number of errors to return before failing the entire publication
|
void |
setImportService(ImportService impl)
Injects
ImportService implementation to be used by this facade. |
public ItemImportResult convert(ImportResult importRes)
ImportResultConverterconvert in interface ImportResultConverterimportRes - result received from the import service.public void setImportService(ImportService impl)
ImportService implementation to be used by this facade.impl - implementation of the ImportService to use.public void setErrorLimit(int errorLimit)
errorLimit - the error limitCopyright © 2017 SAP SE. All Rights Reserved.