Package de.xima.fc.importer.config
Class ProjectIdentityCheckDataImportConfig
- java.lang.Object
-
- de.xima.fc.importer.config.AEntityImportConfig<ProjectIdentityCheckData>
-
- de.xima.fc.importer.config.ProjectIdentityCheckDataImportConfig
-
- All Implemented Interfaces:
IEntityImportConfig<ProjectIdentityCheckData>
,Serializable
,Comparable<IEntityImportConfig<?>>
public class ProjectIdentityCheckDataImportConfig extends AEntityImportConfig<ProjectIdentityCheckData>
- Since:
- 7.0.0
- Author:
- XIMA MEDIA GmbH
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class de.xima.fc.importer.config.AEntityImportConfig
context, entity, formcycleVersion, 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<ProjectIdentityCheckData>
getDao()
protected boolean
isUuidExisting(IEntityContext ec)
protected void
makeEntityUnique(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, loadAlternative, postCreate, postUpdate, preCreate, preUpdate, 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:IEntityImportConfig
Finish the import. Should be called after every import config has been staged for import and deprecated fields have been handled.- Specified by:
finalize
in interfaceIEntityImportConfig<ProjectIdentityCheckData>
- Overrides:
finalize
in classAEntityImportConfig<ProjectIdentityCheckData>
- Parameters:
ec
-IEntityContext
to 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:
List
ofDependencyDescriptor
s of missing dependencies- Throws:
Exception
- When the entity import could not be finalized.
-
isUuidExisting
protected boolean isUuidExisting(IEntityContext ec)
- Overrides:
isUuidExisting
in classAEntityImportConfig<ProjectIdentityCheckData>
-
getDao
protected IGenericDao<ProjectIdentityCheckData> getDao()
- Specified by:
getDao
in classAEntityImportConfig<ProjectIdentityCheckData>
-
makeEntityUnique
protected void makeEntityUnique(IEntityContext ec)
- Specified by:
makeEntityUnique
in classAEntityImportConfig<ProjectIdentityCheckData>
-
-