|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.tivoli.twg.engine.TWGConObject
com.tivoli.twg.engine.TWGConLicenses
Console shadow object for license keys
Field Summary | |
---|---|
static int |
UNLIMITED_LICENSE_MAX
Constant for license pools which have no 'ceiling' |
Fields inherited from class com.tivoli.twg.engine.TWGConObject |
---|
INVALID_OBJECT_ID |
Constructor Summary | |
---|---|
TWGConLicenses(long oid)
Default constructor |
Method Summary | |
---|---|
int |
getAvailableProductLicenses(int n)
Get nth product available license count |
int |
getKeyLicenseCount(int n)
Get nth key's client license count |
int |
getKeyProductID(int n)
Get nth key's product ID |
java.lang.String |
getKeyProductName(int n)
Get nth key's product name string |
java.lang.String |
getKeyString(int n)
Get nth key string |
static int |
getPrimaryProductFunctionalityLevel()
Get functionality level of primary product license key |
static int |
getPrimaryProductID()
Get primary product ID |
static int |
getPrimaryProductOEMID()
Get OEM ID of primary product license key |
static java.lang.String |
getProductFunctionalityAttribute(java.lang.String attrname)
Get functionality attribute |
static java.lang.String |
getProductFunctionalityAttribute(java.lang.String attrname,
java.lang.String def)
Get functionality attribute, with default |
int |
getProductID(int n)
Get nth product ID |
int |
getProductLicenseLimit(int n)
Get nth product license limit (maximum allowed licenses) |
java.lang.String |
getProductName(int n)
Get nth product name string |
int |
getScalabilityLimit(int n)
Get nth key's scalability limit |
int |
getTotalProductLicenses(int n)
Get nth product total license count |
int |
getUsedProductLicenses(int n)
Get nth product used license count |
static boolean |
isAllSystemsDiscoveryDisabled()
Check if "Discover All Systems" is disabled |
static boolean |
isAssociationDisabled(java.lang.String assoc_idstring)
Check if given association is disabled |
static boolean |
isDisabledFuncsHidden()
Should disabled functions be hidden from the user? |
boolean |
isEvaluationKey(int n)
Test if nth key is evaluation key |
static boolean |
isExtensionDisabled(java.lang.String ext_classname)
Check if given extension is disabled |
boolean |
isKeyInUse(int n)
Test if nth key is in use |
boolean |
isKeyValid(int n)
Test if nth key is valid |
boolean |
isNotForResaleKey(int n)
Test if nth key is not for resale key |
static boolean |
isPrimaryProductEvalMode()
Test to see if primary product is using evaluation key |
static boolean |
isPrimaryProductNotForResaleMode()
Test to see if primary product is using NFR key |
boolean |
isScalabilityUpgradeKey(int n)
Test if nth key is scalability upgrade key |
boolean |
isServerKey(int n)
Test if nth key is server key |
static boolean |
isSubTaskDisabled(java.lang.String task_idstring,
java.lang.String subtask_id)
Check if given subtask is disabled |
static boolean |
isTaskDisabled(java.lang.String task_idstring)
Check if given task is disabled |
boolean |
isUpgradeKey(int n)
Test if nth key is upgrade key |
boolean |
keyHasDuplicate(int n)
Test if nth key has alternate (unused duplicate) |
int |
numKeys()
Get number of keys |
int |
numProducts()
Get number of product records |
static boolean |
receivedPrimaryProductInfo()
Check to see if we have received primary product license info |
java.lang.String |
toString()
Convert to string |
void |
UpdateUsingShadowRecord(byte[] buf,
int off,
int rec_len)
Update object using shadow record created by the the engine object which is matched with this class. |
Methods inherited from class com.tivoli.twg.engine.TWGConObject |
---|
AllObjects, AllObjects, Delete, DeleteObjects, DeregisterListener, FindObject, getBaseClassName, LookUpShadowClass, ObjectID, ProcessUpdateRequest, RegisterListener, SetObjectID |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
public static final int UNLIMITED_LICENSE_MAX
Constructor Detail |
public TWGConLicenses(long oid) throws DuplicateObjectIDException
oid
- - object ID
DuplicateObjectIDException
- if duplicate IDMethod Detail |
public void UpdateUsingShadowRecord(byte[] buf, int off, int rec_len)
UpdateUsingShadowRecord
in class TWGConObject
rec_len
- - length of shadow record in byte arraybuf
- - byte array containing opaque representation of
shadowed attributesoff
- - offset of start of shadow record in byte arraypublic java.lang.String toString()
toString
in class TWGConObject
public int numKeys()
public java.lang.String getKeyString(int n)
n
- - index
public int getKeyLicenseCount(int n)
n
- - index
public int getScalabilityLimit(int n)
n
- - index
public boolean isKeyValid(int n)
n
- - index
public boolean isServerKey(int n)
n
- - index
public boolean isEvaluationKey(int n)
n
- - index
public boolean isNotForResaleKey(int n)
n
- - index
public boolean isKeyInUse(int n)
n
- - index
public boolean isUpgradeKey(int n)
n
- - index
public boolean isScalabilityUpgradeKey(int n)
n
- - index
public int getKeyProductID(int n)
n
- - index
public boolean keyHasDuplicate(int n)
n
- - index
public java.lang.String getKeyProductName(int n)
n
- - index
public int numProducts()
public int getProductID(int n)
n
- - index
public int getTotalProductLicenses(int n)
n
- - index
public int getUsedProductLicenses(int n)
n
- - index
public int getAvailableProductLicenses(int n)
n
- - index
public java.lang.String getProductName(int n)
n
- - index
public int getProductLicenseLimit(int n)
n
- - index
public static int getPrimaryProductID()
public static boolean isPrimaryProductEvalMode()
public static boolean isPrimaryProductNotForResaleMode()
public static boolean receivedPrimaryProductInfo()
public static int getPrimaryProductOEMID()
public static int getPrimaryProductFunctionalityLevel()
public static java.lang.String getProductFunctionalityAttribute(java.lang.String attrname)
attrname
- - attribute namepublic static java.lang.String getProductFunctionalityAttribute(java.lang.String attrname, java.lang.String def)
attrname
- - attribute namedef
- - default value, if property not definedpublic static boolean isAssociationDisabled(java.lang.String assoc_idstring)
assoc_idstring
- - ID string of association to be checkedpublic static boolean isTaskDisabled(java.lang.String task_idstring)
task_idstring
- - ID string of task to be checkedpublic static boolean isSubTaskDisabled(java.lang.String task_idstring, java.lang.String subtask_id)
task_idstring
- - ID string of task to be checkedsubtask_id
- - Subtask IDpublic static boolean isExtensionDisabled(java.lang.String ext_classname)
ext_classname
- - classname of extension to be checkedpublic static boolean isDisabledFuncsHidden()
public static boolean isAllSystemsDiscoveryDisabled()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |