com.liferay.portal.license.util
Interface LicenseManager
public interface LicenseManager
- Author:
- Amos Fong
checkLicense
void checkLicense(java.lang.String productId)
getClusterLicenseProperties
java.util.List<java.util.Map<java.lang.String,java.lang.String>> getClusterLicenseProperties(java.lang.String clusterNodeId)
getHostName
java.lang.String getHostName()
getIpAddresses
java.util.Set<java.lang.String> getIpAddresses()
getLicenseInfo
LicenseInfo getLicenseInfo(java.lang.String productId)
getLicenseProperties
java.util.List<java.util.Map<java.lang.String,java.lang.String>> getLicenseProperties()
getLicenseProperties
java.util.Map<java.lang.String,java.lang.String> getLicenseProperties(java.lang.String productId)
getLicenseState
int getLicenseState(java.util.Map<java.lang.String,java.lang.String> licenseProperties)
getLicenseState
int getLicenseState(java.lang.String productId)
getMacAddresses
java.util.Set<java.lang.String> getMacAddresses()
registerLicense
void registerLicense(JSONObject jsonObject)
throws java.lang.Exception
- Throws:
java.lang.Exception