Liferay 7.0-ga1 portal-impl

com.liferay.portal.license.util
Class DefaultLicenseManagerImpl

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

public class DefaultLicenseManagerImpl
extends Object
implements com.liferay.portal.kernel.license.util.LicenseManager


Field Summary
 
Fields inherited from interface com.liferay.portal.kernel.license.util.LicenseManager
STATE_ABSENT, STATE_EXPIRED, STATE_GOOD, STATE_INACTIVE, STATE_INVALID, STATE_OVERLOAD
 
Constructor Summary
DefaultLicenseManagerImpl()
           
 
Method Summary
 void checkLicense(String productId)
           
 List<Map<String,String>> getClusterLicenseProperties(String clusterNodeId)
           
 String getHostName()
           
 Set<String> getIpAddresses()
           
 com.liferay.portal.kernel.license.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(com.liferay.portal.kernel.json.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 com.liferay.portal.kernel.license.util.LicenseManager

getClusterLicenseProperties

public List<Map<String,String>> getClusterLicenseProperties(String clusterNodeId)
Specified by:
getClusterLicenseProperties in interface com.liferay.portal.kernel.license.util.LicenseManager

getHostName

public String getHostName()
Specified by:
getHostName in interface com.liferay.portal.kernel.license.util.LicenseManager

getIpAddresses

public Set<String> getIpAddresses()
Specified by:
getIpAddresses in interface com.liferay.portal.kernel.license.util.LicenseManager

getLicenseInfo

public com.liferay.portal.kernel.license.LicenseInfo getLicenseInfo(String productId)
Specified by:
getLicenseInfo in interface com.liferay.portal.kernel.license.util.LicenseManager

getLicenseProperties

public List<Map<String,String>> getLicenseProperties()
Specified by:
getLicenseProperties in interface com.liferay.portal.kernel.license.util.LicenseManager

getLicenseProperties

public Map<String,String> getLicenseProperties(String productId)
Specified by:
getLicenseProperties in interface com.liferay.portal.kernel.license.util.LicenseManager

getLicenseState

public int getLicenseState(Map<String,String> licenseProperties)
Specified by:
getLicenseState in interface com.liferay.portal.kernel.license.util.LicenseManager

getLicenseState

public int getLicenseState(String productId)
Specified by:
getLicenseState in interface com.liferay.portal.kernel.license.util.LicenseManager

getMacAddresses

public Set<String> getMacAddresses()
Specified by:
getMacAddresses in interface com.liferay.portal.kernel.license.util.LicenseManager

registerLicense

public void registerLicense(com.liferay.portal.kernel.json.JSONObject jsonObject)
                     throws Exception
Specified by:
registerLicense in interface com.liferay.portal.kernel.license.util.LicenseManager
Throws:
Exception

Liferay 7.0-ga1 portal-impl