Package de.xima.fc.importer.config
Class ImportConfigDataFactory
- java.lang.Object
-
- de.xima.fc.importer.config.ImportConfigDataFactory
-
public class ImportConfigDataFactory extends Object
Factory for generating import config data- Since:
- 7.0.0
- Author:
- XIMA MEDIA GmbH, Dresden - 19.02.2021
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static <T extends de.xima.cmn.dao.interfaces.IEntity<Long>>
IEntityImportConfig<?>newImportConfig(IEntityContext ec, de.xima.cmn.dao.interfaces.IEntity<Long> contextEntity, IEntityDeserializationResult<T> importEntityData, IExportUnzipResult exportResult, T entityToOverride)
-
-
-
Method Detail
-
newImportConfig
public static final <T extends de.xima.cmn.dao.interfaces.IEntity<Long>> IEntityImportConfig<?> newImportConfig(IEntityContext ec, de.xima.cmn.dao.interfaces.IEntity<Long> contextEntity, IEntityDeserializationResult<T> importEntityData, IExportUnzipResult exportResult, T entityToOverride)
- Type Parameters:
T
- type of entity to import- Parameters:
ec
- openedIEntityContext
that may be usedcontextEntity
- entity that is the context of the entity that is to be imported, e.g. theMandant
in which aProjekt
is to be imported.importEntityData
- data of thet entity that is to be importedexportResult
- the result of unzipping a formcycle export fileentityToOverride
- the entity that is supposed to be overridden. May be null if no entity should be overridden.- Returns:
- import config for the given entity data
-
-