Liferay 6.2-ce-ga5

com.liferay.portal.license.util
Class LicenseManagerUtil

java.lang.Object
  extended by com.liferay.portal.license.util.LicenseManagerUtil

public class LicenseManagerUtil
extends Object


Field Summary
static int STATE_ABSENT
          Deprecated. As of 6.2.0, replaced by LicenseManager.STATE_ABSENT
static int STATE_EXPIRED
          Deprecated. As of 6.2.0, replaced by LicenseManager.STATE_EXPIRED
static int STATE_GOOD
          Deprecated. As of 6.2.0, replaced by LicenseManager.STATE_GOOD
static int STATE_INACTIVE
          Deprecated. As of 6.2.0, replaced by LicenseManager.STATE_INACTIVE
static int STATE_INVALID
          Deprecated. As of 6.2.0, replaced by LicenseManager.STATE_INVALID
static int STATE_OVERLOAD
          Deprecated. As of 6.2.0, replaced by LicenseManager.STATE_OVERLOAD
 
Constructor Summary
LicenseManagerUtil()
           
 
Method Summary
static void checkLicense(String productId)
           
static List<Map<String,String>> getClusterLicenseProperties(String clusterNodeId)
           
static String getHostName()
           
static Set<String> getIpAddresses()
           
static LicenseInfo getLicenseInfo(String productId)
           
static LicenseManager getLicenseManager()
           
static List<Map<String,String>> getLicenseProperties()
           
static Map<String,String> getLicenseProperties(String productId)
           
static int getLicenseState(Map<String,String> licenseProperties)
           
static int getLicenseState(String productId)
           
static Set<String> getMacAddresses()
           
static void registerLicense(JSONObject jsonObject)
           
 void setLicenseManager(LicenseManager licenseManager)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

STATE_ABSENT

public static final int STATE_ABSENT
Deprecated. As of 6.2.0, replaced by LicenseManager.STATE_ABSENT
See Also:
Constant Field Values

STATE_EXPIRED

public static final int STATE_EXPIRED
Deprecated. As of 6.2.0, replaced by LicenseManager.STATE_EXPIRED
See Also:
Constant Field Values

STATE_GOOD

public static final int STATE_GOOD
Deprecated. As of 6.2.0, replaced by LicenseManager.STATE_GOOD
See Also:
Constant Field Values

STATE_INACTIVE

public static final int STATE_INACTIVE
Deprecated. As of 6.2.0, replaced by LicenseManager.STATE_INACTIVE
See Also:
Constant Field Values

STATE_INVALID

public static final int STATE_INVALID
Deprecated. As of 6.2.0, replaced by LicenseManager.STATE_INVALID
See Also:
Constant Field Values

STATE_OVERLOAD

public static final int STATE_OVERLOAD
Deprecated. As of 6.2.0, replaced by LicenseManager.STATE_OVERLOAD
See Also:
Constant Field Values
Constructor Detail

LicenseManagerUtil

public LicenseManagerUtil()
Method Detail

checkLicense

public static void checkLicense(String productId)

getClusterLicenseProperties

public static List<Map<String,String>> getClusterLicenseProperties(String clusterNodeId)

getHostName

public static String getHostName()

getIpAddresses

public static Set<String> getIpAddresses()

getLicenseInfo

public static LicenseInfo getLicenseInfo(String productId)

getLicenseManager

public static LicenseManager getLicenseManager()

getLicenseProperties

public static List<Map<String,String>> getLicenseProperties()

getLicenseProperties

public static Map<String,String> getLicenseProperties(String productId)

getLicenseState

public static int getLicenseState(Map<String,String> licenseProperties)

getLicenseState

public static int getLicenseState(String productId)

getMacAddresses

public static Set<String> getMacAddresses()

registerLicense

public static void registerLicense(JSONObject jsonObject)
                            throws Exception
Throws:
Exception

setLicenseManager

public void setLicenseManager(LicenseManager licenseManager)

Liferay 6.2-ce-ga5