public class LicenseServiceImpl extends java.lang.Object implements LicenseService
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
EVALUATION_LICENSE |
| Constructor and Description |
|---|
LicenseServiceImpl(PropertiesService propertiesService,
ReportService reportService,
PbeService pbeService) |
| Modifier and Type | Method and Description |
|---|---|
void |
checkInit() |
java.util.HashMap<java.lang.String,java.lang.String> |
getAdditionalLicenseProperties() |
java.util.Date |
getInstallationDate() |
java.util.Date |
getLicenseExpirationDate() |
java.util.Date |
getLicenseIssueDate() |
java.lang.String |
getLicenseName() |
java.lang.String |
getLicenseType() |
java.lang.String |
getRsVersion() |
java.lang.String |
getServerId() |
java.util.Date |
getUpgradesUntil() |
boolean |
hasNonCommunityLicense() |
boolean |
isCustomLicenseType() |
boolean |
isEnterprise() |
boolean |
isEvaluation() |
boolean |
isInitialized() |
void |
updateLicense(java.lang.String license) |
public static final java.lang.String EVALUATION_LICENSE
public LicenseServiceImpl(PropertiesService propertiesService, ReportService reportService, PbeService pbeService)
public void checkInit()
checkInit in interface LicenseServicepublic boolean isInitialized()
isInitialized in interface LicenseServicepublic java.util.Date getInstallationDate()
getInstallationDate in interface LicenseServicepublic java.lang.String getServerId()
getServerId in interface LicenseServicepublic java.lang.String getLicenseType()
getLicenseType in interface LicenseServicepublic boolean isCustomLicenseType()
isCustomLicenseType in interface LicenseServicepublic java.lang.String getLicenseName()
getLicenseName in interface LicenseServicepublic java.util.HashMap<java.lang.String,java.lang.String> getAdditionalLicenseProperties()
getAdditionalLicenseProperties in interface LicenseServicepublic java.util.Date getLicenseExpirationDate()
getLicenseExpirationDate in interface LicenseServicepublic java.util.Date getUpgradesUntil()
getUpgradesUntil in interface LicenseServicepublic java.util.Date getLicenseIssueDate()
getLicenseIssueDate in interface LicenseServicepublic void updateLicense(java.lang.String license)
throws LicenseValidationFailedException
updateLicense in interface LicenseServiceLicenseValidationFailedExceptionpublic boolean isEnterprise()
isEnterprise in interface LicenseServicepublic boolean isEvaluation()
isEvaluation in interface LicenseServicepublic boolean hasNonCommunityLicense()
hasNonCommunityLicense in interface LicenseServicepublic java.lang.String getRsVersion()
getRsVersion in interface LicenseService