Package de.xima.fc.interfaces.strategy
Interface IImportConversionStrategy
- All Known Implementing Classes:
AuthConfigConversion
public interface IImportConversionStrategy
Interface to use in
ImportValueConverter to define how deprecated entity fields should be converted- Author:
- XIMA MEDIA GmbH
-
Method Summary
-
Method Details
-
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-IEntitythat has been importeddeserializedEntity-IEntityoriginal deserialized EntityfcVersion-Stringversion of the imported entity. That is the formcycle version the entity has been exported fromexportVersion-Stringversion of the entity export- Returns:
- new value of the entity field
-