com.jp.protection.pub.pro.lserver
Interface LicenseData

All Superinterfaces:
java.lang.Cloneable, java.io.Serializable
All Known Subinterfaces:
LicenseData.Request, LicenseData.Response
All Known Implementing Classes:
LicenseDataImpl, LicenseDataImpl.RequestImpl, LicenseDataImpl.ResponseImpl

public interface LicenseData
extends java.io.Serializable, java.lang.Cloneable

The class describes license need to be locked or obtained using the Licensing Server

Since:
3.0

Nested Class Summary
static interface LicenseData.Request
          Markup interface to identify request sent to the Licensing Server
static interface LicenseData.Response
          Markup interface to identify response from the Licensing Server
 
Field Summary
static java.lang.String PROPERTY_CPU_LIMIT
           
static java.lang.String PROPERTY_LICENSE_EXPIRE_INFO
           
static java.lang.String PROPERTY_LICENSE_ISSUE_DATE
           
static java.lang.String PROPERTY_LICENSE_NUMBER
           
static java.lang.String PROPERTY_LICENSE_TYPE
           
static java.lang.String PROPERTY_MEMORY_LIMIT
           
static java.lang.String PROPERTY_NUMBER_COPIES
           
static java.lang.String PROPERTY_PRODUCT
           
static java.lang.String PROPERTY_PRODUCT_EDITION
           
static java.lang.String PROPERTY_PRODUCT_MAJOR_VERSION
           
static java.lang.String PROPERTY_PRODUCT_MINOR_VERSION
           
static java.lang.String PROPERTY_USAGE_LIMIT
           
static java.lang.String PROPERTY_USER_LICENSING_MODEL
           
 
Method Summary
 java.lang.Object clone()
           
 int getCheckoutPeriod()
          Returns period in days the license is allowed to work offline after checkout without need to obtain/renew lock from the Licensing Server (applicable for USER_LICENSING_NAMED_LS model only)
 int getCPULimit()
          Returns CPU/Cores limit
 java.lang.String getLicenseExpireInfo()
          Returns textual representation of the license expiration information
 java.util.Date getLicenseIssueDate()
          Returns the license issue date
 java.lang.String getLicenseNumber()
          Returns the license number
 int getLicenseOptions()
          Return the license options as a combination of the License.OPTION_ constants
 int getLicenseType()
          Returns the license type as one of the License.TYPE_ constants
 int getLockPeriod()
          Returns period in days the license must retain lock to a particular user (applicable for USER_LICENSING_NAMED_LS model only)
 long getMemoryLimit()
          Returns memory limit
 int getNumberCopies()
          Returns the license number of copies value
 java.lang.String getProduct()
          Returns the product identifier
 java.lang.String getProductEdition()
          Returns the product's edition identifier
 int getProductMajorVersion()
          Returns the product's major version
 int getProductMinorVersion()
          Returns the product's minor version
 int getUsageLimit()
          Returns usage limit for the license
 int getUserLicensingModel()
          Returns the user licensing model as one of the License.USER_LICENSING_ constants
 

Field Detail

PROPERTY_LICENSE_NUMBER

static final java.lang.String PROPERTY_LICENSE_NUMBER
See Also:
Constant Field Values

PROPERTY_NUMBER_COPIES

static final java.lang.String PROPERTY_NUMBER_COPIES
See Also:
Constant Field Values

PROPERTY_PRODUCT

static final java.lang.String PROPERTY_PRODUCT
See Also:
Constant Field Values

PROPERTY_PRODUCT_EDITION

static final java.lang.String PROPERTY_PRODUCT_EDITION
See Also:
Constant Field Values

PROPERTY_PRODUCT_MAJOR_VERSION

static final java.lang.String PROPERTY_PRODUCT_MAJOR_VERSION
See Also:
Constant Field Values

PROPERTY_PRODUCT_MINOR_VERSION

static final java.lang.String PROPERTY_PRODUCT_MINOR_VERSION
See Also:
Constant Field Values

PROPERTY_LICENSE_TYPE

static final java.lang.String PROPERTY_LICENSE_TYPE
See Also:
Constant Field Values

PROPERTY_USER_LICENSING_MODEL

static final java.lang.String PROPERTY_USER_LICENSING_MODEL
See Also:
Constant Field Values

PROPERTY_LICENSE_ISSUE_DATE

static final java.lang.String PROPERTY_LICENSE_ISSUE_DATE
See Also:
Constant Field Values

PROPERTY_LICENSE_EXPIRE_INFO

static final java.lang.String PROPERTY_LICENSE_EXPIRE_INFO
See Also:
Constant Field Values

PROPERTY_CPU_LIMIT

static final java.lang.String PROPERTY_CPU_LIMIT
See Also:
Constant Field Values

PROPERTY_MEMORY_LIMIT

static final java.lang.String PROPERTY_MEMORY_LIMIT
See Also:
Constant Field Values

PROPERTY_USAGE_LIMIT

static final java.lang.String PROPERTY_USAGE_LIMIT
See Also:
Constant Field Values
Method Detail

getLicenseNumber

java.lang.String getLicenseNumber()
Returns the license number

Returns:
license number

getNumberCopies

int getNumberCopies()
Returns the license number of copies value

Returns:
license number of copies value

getProduct

java.lang.String getProduct()
Returns the product identifier

Returns:
product identifier

getProductEdition

java.lang.String getProductEdition()
Returns the product's edition identifier

Returns:
product edition identifier

getProductMajorVersion

int getProductMajorVersion()
Returns the product's major version

Returns:
product major version

getProductMinorVersion

int getProductMinorVersion()
Returns the product's minor version

Returns:
product minor version

getLicenseOptions

int getLicenseOptions()
Return the license options as a combination of the License.OPTION_ constants

Returns:
license options

getLicenseType

int getLicenseType()
Returns the license type as one of the License.TYPE_ constants

Returns:
license type

getUserLicensingModel

int getUserLicensingModel()
Returns the user licensing model as one of the License.USER_LICENSING_ constants

Returns:
user licensing model

getLicenseIssueDate

java.util.Date getLicenseIssueDate()
Returns the license issue date

Returns:
license issue date

getLicenseExpireInfo

java.lang.String getLicenseExpireInfo()
Returns textual representation of the license expiration information

Returns:
expiration information

getCPULimit

int getCPULimit()
Returns CPU/Cores limit

Returns:
CPU/Cores limit
Since:
v5.0

getMemoryLimit

long getMemoryLimit()
Returns memory limit

Returns:
memory limit in GB
Since:
v5.0

getLockPeriod

int getLockPeriod()
Returns period in days the license must retain lock to a particular user (applicable for USER_LICENSING_NAMED_LS model only)

Returns:
period in days
Since:
v5.0

getCheckoutPeriod

int getCheckoutPeriod()
Returns period in days the license is allowed to work offline after checkout without need to obtain/renew lock from the Licensing Server (applicable for USER_LICENSING_NAMED_LS model only)

Returns:
period in days; 0 if checkout is not allowed
Since:
v5.0 z

getUsageLimit

int getUsageLimit()
Returns usage limit for the license

Returns:
usage limit
Since:
v5.0

clone

java.lang.Object clone()