public interface ImportService
ExportService
Modifier and Type | Method and Description |
---|---|
void |
configureParents(ExportedItem item,
ImportConfig config,
java.lang.String topMostParentId,
AbstractNode<?> topMostParentTarget,
java.lang.Class<? extends Exporter> exporter) |
void |
configureParents(ImportConfig config,
java.lang.String topMostParentId,
AbstractNode<?> topMostParentTarget,
java.lang.Class<? extends Exporter> exporter) |
EnclosedItemProperty |
getEnclosedItemPropertyForId(ExportDataProvider dataProvider,
java.lang.String id)
Returns the
EnclosedItemProperty for the element identified by the
given ID |
ExportedItem |
getExportedItemById(ExportDataProvider dataProvider,
java.lang.String id)
Returns the exported item identified by ID
|
java.util.List<ExportedItem> |
getToBeConfigured(ImportConfig config)
|
ImportResult |
importData(ImportConfig config)
Imports the data from the given
ImportConfig |
java.util.List<ExportedItem> getToBeConfigured(ImportConfig config)
config
- The ImportConfig
List
of ExportedItem
sImportResult importData(ImportConfig config)
ImportConfig
config
- The ImportConfig
ImportResult
ExportedItem getExportedItemById(ExportDataProvider dataProvider, java.lang.String id)
id
- The ID identifying the desired itemExportedItem
EnclosedItemProperty getEnclosedItemPropertyForId(ExportDataProvider dataProvider, java.lang.String id)
EnclosedItemProperty
for the element identified by the
given IDid
- The ID of the elementEnclosedItemProperty
void configureParents(ImportConfig config, java.lang.String topMostParentId, AbstractNode<?> topMostParentTarget, java.lang.Class<? extends Exporter> exporter) throws java.lang.ClassNotFoundException
java.lang.ClassNotFoundException
void configureParents(ExportedItem item, ImportConfig config, java.lang.String topMostParentId, AbstractNode<?> topMostParentTarget, java.lang.Class<? extends Exporter> exporter) throws java.lang.ClassNotFoundException
java.lang.ClassNotFoundException