Liferay 6.2-ce-ga5

com.liferay.portal.license.util
Interface LicenseManager

All Known Implementing Classes:
DefaultLicenseManagerImpl

public interface LicenseManager


Field Summary
static int STATE_ABSENT
           
static int STATE_EXPIRED
           
static int STATE_GOOD
           
static int STATE_INACTIVE
           
static int STATE_INVALID
           
static int STATE_OVERLOAD
           
 
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)
           
 

Field Detail

STATE_ABSENT

static final int STATE_ABSENT
See Also:
Constant Field Values

STATE_EXPIRED

static final int STATE_EXPIRED
See Also:
Constant Field Values

STATE_GOOD

static final int STATE_GOOD
See Also:
Constant Field Values

STATE_INACTIVE

static final int STATE_INACTIVE
See Also:
Constant Field Values

STATE_INVALID

static final int STATE_INVALID
See Also:
Constant Field Values

STATE_OVERLOAD

static final int STATE_OVERLOAD
See Also:
Constant Field Values
Method Detail

checkLicense

void checkLicense(String productId)

getClusterLicenseProperties

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

getHostName

String getHostName()

getIpAddresses

Set<String> getIpAddresses()

getLicenseInfo

LicenseInfo getLicenseInfo(String productId)

getLicenseProperties

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

getLicenseProperties

Map<String,String> getLicenseProperties(String productId)

getLicenseState

int getLicenseState(Map<String,String> licenseProperties)

getLicenseState

int getLicenseState(String productId)

getMacAddresses

Set<String> getMacAddresses()

registerLicense

void registerLicense(JSONObject jsonObject)
                     throws Exception
Throws:
Exception

Liferay 6.2-ce-ga5