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
      • setClientLicenses

        public void setClientLicenses​(List<LicenseViewModel> clientLicenses)
        Parameters:
        clientLicenses - the clientLicenses to set
      • getClientLicenseVersionStateMap

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

        public void registerClientUpdateStatus()
      • registerSystemUpdateStatus

        public void registerSystemUpdateStatus()
      • updateClientLicenses

        public void updateClientLicenses()
      • restDemoModel

        public void restDemoModel​(boolean clientLicense)
      • selectLicense

        public void selectLicense​(Long licenseFileId)
      • deleteLicense

        public void deleteLicense​(Long licenseFileId)
      • getSelectedLicense

        public LicenseFile getSelectedLicense()
        Returns:
        the selectedLicense
      • 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​(LicenseViewModel licenseViewModel)
        Parameters:
        license -
      • getSystemLicense

        public LicenseModel getSystemLicense()
        Returns:
      • getCurrentHardwareId

        public String getCurrentHardwareId()
        Returns: