@PermitAll public class LicenseServiceBean extends com.whitestein.lsps.common.SecureAndLoggingService implements LicenseService
Constructor and Description |
---|
LicenseServiceBean() |
Modifier and Type | Method and Description |
---|---|
boolean |
deleteLicense(java.lang.Long licenseId)
Delete license from the DB
|
java.util.List<License> |
findAll() |
void |
uploadLicense(byte[] content)
Store license into the DB
|
@RightsAllowed(value="License:Manage") public void uploadLicense(byte[] content) throws ErrorException
LicenseService
uploadLicense
in interface LicenseService
ErrorException
@RightsAllowed(value="License:Read") public java.util.List<License> findAll()
findAll
in interface LicenseService
@RightsAllowed(value="License:Manage") public boolean deleteLicense(java.lang.Long licenseId)
LicenseService
deleteLicense
in interface LicenseService
Copyright © 2007-2020 Whitestein Technologies. All Rights Reserved.