Package de.xima.fc.importer.config
Class StateImportConfig
- java.lang.Object
-
- de.xima.fc.importer.config.AEntityImportConfig<Status>
-
- de.xima.fc.importer.config.StateImportConfig
-
- All Implemented Interfaces:
IEntityImportConfig<Status>,Serializable,Comparable<IEntityImportConfig<?>>
@Deprecated public class StateImportConfig extends AEntityImportConfig<Status>
Deprecated.- 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
-
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description intcompareTo(IEntityImportConfig<?> o)Deprecated.List<ActionImportConfig>getActions()Deprecated.List<IEntityImportConfig<?>>getChildren()Deprecated.protected IGenericDao<Status>getDao()Deprecated.Returns the data access object of the entity to be imported.protected booleanisUuidExisting(IEntityContext ec)Deprecated.protected voidmakeEntityUnique(IEntityContext ec)Deprecated.Makes the entity to be imported unique with respect to database constraints.protected voidpostCreate(IEntityContext ec)Deprecated.Is called after creating the entity to be imported.protected voidpostUpdate(IEntityContext ec)Deprecated.Is called after overriding the entity to be imported.protected voidpreCreate(IEntityContext ec)Deprecated.Is called before the entity to be imported is created.protected voidpreUpdate(IEntityContext ec)Deprecated.Is called before the entity to be imported is overridden.voidsetPersisted(Status persisted)Deprecated.-
Methods inherited from class de.xima.fc.importer.config.AEntityImportConfig
finalize, findPersisted, getAllChildrenFlat, getConflictResolveAction, getDependencyUuid, getEntity, getEntityClass, getEntityToOverride, getImportJson, getOriginal, getOriginalExportId, getOriginalID, getOriginalName, getOriginalUUID, getPersisted, getUnresolvedDependencies, getUuidEntityValue, isEntityExists, isImported, loadAlternative, resolveDependencies, setAlternative, setConflictResolveAction, setEntity, setEntityToOverride, setImported, setOriginal, 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
getDependencies, ignore, isRelevantForImport, setAlternativeId, shouldAlsoBeIgnored
-
-
-
-
Method Detail
-
getActions
public List<ActionImportConfig> getActions()
Deprecated.
-
setPersisted
public void setPersisted(Status persisted)
Deprecated.- Specified by:
setPersistedin interfaceIEntityImportConfig<Status>- Overrides:
setPersistedin classAEntityImportConfig<Status>- Parameters:
persisted- The persisted entity that may be overridden
-
getChildren
public List<IEntityImportConfig<?>> getChildren()
Deprecated.- Specified by:
getChildrenin interfaceIEntityImportConfig<Status>- Overrides:
getChildrenin classAEntityImportConfig<Status>- Returns:
- all child importConfigs
-
compareTo
public int compareTo(IEntityImportConfig<?> o)
Deprecated.
-
isUuidExisting
protected boolean isUuidExisting(IEntityContext ec)
Deprecated.- Overrides:
isUuidExistingin classAEntityImportConfig<Status>
-
getDao
protected IGenericDao<Status> getDao()
Deprecated.Description copied from class:AEntityImportConfigReturns the data access object of the entity to be imported.- Specified by:
getDaoin classAEntityImportConfig<Status>- Returns:
- data access object
-
makeEntityUnique
protected void makeEntityUnique(IEntityContext ec)
Deprecated.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<Status>- Parameters:
ec- entity context
-
preCreate
protected void preCreate(IEntityContext ec) throws Exception
Deprecated.Description copied from class:AEntityImportConfigIs called before the entity to be imported is created.- Overrides:
preCreatein classAEntityImportConfig<Status>- Parameters:
ec- entity context- Throws:
Exception- if an error occurs
-
postCreate
protected void postCreate(IEntityContext ec) throws Exception
Deprecated.Description copied from class:AEntityImportConfigIs called after creating the entity to be imported.- Overrides:
postCreatein classAEntityImportConfig<Status>- Parameters:
ec- entity context- Throws:
Exception- if an error occurs
-
preUpdate
protected void preUpdate(IEntityContext ec) throws Exception
Deprecated.Description copied from class:AEntityImportConfigIs called before the entity to be imported is overridden.- Overrides:
preUpdatein classAEntityImportConfig<Status>- Parameters:
ec- entity context- Throws:
Exception- if an error occurs
-
postUpdate
protected void postUpdate(IEntityContext ec) throws Exception
Deprecated.Description copied from class:AEntityImportConfigIs called after overriding the entity to be imported. If the existing entity is overridden, it is being updated.- Overrides:
postUpdatein classAEntityImportConfig<Status>- Parameters:
ec- entity context- Throws:
Exception- if an error occurs
-
-