Package de.xima.fc.importer.config
Class AppointmentTemplateImportConfig
- java.lang.Object
-
- de.xima.fc.importer.config.AEntityImportConfig<AppointmentTemplate>
-
- de.xima.fc.importer.config.AppointmentTemplateImportConfig
-
- All Implemented Interfaces:
IEntityImportConfig<AppointmentTemplate>,Serializable,Comparable<IEntityImportConfig<?>>
public class AppointmentTemplateImportConfig extends AEntityImportConfig<AppointmentTemplate>
- 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
alternative, conflictResolveAction, context, entity, formcycleVersion, importJson, LOG, LOG_PREFIX, originalID, originalName, originalUUID, persisted, persistedName, unresolvedDependencies
-
-
Constructor Summary
Constructors Constructor Description AppointmentTemplateImportConfig(IEntityImportConfigData<AppointmentTemplate> data)AppointmentTemplateImportConfig(IEntityContext ec, Mandant client, AppointmentTemplate entity, Set<IEntityDependency> dependencies, String importJson)Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected IGenericDao<AppointmentTemplate>getDao()Returns the data access object of the entity to be imported.protected voidmakeEntityUnique(IEntityContext ec)Makes the entity to be imported unique with respect to database constraints.protected voidpreUpdate(IEntityContext ec)Is called before the entity to be imported is overridden.-
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, 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, isRelevantForImport, setAlternativeId, shouldAlsoBeIgnored
-
-
-
-
Constructor Detail
-
AppointmentTemplateImportConfig
public AppointmentTemplateImportConfig(IEntityImportConfigData<AppointmentTemplate> data)
-
AppointmentTemplateImportConfig
@Deprecated public AppointmentTemplateImportConfig(IEntityContext ec, Mandant client, AppointmentTemplate entity, Set<IEntityDependency> dependencies, String importJson)
Deprecated.
-
-
Method Detail
-
getDao
protected IGenericDao<AppointmentTemplate> getDao()
Description copied from class:AEntityImportConfigReturns the data access object of the entity to be imported.- Specified by:
getDaoin classAEntityImportConfig<AppointmentTemplate>- 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<AppointmentTemplate>- Parameters:
ec- entity context- Throws:
Exception- if an error occurs
-
preUpdate
protected void preUpdate(IEntityContext ec) throws Exception
Description copied from class:AEntityImportConfigIs called before the entity to be imported is overridden.- Overrides:
preUpdatein classAEntityImportConfig<AppointmentTemplate>- Parameters:
ec- entity context- Throws:
Exception- if an error occurs
-
-