Class LicenseBean

    • Constructor Detail

      • LicenseBean

        public LicenseBean()
    • Method Detail

      • init

        @PostConstruct
        public void init()
      • isAllowDemo

        public boolean isAllowDemo()
      • getSystemLicenseVersionState

        public ELicenseVersionState getSystemLicenseVersionState()
        Returns:
        the systemLicenseVersionState
      • setClientLicensesModel

        public void setClientLicensesModel​(IEntityListModel<LicenseFile> clientLicensesModel)
        Parameters:
        clientLicensesModel - the model to set
      • getClientLicenseVersionStateMap

        public Map<String,​ELicenseVersionState> getClientLicenseVersionStateMap()
        Gets the clientLicenseVersionStateMap
        Returns:
        the clientLicenseVersionStateMap
      • registerClientUpdateStatus

        public void registerClientUpdateStatus()
      • registerSystemUpdateStatus

        public void registerSystemUpdateStatus()
      • updateClientLicensesModel

        public void updateClientLicensesModel()
      • restDemoModel

        public void restDemoModel​(boolean clientLicense)
      • createDemoRequest

        public void createDemoRequest()
      • getSystemLicenseKey

        public String getSystemLicenseKey()
      • setSystemLicenseKey

        public void setSystemLicenseKey​(String licenseKey)
      • getClientLicenseKey

        public String getClientLicenseKey()
      • setClientLicenseKey

        public void setClientLicenseKey​(String licenseKey)
      • ajaxError

        public void ajaxError()
      • licenseSuccess

        public void licenseSuccess​(boolean clientLicense)
      • demoLicenseSuccess

        public void demoLicenseSuccess​(boolean clientLicense)
      • uploadSystemLicense

        public void uploadSystemLicense​(org.primefaces.event.FileUploadEvent evt)
        Parameters:
        evt -
      • downloadLicense

        public org.primefaces.model.StreamedContent downloadLicense​(String licenseKey)
        Returns:
      • uploadClientLicense

        public void uploadClientLicense​(org.primefaces.event.FileUploadEvent evt)
        Parameters:
        evt -
      • checkClientKey

        public void checkClientKey​(String licenseKey)
        Parameters:
        licenseKey -
      • checkSystemKey

        public void checkSystemKey​(String licenseKey)
      • swapHardwareId

        public void swapHardwareId​(String swapTargetId)
        Parameters:
        swapTargetId -
      • updateSystemVersionState

        public void updateSystemVersionState()
      • updateClientsVersionState

        public void updateClientsVersionState()
      • updateSystemLicense

        public void updateSystemLicense​(byte[] fileData)
        Parameters:
        fileData -
        checkKey -
      • updateClientToLicense

        public void updateClientToLicense​(LicenseFile license)
        Parameters:
        license -
      • getSystemLicense

        public LicenseModel getSystemLicense()
        Returns:
      • getCurrentHardwareId

        public String getCurrentHardwareId()
        Returns: