Package de.xima.fc.update.updates.pre8
Class ProcessingUpdate_6_1
- java.lang.Object
-
- de.xima.fc.update.updates.pre8.ProcessingUpdate_6_1
-
- All Implemented Interfaces:
IOrderable
,ISystemUpdate
,Comparable<IOrderable>
public class ProcessingUpdate_6_1 extends Object implements ISystemUpdate
Updates the processing of actions for use with new interfaces methods. Processing types that will be updated to use UUIDs are:IResourceConsuming
,ITemplateDependent
,IConsuming
,ISingleConsuming
- Author:
- XIMA MEDIA GmbH
-
-
Constructor Summary
Constructors Constructor Description ProcessingUpdate_6_1()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
exec()
Executes the system updateString
getDescription(Locale loc)
Gets a description of the update which should be shown in the UI.String
getUUID()
Gets a string for identifying the update.SystemUpdateVersion
getVersion()
Gets the formcycle version where the update was introduced.-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface de.xima.fc.listener.IOrderable
compareTo, shouldBeAfter
-
Methods inherited from interface de.xima.fc.update.interfaces.ISystemUpdate
needsToRun
-
-
-
-
Method Detail
-
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 interfaceISystemUpdate
- Returns:
String
UUID of the update
-
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 localeCmnConst.DFLT_LOCALE
- Specified by:
getDescription
in interfaceISystemUpdate
- Parameters:
loc
-Locale
the current ui locale- Returns:
String
-
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 aSequenceOrder
annotation at the class level.- Specified by:
getVersion
in interfaceISystemUpdate
- Returns:
- The formcycle version of this update.
-
exec
public void exec()
Description copied from interface:ISystemUpdate
Executes the system update- Specified by:
exec
in interfaceISystemUpdate
-
-