Class DefaultLicenseManagerImpl

Object
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
Author:
Amos Fong
  • Constructor Details

    • DefaultLicenseManagerImpl

      public DefaultLicenseManagerImpl()
  • Method Details

    • 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