Class UpdateBean

  • All Implemented Interfaces:
    Serializable

    @Named
    @ViewScoped
    public class UpdateBean
    extends Object
    implements Serializable
    Bean for handling Liquibase / migration / system updates.
    Author:
    XIMA MEDIA GmbH
    See Also:
    Serialized Form
    • Constructor Detail

      • UpdateBean

        public UpdateBean()
    • Method Detail

      • clearUpdate

        public void clearUpdate()
      • getCallbackMailsCsv

        public String getCallbackMailsCsv()
      • setDbEncryptionBean

        @Deprecated(since="8.5.0",
                    forRemoval=true)
        public void setDbEncryptionBean​(DbEncryptionBean dbEncryptionBean)
        Deprecated, for removal: This API element is subject to removal in a future version.
      • setDbSettingsBean

        @Deprecated(since="8.5.0",
                    forRemoval=true)
        public void setDbSettingsBean​(DbSettingsBean dbSettingsBean)
        Deprecated, for removal: This API element is subject to removal in a future version.
      • setInternalMessageBean

        @Deprecated(since="8.5.0",
                    forRemoval=true)
        public void setInternalMessageBean​(InternalMessageBean internalMessageBean)
        Deprecated, for removal: This API element is subject to removal in a future version.
      • setUpdateStep

        @Deprecated(since="8.5.0",
                    forRemoval=true)
        public void setUpdateStep​(EDbUpdateStep updateStep)
        Deprecated, for removal: This API element is subject to removal in a future version.
      • handleDriverUpload

        public void handleDriverUpload​(org.primefaces.event.FileUploadEvent event)
      • isDbDriverAvailable

        public boolean isDbDriverAvailable()
      • isDbRunningAndSystemUpToDate

        public boolean isDbRunningAndSystemUpToDate()
      • isHasValidLookingJdbcUrl

        public boolean isHasValidLookingJdbcUrl()
      • isPolling

        public boolean isPolling()
      • isShowUpdateScreen

        public boolean isShowUpdateScreen()
      • isUserCanUploadDriver

        public boolean isUserCanUploadDriver()
      • isWriteProtected

        public boolean isWriteProtected​(String configKey)
      • onPoll

        public void onPoll()
        AJAX listener invoked when polling for changes during the system / DB update.
      • removeSystemUpdateLock

        public void removeSystemUpdateLock()
      • update

        public void update()
      • updatePlugins

        public void updatePlugins​(boolean viaServer)
      • isUpdateRunning

        public boolean isUpdateRunning()
      • isAutoUpdateDisabled

        public boolean isAutoUpdateDisabled()
      • isAutoUpdatePluginsDisabled

        public boolean isAutoUpdatePluginsDisabled()
      • isCallbackMailsDisabled

        public boolean isCallbackMailsDisabled()
      • setCallbackMails

        public void setCallbackMails​(List<String> callbackMails)
      • getCallbackMails

        public List<String> getCallbackMails()
      • getDbStateMessage

        public FCMessage getDbStateMessage()
      • isHasSystemUpdateLock

        public boolean isHasSystemUpdateLock()