Package de.xima.fc.update.updates
Class RoleAccessPropertyUpdate_6_5
- java.lang.Object
-
- de.xima.fc.update.updates.RoleAccessPropertyUpdate_6_5
-
- All Implemented Interfaces:
IOrderable
,ISystemUpdate
,Comparable<IOrderable>
public class RoleAccessPropertyUpdate_6_5 extends Object implements ISystemUpdate
Updates all roles for newEAccessProperty
that were added in v6.4- Author:
- XIMA MEDIA GmbH
-
-
Constructor Summary
Constructors Constructor Description RoleAccessPropertyUpdate_6_5()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
exec()
Executes the system updateString
getDescription(Locale loc)
Gets an Description of the update which should be shown in the ui.String
getUUID()
Gets an String for identifying an update.boolean
needsToRun()
Checks if an update needs to run at all.-
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
-
-
-
-
Method Detail
-
needsToRun
public boolean needsToRun()
Description copied from interface:ISystemUpdate
Checks if an update needs to run at all. If not, the update will be marked as run and never performed at all.- Specified by:
needsToRun
in interfaceISystemUpdate
- Returns:
Boolean
if the update is needed
-
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 interfaceISystemUpdate
- Returns:
String
UUID of the update
-
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 localeCmnConst.DFLT_LOCALE
- Specified by:
getDescription
in interfaceISystemUpdate
- Parameters:
loc
-Locale
the current ui locale- Returns:
String
-
exec
public void exec()
Description copied from interface:ISystemUpdate
Executes the system update- Specified by:
exec
in interfaceISystemUpdate
-
-