public class TemplateImportConfig extends AEntityImportConfig<Textbaustein>
context, dependencies, entity, importJson, LOG, LOG_PREFIX, originalID, originalName, originalUUID, persisted, persistedName
Constructor and Description |
---|
TemplateImportConfig(IEntityContext ec,
Mandant client,
Textbaustein entity,
Set<IEntityDependency> dependencies,
String importJson) |
Modifier and Type | Method and Description |
---|---|
protected Textbaustein |
findPersisted(IEntityContext ec) |
protected void |
makeEntityUnique(IEntityContext ec) |
protected void |
postCreate(IEntityContext ec) |
protected void |
postUpdate(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) |
finalize, getAllChildrenFlat, getChildren, getConflictResolveAction, getDependencies, getDependencyUuid, getEntity, getEntityClass, getEntityToOverride, getImportJson, getOriginalID, getOriginalName, getOriginalUUID, getPersisted, getUuidEntityValue, isEntityExists, isImported, isUuidExisting, loadAlternative, resolveDependencies, setAlternativeId, setConflictResolveAction, setEntity, setEntityToOverride, setImported, setPersisted, stage, toString, updatePersisted, validateImport
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
compareTo
public TemplateImportConfig(IEntityContext ec, Mandant client, Textbaustein entity, Set<IEntityDependency> dependencies, String importJson)
public TemplateImportConfig withName(String name)
public TemplateImportConfig withDescription(String desc)
public TemplateImportConfig withTextValue(String textValue)
public TemplateImportConfig withIsSystem(boolean isSystem)
public TemplateImportConfig withCategory(ETextbausteinKategorie category)
protected Textbaustein findPersisted(IEntityContext ec)
findPersisted
in class AEntityImportConfig<Textbaustein>
protected void makeEntityUnique(IEntityContext ec)
makeEntityUnique
in class AEntityImportConfig<Textbaustein>
protected void preCreate(IEntityContext ec)
preCreate
in class AEntityImportConfig<Textbaustein>
protected void postCreate(IEntityContext ec) throws Exception
postCreate
in class AEntityImportConfig<Textbaustein>
Exception
protected void preUpdate(IEntityContext ec) throws Exception
preUpdate
in class AEntityImportConfig<Textbaustein>
Exception
protected void postUpdate(IEntityContext ec) throws Exception
postUpdate
in class AEntityImportConfig<Textbaustein>
Exception
Copyright © 2020 XIMA MEDIA GmbH. All rights reserved.