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<?>>
public class StateImportConfig extends AEntityImportConfig<Status>
- 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
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
compareTo(IEntityImportConfig<?> o)
List<ActionImportConfig>
getActions()
List<IEntityImportConfig<?>>
getChildren()
protected IGenericDao<Status>
getDao()
protected boolean
isUuidExisting(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)
void
setPersisted(Status persisted)
-
Methods inherited from class de.xima.fc.importer.config.AEntityImportConfig
finalize, findPersisted, getAllChildrenFlat, getConflictResolveAction, getDependencyUuid, getEntity, getEntityClass, getEntityToOverride, getImportJson, getOriginalExportId, getOriginalID, getOriginalName, getOriginalUUID, getPersisted, getUnresolvedDependencies, getUuidEntityValue, isEntityExists, isImported, loadAlternative, resolveDependencies, setAlternativeId, setConflictResolveAction, setEntity, setEntityToOverride, setImported, 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
-
-
-
-
Method Detail
-
getActions
public List<ActionImportConfig> getActions()
-
setPersisted
public void setPersisted(Status persisted)
- Specified by:
setPersisted
in interfaceIEntityImportConfig<Status>
- Overrides:
setPersisted
in classAEntityImportConfig<Status>
-
getChildren
public List<IEntityImportConfig<?>> getChildren()
- Specified by:
getChildren
in interfaceIEntityImportConfig<Status>
- Overrides:
getChildren
in classAEntityImportConfig<Status>
- Returns:
- all child importConfigs
-
compareTo
public int compareTo(IEntityImportConfig<?> o)
-
isUuidExisting
protected boolean isUuidExisting(IEntityContext ec)
- Overrides:
isUuidExisting
in classAEntityImportConfig<Status>
-
getDao
protected IGenericDao<Status> getDao()
- Specified by:
getDao
in classAEntityImportConfig<Status>
-
makeEntityUnique
protected void makeEntityUnique(IEntityContext ec)
- Specified by:
makeEntityUnique
in classAEntityImportConfig<Status>
-
preCreate
protected void preCreate(IEntityContext ec) throws Exception
- Overrides:
preCreate
in classAEntityImportConfig<Status>
- Throws:
Exception
-
postCreate
protected void postCreate(IEntityContext ec) throws Exception
- Overrides:
postCreate
in classAEntityImportConfig<Status>
- Throws:
Exception
-
preUpdate
protected void preUpdate(IEntityContext ec) throws Exception
- Overrides:
preUpdate
in classAEntityImportConfig<Status>
- Throws:
Exception
-
postUpdate
protected void postUpdate(IEntityContext ec) throws Exception
- Overrides:
postUpdate
in classAEntityImportConfig<Status>
- Throws:
Exception
-
-