public class ProjectImportConfig extends AEntityImportConfig<Projekt>
Projekt
scontext, dependencies, entity, importJson, LOG, LOG_PREFIX, originalID, originalName, originalUUID, persisted, persistedName
Constructor and Description |
---|
ProjectImportConfig(IEntityContext ec,
Mandant client,
Projekt entity,
Projekt override,
Set<IEntityDependency> dependencies,
String importJson,
List<DeserializedEntity> deserializedEntities) |
Modifier and Type | Method and Description |
---|---|
List<DependencyDescriptor> |
finalize(IEntityContext ec,
String fcVersion,
String exportVersion)
Finish the import.
|
FormVersionImportConfig |
getActiveVersion() |
List<IEntityImportConfig<?>> |
getChildren() |
List<StateMapperModel> |
getStateMapping() |
List<StateImportConfig> |
getStates() |
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) |
protected void |
validateImport(IEntityContext ec) |
ProjectImportConfig |
withAlias(String alias) |
ProjectImportConfig |
withImportAsTemplate(boolean importAsTemplate) |
ProjectImportConfig |
withScope(String scope) |
ProjectImportConfig |
withTitle(String title) |
findPersisted, getAllChildrenFlat, 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
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
compareTo
public ProjectImportConfig(IEntityContext ec, Mandant client, Projekt entity, Projekt override, Set<IEntityDependency> dependencies, String importJson, List<DeserializedEntity> deserializedEntities)
public FormVersionImportConfig getActiveVersion()
public List<StateImportConfig> getStates()
public List<StateMapperModel> getStateMapping()
public List<IEntityImportConfig<?>> getChildren()
getChildren
in interface IEntityImportConfig<Projekt>
getChildren
in class AEntityImportConfig<Projekt>
public ProjectImportConfig withTitle(String title)
public ProjectImportConfig withAlias(String alias)
public ProjectImportConfig withScope(String scope)
public ProjectImportConfig withImportAsTemplate(boolean importAsTemplate)
public List<DependencyDescriptor> finalize(IEntityContext ec, String fcVersion, String exportVersion) throws Exception
IEntityImportConfig
finalize
in interface IEntityImportConfig<Projekt>
finalize
in class AEntityImportConfig<Projekt>
ec
- IEntityContext
to be usedList
of DependencyDescriptor
s of missing dependenciesException
protected void makeEntityUnique(IEntityContext ec) throws Exception
makeEntityUnique
in class AEntityImportConfig<Projekt>
Exception
protected void preCreate(IEntityContext ec) throws Exception
preCreate
in class AEntityImportConfig<Projekt>
Exception
protected void postCreate(IEntityContext ec) throws Exception
postCreate
in class AEntityImportConfig<Projekt>
Exception
protected void preUpdate(IEntityContext ec) throws Exception
preUpdate
in class AEntityImportConfig<Projekt>
Exception
protected void postUpdate(IEntityContext ec) throws Exception
postUpdate
in class AEntityImportConfig<Projekt>
Exception
protected void validateImport(IEntityContext ec) throws Exception
validateImport
in class AEntityImportConfig<Projekt>
Exception
Copyright © 2021 XIMA MEDIA GmbH. All rights reserved.