|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ILicense
Method Summary | |
---|---|
String |
generateKey(String client,
String entity,
String date,
LicenseEditionType edition)
Generates full version key |
LicenseEditionType |
getEdition()
Returns the License Edition |
Date |
getExpirationDate()
Checks if the current license has expired |
String |
getKey()
|
String |
getName()
|
boolean |
hasExpirationDate()
Checks if the current license has an expiration date |
boolean |
hasExpired()
Checks if the current license has expired |
boolean |
isRegistered()
Checks if it is registered |
boolean |
isRegistrable()
Checks if the element is registrable |
boolean |
register(String key,
String entityId)
Create the registration |
void |
setName(String name)
|
void |
setRegistrable(boolean registrable)
Sets the registrability of this element |
void |
unregister()
Delete the registration |
Method Detail |
---|
String generateKey(String client, String entity, String date, LicenseEditionType edition)
client
- the client name to the key associationentity
- the entity to registerdate
- date to use in the encryptionedition
- The edition type
LicenseEditionType getEdition()
LicenseEditionType
Date getExpirationDate()
String getKey()
String getName()
boolean hasExpirationDate()
boolean hasExpired()
boolean isRegistered()
boolean isRegistrable()
boolean register(String key, String entityId)
key
- the key to registerentityId
-
void setName(String name)
name
- the name to setvoid setRegistrable(boolean registrable)
registrable
- the registrability to setvoid unregister()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |