public class DefaultLicenseManagerImpl
extends Object
implements com.liferay.portal.kernel.license.util.LicenseManager
Constructor and Description |
---|
DefaultLicenseManagerImpl() |
Modifier and Type | Method and Description |
---|---|
void |
checkLicense(String productId) |
List<Map<String,String>> |
getClusterLicenseProperties(String clusterNodeId) |
String |
getHostName() |
Set<String> |
getIpAddresses() |
com.liferay.portal.kernel.license.LicenseInfo |
getLicenseInfo(String productId) |
List<Map<String,String>> |
getLicenseProperties() |
Map<String,String> |
getLicenseProperties(String productId) |
int |
getLicenseState(Map<String,String> licenseProperties) |
int |
getLicenseState(String productId) |
Set<String> |
getMacAddresses() |
void |
registerLicense(com.liferay.portal.kernel.json.JSONObject jsonObject) |
public void checkLicense(String productId)
checkLicense
in interface com.liferay.portal.kernel.license.util.LicenseManager
public List<Map<String,String>> getClusterLicenseProperties(String clusterNodeId)
getClusterLicenseProperties
in interface com.liferay.portal.kernel.license.util.LicenseManager
public String getHostName()
getHostName
in interface com.liferay.portal.kernel.license.util.LicenseManager
public Set<String> getIpAddresses()
getIpAddresses
in interface com.liferay.portal.kernel.license.util.LicenseManager
public com.liferay.portal.kernel.license.LicenseInfo getLicenseInfo(String productId)
getLicenseInfo
in interface com.liferay.portal.kernel.license.util.LicenseManager
public List<Map<String,String>> getLicenseProperties()
getLicenseProperties
in interface com.liferay.portal.kernel.license.util.LicenseManager
public Map<String,String> getLicenseProperties(String productId)
getLicenseProperties
in interface com.liferay.portal.kernel.license.util.LicenseManager
public int getLicenseState(Map<String,String> licenseProperties)
getLicenseState
in interface com.liferay.portal.kernel.license.util.LicenseManager
public int getLicenseState(String productId)
getLicenseState
in interface com.liferay.portal.kernel.license.util.LicenseManager
public Set<String> getMacAddresses()
getMacAddresses
in interface com.liferay.portal.kernel.license.util.LicenseManager
public void registerLicense(com.liferay.portal.kernel.json.JSONObject jsonObject) throws Exception
registerLicense
in interface com.liferay.portal.kernel.license.util.LicenseManager
Exception