public interface LicenseService
| Modifier and Type | Method and Description | 
|---|---|
| void | checkFeature(String featureKey)Sprawdza czy system posiada licencję dla funkcjonalności  featureKey | 
| boolean | hasFeature(String featureKey)Sprawdza czy system posiada licencję dla funkcjonalności  featureKey | 
| FeatureLicense | loadFeatureLicense(org.springframework.core.io.Resource resource)Ładuje licencję dla funkcjonalności systemu. | 
FeatureLicense loadFeatureLicense(org.springframework.core.io.Resource resource) throws Exception
resource - Zasób z plikiem licencyjnym.Exceptionvoid checkFeature(String featureKey) throws LicenseInvalidException
featureKeyfeatureKey - Klucz funkcjonalnościLicenseInvalidException - Wyjątek rzucany jeżeli w systemie nie ma licencji dla
             funkcjonalnościboolean hasFeature(String featureKey)
featureKeyfeatureKey - Klucz funkcjonalnościCopyright © 2019 Suncode. All rights reserved.