public class ProjectImportConfig extends AEntityImportConfig<Projekt>
Projektscontext, 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, updatePersistedclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitcompareTopublic 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
IEntityImportConfigfinalize in interface IEntityImportConfig<Projekt>finalize in class AEntityImportConfig<Projekt>ec - IEntityContext to be usedList of DependencyDescriptors of missing dependenciesExceptionprotected void makeEntityUnique(IEntityContext ec) throws Exception
makeEntityUnique in class AEntityImportConfig<Projekt>Exceptionprotected void preCreate(IEntityContext ec) throws Exception
preCreate in class AEntityImportConfig<Projekt>Exceptionprotected void postCreate(IEntityContext ec) throws Exception
postCreate in class AEntityImportConfig<Projekt>Exceptionprotected void preUpdate(IEntityContext ec) throws Exception
preUpdate in class AEntityImportConfig<Projekt>Exceptionprotected void postUpdate(IEntityContext ec) throws Exception
postUpdate in class AEntityImportConfig<Projekt>Exceptionprotected void validateImport(IEntityContext ec) throws Exception
validateImport in class AEntityImportConfig<Projekt>ExceptionCopyright © 2020 XIMA MEDIA GmbH. All rights reserved.