|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface ILicenseKeyBase
The ILicenseKey interface provides metrics on the license keys you have purchased
with the product and allows you to add new license keys.
| Field Summary | |
|---|---|
static java.lang.String |
KIND
The Kind used to query for LicenseKey objects. |
static java.lang.String |
PROGID
The ProgID for the LicenseKey Class. |
| Method Summary | |
|---|---|
java.util.Date |
getExpiryDate()
Returns the expiry date of the license key, or null if there is no expiry date for this keycode. |
java.util.Locale |
getLanguage()
Returns the license key's valid language. |
int |
getLicenseCount()
Returns the number of licenses provided by the license key. |
java.lang.String |
getLicenseKey()
Returns a current license key value. |
java.lang.String |
getMultilingualProductName(java.util.Locale locale)
Returns the product name in the specified locale. |
int |
getNumBIAnalysts()
Returns number of BI Analyst user license restrictions provided by this license key. |
int |
getNumBIViewers()
Returns number of BI Viewer user license restrictions provided by this license key. |
int |
getProductLevel()
Returns the product level. |
int |
getProductName()
Returns the product enum. |
int |
getProductVersion()
Returns the product version. |
int |
getPublicationRecipientLimit()
Returns the publication recipient limit, or Integer.MAX_VALUE to represent unlimited recipients. |
int |
getUserLicenseType()
Returns the type of license key. |
boolean |
isPublishingEnabled()
Returns whether or not the key enables publishing. |
boolean |
isRoleBased()
Returns whether or not the license key is used with the role-based licensing model. |
void |
setLicenseKey(java.lang.String newLicenseKey)
Sets the license key value. |
| Field Detail |
|---|
static final java.lang.String KIND
The Kind used to query for LicenseKey objects.
static final java.lang.String PROGID
The ProgID for the LicenseKey Class.
| ProgID | CrystalEnterprise.LicenseKey |
| Query Category | CI_SYSTEMOBJECTS |
| Associated Interface | com.crystaldecisions.sdk.plugin.desktop.licensekey.ILicenseKey |
Query syntax:
SELECT | |
SI_EXPIRY_DATE, SI_LANGUAGE, SI_LICENSE_COUNT, SI_LICENSE_KEY, SI_LICENSE_TYPE, SI_PRODUCT_LEVEL, SI_PRODUCT_NAME, SI_PRODUCT_VERSION | |
FROM | |
CI_SYSTEMOBJECTS | |
WHERE | |
SI_PROGID='CrystalEnterprise.LicenseKey' | |
The CePropertyIDs named in the SELECT statement are those that are required to access data through the ILicenseKey interface. For more information on their associations with the interface's methods, see ILicenseKey
| Method Detail |
|---|
java.lang.String getLicenseKey()
Returns a current license key value.
String containing a current license key value.ILicenseKeyBase.setLicenseKey(java.lang.String)void setLicenseKey(java.lang.String newLicenseKey)
Sets the license key value.
newLicenseKey - A String containing a new license key value.ILicenseKeyBase.getLicenseKey()int getProductName()
Returns the product enum.
int specifying the product name.CeProductNamejava.lang.String getMultilingualProductName(java.util.Locale locale)
Returns the product name in the specified locale.
String specifying the product name.int getProductLevel()
Returns the product level.
int specifying the product level.CeProductLevelint getProductVersion()
Returns the product version.
int specifying the product version.int getUserLicenseType()
Returns the type of license key. For example, possible types are Concurrent and Named.
int specifying the type of license key. 0 specifies that the
license type is concurrent, while 1 specifies that it is named.int getLicenseCount()
Returns the number of licenses provided by the license key.
int specifying the number of licenses provided by the license
key.java.util.Date getExpiryDate()
Returns the expiry date of the license key, or null if there is no expiry date for this keycode.
Date object containing the expiry date of the license key, or null if this key doesn't expire.java.util.Locale getLanguage()
Returns the license key's valid language.
Locale object specifying the license key's valid language.boolean isRoleBased()
Returns whether or not the license key is used with the role-based licensing model. For example,
BI Analyst and BI Viewer users are part of the role-based licensing model.
true if the license key is defined for the role-based licensing model, false otherwise.boolean isPublishingEnabled()
Returns whether or not the key enables publishing.
true if publishing is enabled, false otherwise.int getPublicationRecipientLimit()
Integer.MAX_VALUE to represent unlimited recipients.
If publishing is not enabled, the return value is 0.
0 if publishing is not enabled.int getNumBIViewers()
BI Viewer user license restrictions provided by this license key.
BI Viewer user license restrictions.int getNumBIAnalysts()
BI Analyst user license restrictions provided by this license key.
BI Analyst user license restrictions.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||