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

      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 imported
        deserializedEntity - IEntity original deserialized Entity
        fcVersion - String version of the imported entity. That is the FORMCYCLE version the entity has been exported from
        exportVersion - String version of the entity export
        Returns:
        new value of the entity field