@ApplicationScoped
public interface ModuleLicenseRestrictions
Modifier and Type | Interface and Description |
---|---|
static class |
ModuleLicenseRestrictions.ActivationMsg
holder for activation key messages
|
static class |
ModuleLicenseRestrictions.AdditionalInfo
Holder for additional messages.
|
static class |
ModuleLicenseRestrictions.MsgSeverity |
Modifier and Type | Method and Description |
---|---|
ActivationKey.LicenseRestriction |
checkRestrictions(ActivationKey activationKey,
String currentSession)
Returns LicenseRestrictions applicable to this instance, or null or
LicenseRestriction.NO_RESTRICTION in case of no restriction.
|
ModuleLicenseRestrictions.ActivationMsg |
getActivationMessage(ActivationKey activationKey,
String lang)
Returns a message related to activation key or null none required.
|
List<ModuleLicenseRestrictions.AdditionalInfo> |
getAdditionalMessage()
Provides a mechanism to returns an extra message.
|
String |
getInstanceActivationExtraActionsHtml(XmlEngine xmlEngine)
Provides the HTML to be injected in Instance Activation window to perform additional actions
|
ActivationKey.LicenseRestriction checkRestrictions(ActivationKey activationKey, String currentSession)
ModuleLicenseRestrictions.ActivationMsg getActivationMessage(ActivationKey activationKey, String lang)
String getInstanceActivationExtraActionsHtml(XmlEngine xmlEngine)
List<ModuleLicenseRestrictions.AdditionalInfo> getAdditionalMessage()