Class MigrateUserGroupReferencesInFormDesignerToUuid_8_0_4

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

public class MigrateUserGroupReferencesInFormDesignerToUuid_8_0_4 extends Object implements ISystemUpdate
Before version 8.0.4, references to user groups in the form designer used the name of the user group. Now the UUID is used, with the name as a fallback. This update migrates the name references of existing forms to UUID references.
Since:
8.0.4
Author:
XIMA MEDIA GmbH
  • Constructor Details

    • MigrateUserGroupReferencesInFormDesignerToUuid_8_0_4

      public MigrateUserGroupReferencesInFormDesignerToUuid_8_0_4()
  • 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 an Description of the update which should be shown in the ui. The description will also be stored in the database with an max 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 an String for identifying an 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