Interface ISystemUpdate

All Superinterfaces:
Comparable<IOrderable>, IOrderable
All Known Implementing Classes:
AddAuthenticatorsUpdate_6_4, AuthTemplateUpdate_6_4, ClearAndUpdateDatatablesUpdate_6_0, CreateIndirectClientAuthorizations_8_0, CreateLdapAuthenticatorsUpdate_8_0, CSVSourcesMigrationUpdate, DeactivateNtlmUpdate_8_0, DeprecateTextTemplateSystemInfoUpdate_7_0, EncryptTemplateI18nUpdate_6_4, FileFormRecordDataSizeUpdate_6_0, FixMissingInvalidTokenTemplate_6_6_9, FormVersionUpdate_6_1, I18NVariableInputElementCounterUpdate_8_1, I18nVariableMigrationUpdate, InitMimeCheckActivationUpdate_8_1, KerberosConfigMigrationUpdate_8_0_4, MigrateClientLdapData_8_0, MigrateOldWorkflowUserReferencesUpdate_8, MigrateUserGroupReferencesInFormDesignerToUuid_8_0_4, MigrateUsersUpdate_8_0, MigrateWorkflowUserReferencesUpdate_8_0, PluginToDatabaseUpdate, ProcessingUpdate_6_1, ProcessingUpdate_6_2, ProjectIdentityCheckDataUpdate_7_0, ProjectInboxUpdate_6_4, ProjectPasswordMigration_7_0, PropertiesToDatabaseUpdate_8_1, ReinitialzeMySQLProjectTables_6_0, RenameQuartzTriggerJobName_8_0, RoleAccessPropertyUpdate_6_0, RoleAccessPropertyUpdate_6_1, RoleAccessPropertyUpdate_6_2, RoleAccessPropertyUpdate_6_4, RoleAccessPropertyUpdate_6_5, RoleAccessPropertyUpdate_6_6_1, RoleAccessPropertyUpdate_7_0, RoleAccessPropertyUpdate_7_0_11, RoleAccessPropertyUpdate_7_0_13, RoleAccessPropertyUpdate_7_1, RoleAccessPropertyUpdate_7_2, RoleAccessPropertyUpdate_7_3, RoleAccessPropertyUpdate_7_4, RoleAccessPropertyUpdate_8_0, RoleAccessPropertyUpdate_8_0_2, SystemAuthenticatorClientRestrictionFlagUpdate_8_1, TemplateUpdate_6_5, TemplateUpdate_8_0, TextTemplates_6_0, ThemeToFormVersionUpdate, WorkflowStateReceivedRefactor_7_0_13, WorkflowStateRecordRestrictionUpdate_7_0_5

public interface ISystemUpdate extends IOrderable
Interfaces for system changes
Author:
XIMA MEDIA GmbH
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Executes the system update
    Gets an Description of the update which should be shown in the ui.
    Gets an String for identifying an update.
    default boolean
    Checks if an update needs to run at all.

    Methods inherited from interface de.xima.fc.listener.IOrderable

    compareTo, shouldBeAfter
  • Method Details

    • getUUID

      String getUUID()
      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!
      Returns:
      String UUID of the update
    • getDescription

      String getDescription(Locale loc)
      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
      Parameters:
      loc - Locale the current ui locale
      Returns:
      String
    • needsToRun

      default boolean needsToRun()
      Checks if an update needs to run at all. If not, the update will be marked as run and never performed at all.
      Returns:
      Boolean if the update is needed
    • exec

      void exec()
      Executes the system update