public interface LicenseCheckerService
| Modifier and Type | Interface and Description |
|---|---|
static class |
LicenseCheckerService.Stub |
| Modifier and Type | Method and Description |
|---|---|
boolean |
checkFeature(String featureId)
Checks if the corresponding product feature is allowed by the current license.
|
Optional<Long> |
getSiteLimit()
This method get the site limit value.
|
boolean |
isLimitReached(String featureId,
String limitName)
This method check if the desired limit has been exceeded.
|
boolean |
isLoggedInUsersLimitReached()
Checks whether or not the limit (if any) of logged in users has been reached.
|
boolean checkFeature(String featureId)
featureId - the feature ID to be checkedtrue if the specified product feature is allowed by the license; false otherwise.boolean isLimitReached(String featureId, String limitName)
featureId - ID of the feature where to find the limit (e.g: org.jahia.core)limitName - Name of the limit to check (e.g: sites)true if the desired limit has been exceeded, false if there is no limit or if not exceededboolean isLoggedInUsersLimitReached()
true if the limit has been reached, false otherwiseCopyright © 2004–2020 Jahia Solutions Group SA. All rights reserved.