public class DefaultItemImportFacade extends Object implements ItemImportFacade
| Constructor and Description |
|---|
DefaultItemImportFacade() |
| Modifier and Type | Method and Description |
|---|---|
ItemImportResult |
importItems(ItemImportTaskData ctx)
Imports data into the system.
|
void |
setDataHubFacade(DataHubFacade dataHubFacade)
Injects implemenation of
DataHubFacade |
void |
setErrorLimit(int errorLimit)
Injects the maximum number of errors that will be reported back to Data Hub in a single publication.
|
void |
setEventService(EventService eventService)
Injects event service used by the system.
|
void |
setImportConfigStrategy(ImportConfigStrategy importConfigStrategy)
Injects the ImpEx import config strategy used
|
void |
setImportService(ImportService impl)
Injects
ImportService implementation to be used by this facade. |
void |
setResultConverter(ImportResultConverter converter)
Injects implementation of the
ImportResultConverter |
public ItemImportResult importItems(ItemImportTaskData ctx) throws IOException
ItemImportFacadeimportItems in interface ItemImportFacadectx - import task context data, which describes what items should be imported.IOException - when an input/output problem occurs during the items import.public void setImportService(ImportService impl)
ImportService implementation to be used by this facade.impl - implementation of the ImportService to use.public void setResultConverter(ImportResultConverter converter)
ImportResultConverterconverter - a converter to use for changing import service result to this facade's result.public void setDataHubFacade(DataHubFacade dataHubFacade)
DataHubFacadedataHubFacade - public final void setEventService(EventService eventService)
eventService - event service implementation to use.public void setErrorLimit(int errorLimit)
errorLimit - public void setImportConfigStrategy(ImportConfigStrategy importConfigStrategy)
importConfigStrategy - Copyright © 2017 SAP SE. All Rights Reserved.