public class License extends DumpableObject
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
ndfLicenceDocType |
static java.lang.String |
propCreated |
static java.lang.String |
propCustomerEmail |
static java.lang.String |
propCustomerIcon |
static java.lang.String |
propCustomerId |
static java.lang.String |
propCustomerName |
static java.lang.String |
propCustomerSite |
static java.lang.String |
propLicenseCode |
static java.lang.String |
propLicenseType |
static java.lang.String |
propMaxUsers |
static java.lang.String |
propModules |
static java.lang.String |
propPaycode |
static java.lang.String |
propProduct |
static java.lang.String |
propSerialId |
static java.lang.String |
propValidDays |
static java.lang.String |
propVersion |
Constructor and Description |
---|
License(NdfProperties map,
Version runningProductVersion) |
Modifier and Type | Method and Description |
---|---|
void |
checkLicenseValidity(LogChannel logCh) |
java.lang.String |
createEncryptionData()
Same as createLicenseData() but returns output without
CARRIAGE RETURN characters.
|
static java.lang.String |
createExpectedPayCode(long serialId) |
java.lang.String |
createLicenseDigest() |
java.lang.String |
getCustomerEmail() |
java.lang.String |
getCustomerIcon() |
java.lang.String |
getCustomerID() |
java.lang.String |
getCustomerName() |
java.lang.String |
getCustomerSite() |
java.lang.String |
getInfoString() |
java.lang.String |
getLicenseCode() |
LicenseType |
getLicenseType() |
java.util.Date |
getLimitDate() |
int |
getMaxUsers() |
java.util.List<java.lang.String> |
getModules() |
java.lang.String |
getPaycode() |
ProductType |
getProductType() |
long |
getSerialID() |
java.util.Date |
getUnpayedLimitDate() |
int |
getValidDays() |
java.lang.String |
getVersion() |
boolean |
isPayed() |
boolean |
isUnpayedValidTimeExceeded() |
boolean |
isValid() |
void |
setLicenseCode(java.lang.String licenseCode) |
void |
setPayCode(java.lang.String paycode) |
DumpString |
toDumpString(DumpString s)
This method allows subclasses to add values to the existing DumpString of the superclass.
|
ToString |
toString(ToString s)
This method allows subclasses to add values to the existing ToString of the superclass.
|
configureDumpHeadlineLength, configureDumpMaxElementsPrinted, copyDumpStringValues, copyToStringValues, createDumpHeader, toDumpString, toString
public static final java.lang.String ndfLicenceDocType
public static final java.lang.String propProduct
public static final java.lang.String propLicenseType
public static final java.lang.String propModules
public static final java.lang.String propCustomerId
public static final java.lang.String propCustomerName
public static final java.lang.String propCustomerSite
public static final java.lang.String propCustomerEmail
public static final java.lang.String propCustomerIcon
public static final java.lang.String propValidDays
public static final java.lang.String propMaxUsers
public static final java.lang.String propSerialId
public static final java.lang.String propVersion
public static final java.lang.String propPaycode
public static final java.lang.String propLicenseCode
public static final java.lang.String propCreated
public License(NdfProperties map, Version runningProductVersion)
public void setLicenseCode(java.lang.String licenseCode)
public java.util.List<java.lang.String> getModules()
public java.lang.String createEncryptionData()
public java.lang.String createLicenseDigest() throws java.lang.Exception
java.lang.Exception
public void checkLicenseValidity(LogChannel logCh) throws java.lang.Exception
java.lang.Exception
public boolean isUnpayedValidTimeExceeded()
public java.util.Date getUnpayedLimitDate()
public java.util.Date getLimitDate()
public void setPayCode(java.lang.String paycode)
public boolean isPayed()
public java.lang.String getCustomerID()
public java.lang.String getCustomerName()
public java.lang.String getCustomerSite()
public java.lang.String getCustomerEmail()
public java.lang.String getCustomerIcon()
public java.lang.String getLicenseCode()
public LicenseType getLicenseType()
public java.lang.String getPaycode()
public ProductType getProductType()
public java.lang.String getVersion()
public long getSerialID()
public int getValidDays()
public int getMaxUsers()
public boolean isValid()
public java.lang.String getInfoString()
public ToString toString(ToString s)
Dumpable
toString
in interface Dumpable
toString
in class DumpableObject
public DumpString toDumpString(DumpString s)
Dumpable
toDumpString
in interface Dumpable
toDumpString
in class DumpableObject
public static java.lang.String createExpectedPayCode(long serialId)
Copyright © 2014 EsprIT-Systems. All Rights Reserved.