Interface LicenceInformation
-
public interface LicenceInformationLicence information.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classLicenceInformation.ActivationDeprecated.This is replaced by anintspecifying the activation interval.
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description LicenceInformation.ActivationgetActivation()Deprecated.UsegetActivationInterval()instead.intgetActivationInterval()Gets the amount of days the licence needs to be activated.String[]getAdditionalFeatures()Gets the included features which are additionally included besides the standard features of the licensed edition.Map<String,String>getAdditions()Returns additional licence attributes.StringgetCustomerID()Returns the customer ID.StringgetDistributorID()Returns the ID of the distributor, or null if not applicable.StringgetEdition()Gets the name of the licensed edition.byte[]getIpAddressLimit()Gets the IP address limit asbyte[]ornullif there is no limitintgetIPAddressLimit()Deprecated.UsegetIpAddressLimit()instead.bytegetIPAddressMask()Returns the mask value, or0if there is no mask or no limit.intgetKnownUserLimit()Returns the overall number of users which are allowed to be known by the product or0if there is no user limit.intgetLicenceID()Returns the ID of the licence.StringgetLicenceType()Returns the licence type.StringgetLicensee()Returns the name of the person or organisation to whom the licence has been issued, as it is displayed e.g.List<String>getMailAddresses()Gets the mail addresses of the licensee.String[]getProcessFlexibiltyEnabledTemplates()Deprecated.String[]getProcessTypeLimit()Returns the names of the process types which are allowed for execution or null if unlimited.Map<String,Boolean>getProducts()Deprecated.StringgetRelaseName()Gets the release name for which this licence applies.String[]getRuntimeFlexibiltyEnabledTemplates()Deprecated.LocalDategetTimeLimit()Gets the date until the licence is valid, ornullif the usage time is not limited.DategetTimeLimitEnd()Deprecated.UsegetTimeLimit()instead.DategetTimeLimitStart()Deprecated.intgetTransactionLimit()Returns the transactions which are allowed per day, or0if the daily transactions are not limited.intgetUsingUserLimit()Returns the number of users which are allowed to be logged on concurrently or0if there is no user limit.StringgetVersion()Deprecated.UsegetRelaseName()instead.booleanisEscalationEnabled()Deprecated.booleanisProcessFlexibilityEnabled()Deprecated.booleanisRuntimeFlexibilityEnabled()Deprecated.booleanisWebClientEnabled()Deprecated.
-
-
-
Method Detail
-
getLicenceID
int getLicenceID()
Returns the ID of the licence.- Returns:
- The licence ID.
-
getCustomerID
String getCustomerID()
Returns the customer ID.- Returns:
- The ID of the customer.
-
getDistributorID
String getDistributorID()
Returns the ID of the distributor, or null if not applicable.- Returns:
- The ID of the distributor, or null if not applicable.
-
getLicenceType
String getLicenceType()
Returns the licence type.- Returns:
- The licence type.
-
getLicensee
String getLicensee()
Returns the name of the person or organisation to whom the licence has been issued, as it is displayed e.g. in the user interface.- Returns:
- The licensee.
-
getMailAddresses
List<String> getMailAddresses()
Gets the mail addresses of the licensee. This addresses will be notified in case of severe licence violations.
For very old licences this can be an empty collection.- Returns:
- The mail addresses of the licensee which to notify in case of severe licence violations.
-
getRelaseName
String getRelaseName()
Gets the release name for which this licence applies.- Returns:
- The release name for which this licence applies. This is never
null.
-
getEdition
String getEdition()
Gets the name of the licensed edition.- Returns:
- The name of the licensed edition. This is never
null.
-
getVersion
@Deprecated String getVersion()
Deprecated.UsegetRelaseName()instead.Returns the product version for which this licence has been issued.- Returns:
- The product version for which this licence has been issued.
-
getActivation
@Deprecated LicenceInformation.Activation getActivation()
Deprecated.UsegetActivationInterval()instead.Returns whether an activation option.- Returns:
- The activation option.
-
getActivationInterval
int getActivationInterval()
Gets the amount of days the licence needs to be activated.0indicates a licence without activation, 2147483647 a one-time activation.- Returns:
- The amount of days the licence needs to be activated.
-
getTimeLimitStart
@Deprecated Date getTimeLimitStart()
Deprecated.Returns the start date from which the licence is valid, or null if the usage time is not limited.- Returns:
- The start date when the licence is valid, or null if the usage time is not limited.
-
getTimeLimitEnd
@Deprecated Date getTimeLimitEnd()
Deprecated.UsegetTimeLimit()instead.Returns the date until which the licence is valid, or null if the usage time is not limited.- Returns:
- The end date until when the licence is valid, or null if the usage time is not limited.
-
getTimeLimit
LocalDate getTimeLimit()
Gets the date until the licence is valid, ornullif the usage time is not limited.- Returns:
- The date until the licence is valid, or
nullif the usage time is not limited.
-
getTransactionLimit
int getTransactionLimit()
Returns the transactions which are allowed per day, or0if the daily transactions are not limited.- Returns:
- The transactions which are allowed per day, or
0if unlimited.
-
getKnownUserLimit
int getKnownUserLimit()
Returns the overall number of users which are allowed to be known by the product or0if there is no user limit.- Returns:
- The overall number of users which are allowed to use the product or
0if there is no user limit.
-
getUsingUserLimit
int getUsingUserLimit()
Returns the number of users which are allowed to be logged on concurrently or0if there is no user limit.- Returns:
- The overall number of users which are allowed to be logged on
concurrently or
0if there is no user limit.
-
getIPAddressLimit
@Deprecated int getIPAddressLimit()
Deprecated.UsegetIpAddressLimit()instead.Returns the IP address limit as integer or0if there is no limit- Returns:
- The IP address limit as integer or
0if there is no limit.
-
getIpAddressLimit
byte[] getIpAddressLimit()
Gets the IP address limit asbyte[]ornullif there is no limit- Returns:
- The IP address limit as
byte[]ornullif there is no limit.
-
getIPAddressMask
byte getIPAddressMask()
Returns the mask value, or0if there is no mask or no limit.- Returns:
- The mask value, or
0if there is no mask or no limit.
-
getProcessTypeLimit
String[] getProcessTypeLimit()
Returns the names of the process types which are allowed for execution or null if unlimited.- Returns:
- The names of the process types which are allowed for execution or null if unlimited.
-
isWebClientEnabled
@Deprecated boolean isWebClientEnabled()
Deprecated.Returns true, if the licence includes usage of the web client (server).- Returns:
- True, if the licence includes usage of the web client (server).
-
isEscalationEnabled
@Deprecated boolean isEscalationEnabled()
Deprecated.Returns true, if the licence includes escalation.- Returns:
- True, if the licence includes escalation.
-
getProducts
@Deprecated Map<String,Boolean> getProducts()
Deprecated.Returns the names of the products (key) and if the usage is included in the licence (value).- Returns:
- The products and if their usage is included in the licence.
-
isProcessFlexibilityEnabled
@Deprecated boolean isProcessFlexibilityEnabled()
Deprecated.Returns true, if the process flexibility option is licensed.- Returns:
- True, if the process flexibility option is licensed.
-
getProcessFlexibiltyEnabledTemplates
@Deprecated String[] getProcessFlexibiltyEnabledTemplates()
Deprecated.Returns the names of the process types the process flexibility is enabled for (cf.isProcessFlexibilityEnabled()), or null the option is not limited. The return value has no meaning if the option is disabled.- Returns:
- The names of the process types the process flexibility is enabled for, or null the option is not limited.
-
isRuntimeFlexibilityEnabled
@Deprecated boolean isRuntimeFlexibilityEnabled()
Deprecated.Returns true, if the runtime flexibility option is licensed.- Returns:
- True, if the runtime flexibility option is licensed.
-
getRuntimeFlexibiltyEnabledTemplates
@Deprecated String[] getRuntimeFlexibiltyEnabledTemplates()
Deprecated.Returns the names of the process types the runtime flexibility is enabled for (cf.isRuntimeFlexibilityEnabled()), or null the option is not limited. The return value has no meaning if the option is disabled.- Returns:
- The names of the process types the runtime flexibility is enabled for, or null the option is not limited.
-
getAdditions
Map<String,String> getAdditions()
Returns additional licence attributes.- Returns:
- Additional licence attributes.
-
getAdditionalFeatures
String[] getAdditionalFeatures()
Gets the included features which are additionally included besides the standard features of the licensed edition.- Returns:
- The additionally included features besides the standard features of the licensed
edition. If only the standard features are licensed,
nullwill be returned.
-
-