Package de.xima.fc.interfaces.strategy
Interface IImportConversionStrategy
-
- All Known Implementing Classes:
AuthConfigConversion
public interface IImportConversionStrategyInterface to use inImportValueConverterto 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 Objectconvert(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-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
-
-