Package de.xima.fc.interfaces.strategy
Interface IImportConversionStrategy
-
- All Known Implementing Classes:
AuthConfigConversion
public interface IImportConversionStrategy
Interface to use inImportValueConverter
to define how deprecated entity fields should be converted- Author:
- XIMA MEDIA GmbH
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Object
convert(de.xima.cmn.dao.interfaces.IEntity<Long> importedEntity, de.xima.cmn.dao.interfaces.IEntity<Long> deserializedEntity, String fcVersion, String exportVersion)
Converts the value of an imported entity field to conform to the current FORMCYCLE version
-
-
-
Method Detail
-
convert
Object convert(de.xima.cmn.dao.interfaces.IEntity<Long> importedEntity, de.xima.cmn.dao.interfaces.IEntity<Long> deserializedEntity, String fcVersion, String exportVersion)
Converts the value of an imported entity field to conform to the current FORMCYCLE version- Parameters:
importedEntity
-IEntity
that has been importeddeserializedEntity
-IEntity
original deserialized EntityfcVersion
-String
version of the imported entity. That is the FORMCYCLE version the entity has been exported fromexportVersion
-String
version of the entity export- Returns:
- new value of the entity field
-
-