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