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