Package de.xima.fc.importer.config
Class FormVersionImportConfig
- java.lang.Object
 - 
- de.xima.fc.importer.config.AEntityImportConfig<FormVersion>
 - 
- de.xima.fc.importer.config.FormVersionImportConfig
 
 
 
- 
- All Implemented Interfaces:
 IEntityImportConfig<FormVersion>,Serializable,Comparable<IEntityImportConfig<?>>
public class FormVersionImportConfig extends AEntityImportConfig<FormVersion>
- Since:
 - 6.6.0
 - Author:
 - XIMA MEDIA GmbH, Dresden - 22.05.2020
 - See Also:
 - Serialized Form
 
 
- 
- 
Field Summary
- 
Fields inherited from class de.xima.fc.importer.config.AEntityImportConfig
context, entity, importJson, LOG, LOG_PREFIX, originalID, originalName, originalUUID, persisted, persistedName, unresolvedDependencies 
 - 
 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<DependencyDescriptor>finalize(IEntityContext ec, String fcVersion, String exportVersion)Finish the import.protected IGenericDao<FormVersion>getDao()protected voidmakeEntityUnique(IEntityContext ec)protected voidpreCreate(IEntityContext ec)protected voidpreUpdate(IEntityContext ec)- 
Methods inherited from class de.xima.fc.importer.config.AEntityImportConfig
findPersisted, getAllChildrenFlat, getChildren, getConflictResolveAction, getDependencyUuid, getEntity, getEntityClass, getEntityToOverride, getImportJson, getOriginalExportId, getOriginalID, getOriginalName, getOriginalUUID, getPersisted, getUnresolvedDependencies, getUuidEntityValue, isEntityExists, isImported, isUuidExisting, loadAlternative, postCreate, postUpdate, resolveDependencies, setAlternativeId, setConflictResolveAction, setEntity, setEntityToOverride, setImported, setPersisted, stage, toString, updatePersisted, validateImport 
- 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait 
- 
Methods inherited from interface de.xima.fc.importer.interfaces.IEntityImportConfig
compareTo, getDependencies 
 - 
 
 - 
 
- 
- 
Method Detail
- 
finalize
public List<DependencyDescriptor> finalize(IEntityContext ec, String fcVersion, String exportVersion) throws Exception
Description copied from interface:IEntityImportConfigFinish the import. Should be called after every import config has been staged for import and deprecated fields have been handled.- Specified by:
 finalizein interfaceIEntityImportConfig<FormVersion>- Overrides:
 finalizein classAEntityImportConfig<FormVersion>- Parameters:
 ec-IEntityContextto be usedfcVersion- The current FORMCYCLE version where the entity is imported.exportVersion- The FORMCYCLE version that was used to create the export file with the entity.- Returns:
 ListofDependencyDescriptors of missing dependencies- Throws:
 Exception
 
- 
getDao
protected IGenericDao<FormVersion> getDao()
- Specified by:
 getDaoin classAEntityImportConfig<FormVersion>
 
- 
makeEntityUnique
protected void makeEntityUnique(IEntityContext ec) throws Exception
- Specified by:
 makeEntityUniquein classAEntityImportConfig<FormVersion>- Throws:
 Exception
 
- 
preCreate
protected void preCreate(IEntityContext ec)
- Overrides:
 preCreatein classAEntityImportConfig<FormVersion>
 
- 
preUpdate
protected void preUpdate(IEntityContext ec)
- Overrides:
 preUpdatein classAEntityImportConfig<FormVersion>
 
 - 
 
 -