Package de.xima.fc.importer.config
Class TemplateImportConfig
- java.lang.Object
-
- de.xima.fc.importer.config.AEntityImportConfig<Textbaustein>
-
- de.xima.fc.importer.config.TemplateImportConfig
-
- All Implemented Interfaces:
IEntityImportConfig<Textbaustein>
,Serializable
,Comparable<IEntityImportConfig<?>>
public class TemplateImportConfig extends AEntityImportConfig<Textbaustein>
- 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
-
-
Constructor Summary
Constructors Constructor Description TemplateImportConfig(IEntityImportConfigData<Textbaustein> data)
TemplateImportConfig(IEntityContext ec, Mandant client, Textbaustein entity, Set<IEntityDependency> dependencies, String importJson)
Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected Textbaustein
findPersisted(IEntityContext ec)
protected IGenericDao<Textbaustein>
getDao()
protected void
makeEntityUnique(IEntityContext ec)
protected void
preCreate(IEntityContext ec)
protected void
preUpdate(IEntityContext ec)
TemplateImportConfig
withCategory(ETextbausteinKategorie category)
TemplateImportConfig
withDescription(String desc)
TemplateImportConfig
withIsSystem(boolean isSystem)
TemplateImportConfig
withName(String name)
TemplateImportConfig
withTextValue(String textValue)
-
Methods inherited from class de.xima.fc.importer.config.AEntityImportConfig
finalize, 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
-
-
-
-
Constructor Detail
-
TemplateImportConfig
public TemplateImportConfig(IEntityImportConfigData<Textbaustein> data)
-
TemplateImportConfig
@Deprecated public TemplateImportConfig(IEntityContext ec, Mandant client, Textbaustein entity, Set<IEntityDependency> dependencies, String importJson)
Deprecated.
-
-
Method Detail
-
withName
public TemplateImportConfig withName(String name)
-
withDescription
public TemplateImportConfig withDescription(String desc)
-
withTextValue
public TemplateImportConfig withTextValue(String textValue)
-
withIsSystem
public TemplateImportConfig withIsSystem(boolean isSystem)
-
withCategory
public TemplateImportConfig withCategory(ETextbausteinKategorie category)
-
findPersisted
protected Textbaustein findPersisted(IEntityContext ec)
- Overrides:
findPersisted
in classAEntityImportConfig<Textbaustein>
-
getDao
protected IGenericDao<Textbaustein> getDao()
- Specified by:
getDao
in classAEntityImportConfig<Textbaustein>
-
makeEntityUnique
protected void makeEntityUnique(IEntityContext ec)
- Specified by:
makeEntityUnique
in classAEntityImportConfig<Textbaustein>
-
preCreate
protected void preCreate(IEntityContext ec)
- Overrides:
preCreate
in classAEntityImportConfig<Textbaustein>
-
preUpdate
protected void preUpdate(IEntityContext ec) throws Exception
- Overrides:
preUpdate
in classAEntityImportConfig<Textbaustein>
- Throws:
Exception
-
-