|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectplanetj.license.License
Serializable representation of license - trial, professional, enterprise. Only trial license can expire, other licenses may have disabled features.
Field Summary |
Fields inherited from interface planetj.license.ILicenseEditions |
ENTERPRISE, ENTERPRISE_EDITION, ENTRY, ENTRY_EDITION, INVALID, INVALID_EDITION, PROFESSIONAL, PROFESSIONAL_EDITION, STANDARD, STANDARD_EDITION, TRIAL, TRIAL_EDITION |
Fields inherited from interface planetj.license.ILicenseConsts |
CP, EXPIRATION_NEVER, fs, INVALID_CREATION, INVALID_EXPIRED, INVALID_VERSION, MESSAGE_GENERIC, MESSAGE_INVALID, MESSAGE_INVALID_DETAIL, STORE_DEFAULT_URI, TRIAL_EXPIRATION_PERIOD_DAYS, TYPE_ENTERPRISE, TYPE_ENTRY, TYPE_INVALID, TYPE_PROFESSIONAL, TYPE_STANDARD, TYPE_TRIAL, VERSION_5_0, VERSION_6_0 |
Constructor Summary | |
License(java.lang.String pType)
Set expiration date based on creation date+expiration period |
Method Summary | |
Feature |
addFeature(Feature pFeature)
Add feature to license Creation date: (1/8/2003 4:00:01 PM) |
java.lang.String |
expirationString()
Creation date: (1/8/2003 8:05:11 PM) |
boolean |
featureIsEnabled(java.lang.String pFeature)
Insert the method's description here. |
java.util.Date |
getCreated()
Insert the method's description here. |
java.util.Date |
getExpiration()
Insert the method's description here. |
java.lang.String |
getExpirationString()
Return warning string for expiring license. |
int |
getFeatureLevel()
Gets the feature level for this license |
java.lang.String |
getInvalidDetailString()
Creation date: (5/6/2003 11:50:36 PM) |
int |
getInvalidReason()
Creation date: (5/6/2003 11:50:36 PM) |
java.lang.String |
getInvalidString()
Creation date: (5/6/2003 11:50:36 PM) |
java.lang.String |
getKey()
Returns a key that uniquely identifies this license. |
int |
getOperationCount()
Get the number of operations that are allowed under this license. |
java.lang.String |
getStatusMessage(int messageType)
Creation date: (5/7/2003 12:29:31 AM) |
java.lang.String |
getType()
Insert the method's description here. |
java.lang.String |
getURI()
Get URI location that license should be stored / retrieved. |
java.lang.String |
getVersion()
Get version of Wow that this license was created for. |
boolean |
hasStateChanged()
Creation date: (4/8/2003 1:57:37 PM) |
boolean |
isDataEngineKeyMatched()
Returns a key that uniquely identifies this license. |
boolean |
isExpired()
|
boolean |
isStoredAsInvalid()
Insert the method's description here. |
boolean |
isValid()
Creation date: (5/6/2003 11:48:30 PM) |
void |
restore()
Called every time the license is retored & checks to see if the date has changed. |
void |
setStoreAsInvalidTrue()
Not a true setter - always stores as true. |
java.lang.String |
toString()
Final since used as part of key Creation date: (1/8/2003 5:22:51 PM) |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public License(java.lang.String pType)
Method Detail |
public Feature addFeature(Feature pFeature)
public java.lang.String expirationString()
public boolean featureIsEnabled(java.lang.String pFeature)
public final java.util.Date getCreated()
public final java.util.Date getExpiration()
public java.lang.String getExpirationString()
public int getFeatureLevel()
getFeatureLevel
in interface ILicense
public java.lang.String getInvalidDetailString()
public int getInvalidReason()
public java.lang.String getInvalidString()
public final java.lang.String getKey()
getKey
in interface ILicense
public final int getOperationCount()
ILicense
getOperationCount
in interface ILicense
public java.lang.String getStatusMessage(int messageType)
getStatusMessage
in interface ILicense
public final java.lang.String getType()
getType
in interface ILicense
public java.lang.String getURI()
getURI
in interface ILicense
public final java.lang.String getVersion()
ILicense
getVersion
in interface ILicense
public boolean hasStateChanged()
hasStateChanged
in interface ILicense
public final boolean isDataEngineKeyMatched()
public final boolean isExpired()
public final boolean isStoredAsInvalid()
public final boolean isValid()
isValid
in interface ILicense
public final void restore()
restore
in interface ILicense
public final void setStoreAsInvalidTrue()
public final java.lang.String toString()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |