|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public static interface LicenseStorage.LicenseEntry
Interface describes single license stored in the license storage
Method Summary | |
---|---|
int |
getCheckoutPeriod()
Returns license checkout period |
int |
getCPULimit()
Retuens CPU core limit |
int |
getID()
Returns unique identifier |
byte[] |
getLicenseBytes()
Returns license bytes |
java.util.Date |
getLicenseIssueDate()
Returns license issue date |
java.lang.String |
getLicenseNumber()
Returns license number |
int |
getLicenseType()
Returns license type |
int |
getLockPeriod()
Returns license lock period |
java.lang.String |
getMainLicenseNumber()
Returns main license number. |
int |
getMajorVersion()
Returns major version |
long |
getMemoryLimit()
Returns memory limit |
int |
getMinorVersion()
Returns minor version |
java.lang.String |
getModifiedBy()
Returns identifier of the app that created or modified that entry in the form of app_id:instance_id |
int |
getNumberCopies()
Returns the number of copies |
java.lang.String |
getProduct()
Returns product identifier |
java.lang.String |
getProductEdition()
Returns product edition identifier |
int |
getState()
Returns the state of the entry as one of License.STATE constants. |
int |
getSupplementalCPULimit()
Returns the total CPU Core limit supplied by all the supplemental licenses. |
long |
getSupplementalMemoryLimit()
Returns the total memory limit supplied by all the supplemental licenses. |
int |
getSupplementalNumberCopies()
Returns number of copies supplied by all the supplemental licenses. |
int |
getSupplementalUsageLimit()
Returns the total usage limit supplied by all the supplemental licenses. |
int |
getUsageLimit()
Returns usage limit |
int |
getUserLicensingModel()
Returns user licensing model |
boolean |
isSupplemental()
Checks whether the license entry represents a supplemental license |
boolean |
isSupplementalFor(LicenseStorage.LicenseEntry aLicenseEntry)
Checks whether the license entry represents a supplemental license |
boolean |
isValid()
Returns whether the entry is valid. |
void |
setCheckoutPeriod(int aCheckoutPeriod)
|
void |
setCPULimit(int aCPULimit)
|
void |
setLicenseBytes(byte[] aLicenseBytes)
Specifies license bytes for the entry |
void |
setLicenseIssueDate(java.util.Date aLicenseIssueDate)
|
void |
setLicenseNumber(java.lang.String aLicenseNumber)
Specifies license number for the entry |
void |
setLicenseType(int aLicenseType)
Specifies license type for the entry |
void |
setLockPeriod(int aLockPeriod)
|
void |
setMainLicenseNumber(java.lang.String aMainLicenseNumber)
Specifies main license number for the entry. |
void |
setMajorVersion(int aMajorVersion)
Specifies major version for the entry |
void |
setMemoryLimit(long aMemoryLimit)
|
void |
setMinorVersion(int aMinorVersion)
Specifies minor version for the entry |
void |
setModifiedBy(java.lang.String aModifiedBy)
|
void |
setNumberCopies(int aNumberCopies)
|
void |
setProduct(java.lang.String aProduct)
Specifies product identifier for the entry |
void |
setProductEdition(java.lang.String aProductEdition)
Specifies product edition identifier for the entry |
void |
setState(int aState)
Specifies the state of the entry. |
void |
setSupplementalCPULimit(int aSupplementalCPULimit)
Specifies the total CPU Core limit supplied by all the supplemental licenses. |
void |
setSupplementalMemoryLimit(long aSupplementalMemoryLimit)
Specifies the total memory limit supplied by all the supplemental licenses. |
void |
setSupplementalNumberCopies(int aSupplementalNumberCopies)
Specifies number of copies supplied by all the supplemental licenses. |
void |
setSupplementalUsageLimit(int aSupplementalUsageLimit)
Specifies the total usage limit supplied by all the supplemental licenses. |
void |
setUsageLimit(int aUsageLimit)
|
void |
setUserLicensingModel(int aUserLicensingModel)
Specifies user licensing model for the entry |
void |
setValid(boolean aValid)
Specifies that the license entry is valid. |
Method Detail |
---|
int getID()
byte[] getLicenseBytes()
void setLicenseBytes(byte[] aLicenseBytes)
aLicenseBytes
- license bytes to setjava.lang.String getLicenseNumber()
void setLicenseNumber(java.lang.String aLicenseNumber)
aLicenseNumber
- license number to setint getLicenseType()
void setLicenseType(int aLicenseType)
aLicenseType
- license type to setint getUserLicensingModel()
void setUserLicensingModel(int aUserLicensingModel)
aUserLicensingModel
- user licensing model to setjava.lang.String getProduct()
void setProduct(java.lang.String aProduct)
aProduct
- product identifier to setjava.lang.String getProductEdition()
void setProductEdition(java.lang.String aProductEdition)
aProductEdition
- product edition identifier to setint getMajorVersion()
void setMajorVersion(int aMajorVersion)
aMajorVersion
- major version to setint getMinorVersion()
void setMinorVersion(int aMinorVersion)
aMinorVersion
- minor version to setjava.lang.String getMainLicenseNumber()
void setMainLicenseNumber(java.lang.String aMainLicenseNumber)
aMainLicenseNumber
- main license number to setboolean isValid()
true
if the entry is valid; false
otherwisevoid setValid(boolean aValid)
aValid
- true
if the entry is validint getState()
License.STATE
constants. Note, reserved for use by Licensing Server.
void setState(int aState)
aState
- the state of the entry as one of License.STATE
_ constantsint getSupplementalNumberCopies()
void setSupplementalNumberCopies(int aSupplementalNumberCopies)
aSupplementalNumberCopies
- number of copies supplied by all the supplemental licensesboolean isSupplemental()
true
if the license entry represents a supplemental licenseboolean isSupplementalFor(LicenseStorage.LicenseEntry aLicenseEntry)
true
if the license entry represents a supplemental licenseint getSupplementalUsageLimit()
void setSupplementalUsageLimit(int aSupplementalUsageLimit)
aSupplementalUsageLimit
- total usage limit supplied by all the supplemental licensesint getSupplementalCPULimit()
void setSupplementalCPULimit(int aSupplementalCPULimit)
aSupplementalCPULimit
- total CPU Core limit supplied by all the supplemental licenseslong getSupplementalMemoryLimit()
void setSupplementalMemoryLimit(long aSupplementalMemoryLimit)
aSupplementalMemoryLimit
- memory limit supplied by all the supplemental licensesint getNumberCopies()
void setNumberCopies(int aNumberCopies)
java.util.Date getLicenseIssueDate()
void setLicenseIssueDate(java.util.Date aLicenseIssueDate)
int getCPULimit()
void setCPULimit(int aCPULimit)
long getMemoryLimit()
void setMemoryLimit(long aMemoryLimit)
int getLockPeriod()
void setLockPeriod(int aLockPeriod)
int getCheckoutPeriod()
void setCheckoutPeriod(int aCheckoutPeriod)
int getUsageLimit()
void setUsageLimit(int aUsageLimit)
java.lang.String getModifiedBy()
void setModifiedBy(java.lang.String aModifiedBy)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |