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 Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidexec()Executes the system updategetDescription(Locale loc) Gets a description of the update which should be shown in the UI.getUUID()Gets a string for identifying the update.Gets the formcycle version where the update was introduced.Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface IOrderable
compareTo, shouldBeAfterMethods inherited from interface ISystemUpdate
needsToRun
-
Constructor Details
-
MigrateUserGroupReferencesInFormDesignerToUuid_8_0_4
public MigrateUserGroupReferencesInFormDesignerToUuid_8_0_4()
-
-
Method Details
-
exec
public void exec()Description copied from interface:ISystemUpdateExecutes the system update- Specified by:
execin interfaceISystemUpdate
-
getDescription
Description copied from interface:ISystemUpdateGets 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 localeCmnConst.DFLT_LOCALE- Specified by:
getDescriptionin interfaceISystemUpdate- Parameters:
loc-Localethe current ui locale- Returns:
String
-
getUUID
Description copied from interface:ISystemUpdateGets 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:
getUUIDin interfaceISystemUpdate- Returns:
StringUUID of the update
-
getVersion
Description copied from interface:ISystemUpdateGets 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 aSequenceOrderannotation at the class level.- Specified by:
getVersionin interfaceISystemUpdate- Returns:
- The formcycle version of this update.
-