Package | Description |
---|---|
com.hp.sdn.adm.json |
Implementations of Core Services JSON factory and associated codecs.
|
com.hp.sdn.adm.license |
Definitions of the services pertaining to the License system.
|
com.hp.sdn.license |
Definitions of the domain model pertaining to the Licenses.
|
Modifier and Type | Method and Description |
---|---|
AppLicense |
LicenseCodec.decode(com.fasterxml.jackson.databind.node.ObjectNode node) |
Modifier and Type | Method and Description |
---|---|
com.fasterxml.jackson.databind.node.ObjectNode |
LicenseCodec.encode(AppLicense license) |
Modifier and Type | Method and Description |
---|---|
AppLicense |
LicenseService.addLicense(String licKey,
String user)
Validates and adds a product license issued by the authorized SDN
licensing portal.
|
AppLicense |
LicenseService.deactivateLicense(short sno,
String user)
Deactivates an active license of a serial number for a license transfer
from one install id to another reasons.
|
AppLicense |
LicenseService.deactivateLicense(String licKey,
String user)
Deactivates an active license for a license transfer from one install
id to another reasons.
|
AppLicense |
LicenseService.getLicense(short sno)
Get a license details for a given serial number.
|
AppLicense |
LicenseService.getLicense(String key)
Get a license details for a given license key.
|
Modifier and Type | Method and Description |
---|---|
Collection<AppLicense> |
LicenseService.checkExpiredLicenses()
Checks if any licenses are expired and mark them as expired in
database.
|
Collection<AppLicense> |
LicenseService.getLicenses()
Get all licenses stored in database.
|
Collection<AppLicense> |
LicenseService.getLicenses(short productId)
Get all licenses stored in database for a product.
|
Modifier and Type | Method and Description |
---|---|
void |
LicenseChangeListener.licenseAdded(AppLicense license)
Invoked when a new license is added by a user using GUI or REST API.
|
void |
LicenseChangeListener.licenseDeactivated(AppLicense license)
Invoked when a license is deactivated by a user using GUI or REST API.
|
void |
LicenseChangeListener.licenseExpired(AppLicense license)
Invoked when license framework detects a license is expired and
deactivates it.
|
Constructor and Description |
---|
AppLicense(Id<AppLicense,Long> id,
short licFWVersion,
LicenseType type,
LicenseStatus status,
boolean base,
short product,
String prodName,
short prodVersion,
long lockId,
long created,
long activated,
short metric,
String metricName,
int metricQty,
short deactCode,
short sno,
short expDays,
String key) |
Copyright © 2015. All Rights Reserved.