Class AuthConfigConversion

java.lang.Object
de.xima.fc.converter.project.AuthConfigConversion
All Implemented Interfaces:
IImportConversionStrategy

public class AuthConfigConversion extends Object implements IImportConversionStrategy
Sets up the ProjectAuthenticatorConfigs of a project from old entity data
Since:
6.4.0
Author:
XIMA MEDIA GmbH
  • Constructor Details

    • AuthConfigConversion

      public AuthConfigConversion()
  • Method Details

    • convert

      public List<ProjectAuthenticatorConfig> convert(de.xima.cmn.dao.interfaces.IEntity<Long> importedEntity, de.xima.cmn.dao.interfaces.IEntity<Long> deserializedEntity, String fcVersion, String exportVersion)
      Description copied from interface: IImportConversionStrategy
      Converts the value of an imported entity field to conform to the current formcycle version
      Specified by:
      convert in interface IImportConversionStrategy
      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