com.liferay.portal.license.util
Interface LicenseManager
public interface LicenseManager
- Author:
- Amos Fong
STATE_ABSENT
static final int STATE_ABSENT
- See Also:
- Constant Field Values
STATE_EXPIRED
static final int STATE_EXPIRED
- See Also:
- Constant Field Values
STATE_GOOD
static final int STATE_GOOD
- See Also:
- Constant Field Values
STATE_INACTIVE
static final int STATE_INACTIVE
- See Also:
- Constant Field Values
STATE_INVALID
static final int STATE_INVALID
- See Also:
- Constant Field Values
STATE_OVERLOAD
static final int STATE_OVERLOAD
- See Also:
- Constant Field Values
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