com.liferay.portal.license.util
Interface LicenseManager
public interface LicenseManager
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(String productId)
getClusterLicenseProperties
List<Map<String,String>> getClusterLicenseProperties(String clusterNodeId)
getHostName
String getHostName()
getIpAddresses
Set<String> getIpAddresses()
getLicenseInfo
LicenseInfo getLicenseInfo(String productId)
getLicenseProperties
List<Map<String,String>> getLicenseProperties()
getLicenseProperties
Map<String,String> getLicenseProperties(String productId)
getLicenseState
int getLicenseState(Map<String,String> licenseProperties)
getLicenseState
int getLicenseState(String productId)
getMacAddresses
Set<String> getMacAddresses()
registerLicense
void registerLicense(JSONObject jsonObject)
throws Exception
- Throws:
Exception