Interface LicenseService

All Known Implementing Classes:
EnterpriseLicenseServiceImpl, LicenseServiceImpl

public interface LicenseService
  • Method Details

    • checkInit

      void checkInit()
    • getInstallationDate

      Date getInstallationDate()
    • getServerId

      String getServerId()
    • getRsVersion

      String getRsVersion()
    • updateLicense

      void updateLicense(String license) throws LicenseValidationFailedException
      Throws:
      LicenseValidationFailedException
    • updateLicenseFromDir

      void updateLicenseFromDir() throws LicenseValidationFailedException
      Updates the license by loading it from the appropriate directory.

      If an external configuration directory is enabled (as determined by ConfigDirService.isEnabled()), the license file is loaded directly from that path. Otherwise, it is loaded from the WEB-INF/classes directory.

      The license file must be named exactly as specified in the email, including the server ID in the file name.

      Throws:
      LicenseValidationFailedException - if the license validation fails
    • getLicenseType

      String getLicenseType()
    • getLicenseName

      String getLicenseName()
    • getUpgradesUntil

      Date getUpgradesUntil()
    • getLicenseIssueDate

      Date getLicenseIssueDate()
    • getLicenseExpirationDate

      Date getLicenseExpirationDate()
    • getAdditionalLicenseProperties

      HashMap<String,String> getAdditionalLicenseProperties()
    • isEnterprise

      boolean isEnterprise()
    • isEvaluation

      boolean isEvaluation()
    • hasNonCommunityLicense

      boolean hasNonCommunityLicense()
    • isInitialized

      boolean isInitialized()
    • isCustomLicenseType

      boolean isCustomLicenseType()