Package de.xima.fc.update.updates.pre8
Class RoleAccessPropertyUpdate_7_3
java.lang.Object
de.xima.fc.update.updates.pre8.RoleAccessPropertyUpdate_7_3
- All Implemented Interfaces:
IOrderable,ISystemUpdate,Comparable<IOrderable>
Updates all roles for new
EAccessProperty that were added in version 7.3-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidexec()Executes the system updategetDescription(Locale loc) Gets an Description of the update which should be shown in the ui.getUUID()Gets an String for identifying an update.booleanChecks 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, waitMethods inherited from interface de.xima.fc.listener.IOrderable
compareTo, shouldBeAfter
-
Constructor Details
-
RoleAccessPropertyUpdate_7_3
public RoleAccessPropertyUpdate_7_3()
-
-
Method Details
-
needsToRun
public boolean needsToRun()Description copied from interface:ISystemUpdateChecks if an update needs to run at all. If not, the update will be marked as run and never performed at all.- Specified by:
needsToRunin interfaceISystemUpdate- Returns:
Booleanif the update is needed
-
getUUID
Description copied from interface:ISystemUpdateGets 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:
getUUIDin interfaceISystemUpdate- Returns:
StringUUID of the update
-
getDescription
Description copied from interface:ISystemUpdateGets 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:
getDescriptionin interfaceISystemUpdate- Parameters:
loc-Localethe current ui locale- Returns:
String
-
exec
public void exec()Description copied from interface:ISystemUpdateExecutes the system update- Specified by:
execin interfaceISystemUpdate
-