com.liferay.portal.license.util
Interface LicenseManager


public interface LicenseManager

Author:
Amos Fong

Method Summary
 void checkLicense(java.lang.String productId)
           
 java.util.List<java.util.Map<java.lang.String,java.lang.String>> getClusterLicenseProperties(java.lang.String clusterNodeId)
           
 java.lang.String getHostName()
           
 java.util.Set<java.lang.String> getIpAddresses()
           
 LicenseInfo getLicenseInfo(java.lang.String productId)
           
 java.util.List<java.util.Map<java.lang.String,java.lang.String>> getLicenseProperties()
           
 java.util.Map<java.lang.String,java.lang.String> getLicenseProperties(java.lang.String productId)
           
 int getLicenseState(java.util.Map<java.lang.String,java.lang.String> licenseProperties)
           
 int getLicenseState(java.lang.String productId)
           
 java.util.Set<java.lang.String> getMacAddresses()
           
 void registerLicense(JSONObject jsonObject)
           
 

Method Detail

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