Class MigrateFsKeyStoresToDatabase

java.lang.Object
de.xima.fc.update.updates.v8_5.MigrateFsKeyStoresToDatabase
All Implemented Interfaces:
IOrderable, ISystemUpdate, Comparable<IOrderable>

public class MigrateFsKeyStoresToDatabase extends Object implements ISystemUpdate
Migration of keystores from the filesystem to the database for FrontendServer entities.
Since:
8.5.0
Author:
Norman Lorenz
  • Constructor Details

    • MigrateFsKeyStoresToDatabase

      public MigrateFsKeyStoresToDatabase()
  • Method Details

    • exec

      public void exec()
      Description copied from interface: ISystemUpdate
      Executes the system update
      Specified by:
      exec in interface ISystemUpdate
    • getDescription

      public String getDescription(Locale loc)
      Description copied from interface: ISystemUpdate
      Gets a description of the update which should be shown in the UI. The description will also be stored in the database with a maximum of 1020 chars and the locale CmnConst.DFLT_LOCALE
      Specified by:
      getDescription in interface ISystemUpdate
      Parameters:
      loc - Locale the current ui locale
      Returns:
      String
    • getUUID

      public String getUUID()
      Description copied from interface: ISystemUpdate
      Gets a string for identifying the update. This string should not be longer than 36 chars and should not be changed, otherwise the update may run multiple times!
      Specified by:
      getUUID in interface ISystemUpdate
      Returns:
      String UUID of the update
    • getVersion

      public SystemUpdateVersion getVersion()
      Description copied from interface: ISystemUpdate
      Gets the formcycle version where the update was introduced. System updates are run in order of their version. Updates with the same version do not have any order by default, but can be ordered by placing a SequenceOrder annotation at the class level.
      Specified by:
      getVersion in interface ISystemUpdate
      Returns:
      The formcycle version of this update.