Liferay 6.1.2-ce-ga3

com.liferay.portal.license.util
Class DefaultLicenseManagerImpl

java.lang.Object
  extended by com.liferay.portal.license.util.DefaultLicenseManagerImpl
All Implemented Interfaces:
LicenseManager

public class DefaultLicenseManagerImpl
extends Object
implements LicenseManager


Constructor Summary
DefaultLicenseManagerImpl()
           
 
Method Summary
 void checkLicense(String productId)
           
 List<Map<String,String>> getClusterLicenseProperties(String clusterNodeId)
           
 String getHostName()
           
 Set<String> getIpAddresses()
           
 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(JSONObject jsonObject)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultLicenseManagerImpl

public DefaultLicenseManagerImpl()
Method Detail

checkLicense

public void checkLicense(String productId)
Specified by:
checkLicense in interface LicenseManager

getClusterLicenseProperties

public List<Map<String,String>> getClusterLicenseProperties(String clusterNodeId)
Specified by:
getClusterLicenseProperties in interface LicenseManager

getHostName

public String getHostName()
Specified by:
getHostName in interface LicenseManager

getIpAddresses

public Set<String> getIpAddresses()
Specified by:
getIpAddresses in interface LicenseManager

getLicenseInfo

public LicenseInfo getLicenseInfo(String productId)
Specified by:
getLicenseInfo in interface LicenseManager

getLicenseProperties

public List<Map<String,String>> getLicenseProperties()
Specified by:
getLicenseProperties in interface LicenseManager

getLicenseProperties

public Map<String,String> getLicenseProperties(String productId)
Specified by:
getLicenseProperties in interface LicenseManager

getLicenseState

public int getLicenseState(Map<String,String> licenseProperties)
Specified by:
getLicenseState in interface LicenseManager

getLicenseState

public int getLicenseState(String productId)
Specified by:
getLicenseState in interface LicenseManager

getMacAddresses

public Set<String> getMacAddresses()
Specified by:
getMacAddresses in interface LicenseManager

registerLicense

public void registerLicense(JSONObject jsonObject)
                     throws Exception
Specified by:
registerLicense in interface LicenseManager
Throws:
Exception

Liferay 6.1.2-ce-ga3