Package de.xima.fc.importer.config
Class ProjectPortalDataImportConfig
- java.lang.Object
-
- de.xima.fc.importer.config.AEntityImportConfig<ProjectPortalData>
-
- de.xima.fc.importer.config.ProjectPortalDataImportConfig
-
- All Implemented Interfaces:
IEntityImportConfig<ProjectPortalData>,Serializable,Comparable<IEntityImportConfig<?>>
public class ProjectPortalDataImportConfig extends AEntityImportConfig<ProjectPortalData>
- Since:
- 8.2.0
- Author:
- XIMA MEDIA GmbH
- 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 Modifier and Type Method Description protected IGenericDao<ProjectPortalData>getDao()Returns the data access object of the entity to be imported.protected booleanisUuidExisting(IEntityContext ec)protected voidmakeEntityUnique(IEntityContext ec)Makes the entity to be imported unique with respect to database constraints.-
Methods inherited from class de.xima.fc.importer.config.AEntityImportConfig
finalize, findPersisted, getAllChildrenFlat, getChildren, getConflictResolveAction, getDependencyUuid, getEntity, getEntityClass, getEntityToOverride, getImportJson, getOriginal, getOriginalExportId, getOriginalID, getOriginalName, getOriginalUUID, getPersisted, getUnresolvedDependencies, getUuidEntityValue, isEntityExists, isImported, loadAlternative, postCreate, postUpdate, preCreate, preUpdate, resolveDependencies, setAlternative, setConflictResolveAction, setEntity, setEntityToOverride, setImported, setOriginal, setPersisted, 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
compareTo, getDependencies, ignore, isRelevantForImport, setAlternativeId, shouldAlsoBeIgnored
-
-
-
-
Method Detail
-
isUuidExisting
protected boolean isUuidExisting(IEntityContext ec)
- Overrides:
isUuidExistingin classAEntityImportConfig<ProjectPortalData>
-
getDao
protected IGenericDao<ProjectPortalData> getDao()
Description copied from class:AEntityImportConfigReturns the data access object of the entity to be imported.- Specified by:
getDaoin classAEntityImportConfig<ProjectPortalData>- Returns:
- data access object
-
makeEntityUnique
protected void makeEntityUnique(IEntityContext ec) throws Exception
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<ProjectPortalData>- Parameters:
ec- entity context- Throws:
Exception- if an error occurs
-
-