Package de.xima.fc.importer.config
Class DatenbankZugriffImportConfig
- java.lang.Object
-
- de.xima.fc.importer.config.AEntityImportConfig<DatenbankZugriff>
-
- de.xima.fc.importer.config.DatenbankZugriffImportConfig
-
- All Implemented Interfaces:
IEntityImportConfig<DatenbankZugriff>,Serializable,Comparable<IEntityImportConfig<?>>
public class DatenbankZugriffImportConfig extends AEntityImportConfig<DatenbankZugriff>
Import config for database connections.- Since:
- 8.6.0
- Author:
- Hannes John
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class de.xima.fc.importer.config.AEntityImportConfig
alternative, conflictResolveAction, 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 protected IGenericDao<DatenbankZugriff>getDao()Returns the data access object of the entity to be imported.booleanisRelevantForImport()Whether importing this entity is actually relevant.protected voidmakeEntityUnique(IEntityContext ec)Makes the entity to be imported unique with respect to database constraints.-
Methods inherited from class de.xima.fc.importer.config.AEntityImportConfig
finalize, findPersisted, getAllChildrenFlat, getChildren, getConflictResolveAction, getDependencyUuid, getEntity, getEntityClass, getEntityToOverride, getImportJson, getOriginal, getOriginalExportId, getOriginalID, getOriginalName, getOriginalUUID, getPersisted, getUnresolvedDependencies, getUuidEntityValue, isEntityExists, isImported, isUuidExisting, loadAlternative, postCreate, postUpdate, preCreate, preUpdate, resolveDependencies, setAlternative, setConflictResolveAction, setEntity, setEntityToOverride, setImported, setOriginal, 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, ignore, setAlternativeId, shouldAlsoBeIgnored
-
-
-
-
Method Detail
-
getDao
protected IGenericDao<DatenbankZugriff> getDao()
Description copied from class:AEntityImportConfigReturns the data access object of the entity to be imported.- Specified by:
getDaoin classAEntityImportConfig<DatenbankZugriff>- Returns:
- data access object
-
makeEntityUnique
protected void makeEntityUnique(IEntityContext ec) throws Exception
Description copied from class:AEntityImportConfigMakes the entity to be imported unique with respect to database constraints. If the name is unique, this method should make the entity's name unique.- Specified by:
makeEntityUniquein classAEntityImportConfig<DatenbankZugriff>- Parameters:
ec- entity context- Throws:
Exception- if an error occurs
-
isRelevantForImport
public boolean isRelevantForImport()
Description copied from interface:IEntityImportConfigWhether importing this entity is actually relevant. When false, this entity should not be suggested to the user and should be skipped. Note that entities may become relevant depending on whether other entities are imported or not.- Returns:
- Whether the entity wrapped by this import config is relevant for the import.
-
-