Interface LicenseService
- All Known Implementing Classes:
EnterpriseLicenseServiceImpl,LicenseServiceImpl
public interface LicenseService
-
Method Summary
Modifier and TypeMethodDescriptionvoidbooleanbooleanbooleanbooleanbooleanvoidupdateLicense(String license) voidUpdates the license by loading it from the appropriate directory.
-
Method Details
-
checkInit
void checkInit() -
getInstallationDate
Date getInstallationDate() -
getServerId
String getServerId() -
getRsVersion
String getRsVersion() -
updateLicense
- Throws:
LicenseValidationFailedException
-
updateLicenseFromDir
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 theWEB-INF/classesdirectory.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
-
isEnterprise
boolean isEnterprise() -
isEvaluation
boolean isEvaluation() -
hasNonCommunityLicense
boolean hasNonCommunityLicense() -
isInitialized
boolean isInitialized() -
isCustomLicenseType
boolean isCustomLicenseType()
-