public class ImportSupervisor
extends java.lang.Object
Constructor and Description |
---|
ImportSupervisor(ExportDataAnalyzerService analizerService,
ImportService importService,
ImportConfig config,
java.util.List<Importer> importers) |
Modifier and Type | Method and Description |
---|---|
EnclosedItemProperty |
getEnclosedItemPropertyForId(java.lang.String id) |
java.lang.Object |
getEnclosedObject(EnclosedItemProperty property,
boolean registerImportedObject) |
ExportedItem |
getExportedItemFor(ImportItemConfig config) |
ExportedItem |
getExportedItemFor(java.lang.String id) |
java.lang.Class<?> |
getExporterForEnclosed(java.lang.String id) |
java.lang.Object |
getExternalReference(java.lang.String id) |
java.lang.String |
getImportIdForImportedObject(java.lang.Object object) |
ImportItemConfig |
getItemConfigFor(java.lang.String id) |
java.lang.Object |
getReferencedObject(java.lang.String id,
boolean registerImportedObject) |
Importer |
getResponsibleImporterFor(java.lang.Class<?> type) |
Importer |
getResponsibleImporterFor(ImportItemConfig itemConfig) |
ImportResult |
importData() |
boolean |
isExternalReference(java.lang.String id) |
void |
notifyImportDone(java.lang.String id,
java.lang.Object obj) |
void |
registerExternalReference(java.lang.String id,
java.lang.Object referenceObject) |
void |
registerImportedObject(java.lang.String id,
java.lang.Object object) |
public ImportSupervisor(ExportDataAnalyzerService analizerService, ImportService importService, ImportConfig config, java.util.List<Importer> importers)
public ImportResult importData() throws java.lang.ClassNotFoundException
java.lang.ClassNotFoundException
public java.lang.Class<?> getExporterForEnclosed(java.lang.String id) throws java.lang.ClassNotFoundException
java.lang.ClassNotFoundException
public void registerImportedObject(java.lang.String id, java.lang.Object object)
public void notifyImportDone(java.lang.String id, java.lang.Object obj)
public java.lang.String getImportIdForImportedObject(java.lang.Object object)
public java.lang.Object getReferencedObject(java.lang.String id, boolean registerImportedObject)
public Importer getResponsibleImporterFor(ImportItemConfig itemConfig)
public ImportItemConfig getItemConfigFor(java.lang.String id)
public ExportedItem getExportedItemFor(java.lang.String id)
public EnclosedItemProperty getEnclosedItemPropertyForId(java.lang.String id)
public ExportedItem getExportedItemFor(ImportItemConfig config)
public java.lang.Object getEnclosedObject(EnclosedItemProperty property, boolean registerImportedObject)
public Importer getResponsibleImporterFor(java.lang.Class<?> type)
public void registerExternalReference(java.lang.String id, java.lang.Object referenceObject)
public boolean isExternalReference(java.lang.String id)
public java.lang.Object getExternalReference(java.lang.String id)