| Package | Description |
|---|---|
| com.h3c.sdn.adm.json |
Implementations of Core Services JSON factory and associated codecs.
|
| com.h3c.sdn.adm.license |
Definitions of the services pertaining to the License system.
|
| com.h3c.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
|
| Constructor and Description |
|---|
AppLicense(Id<AppLicense,Long> id,
short licFWVersion,
LicenseType type,
LicenseStatus status,
boolean base,
short product,
short prodVersion,
int lockId,
long created,
long activated,
short metric,
int metricQty,
short deactCode,
short sno,
short expDays,
String key) |
Copyright © 2014. All Rights Reserved.