Interface LicenseKeyManagerService<T,D,S>
-
- Type Parameters:
T- the return type.D- the input argument type.S- the input argument type.
public interface LicenseKeyManagerService<T,D,S>Interface that provides methods for license key management.- Since:
- 1.0.0
- Author:
- Sagar Mahapatra
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description List<T>fetchLicenseKeyPermissions(T tspID, T licenseKey)Method to fetch permissions mapped to a license key.TgenerateLicenseKey(D licenseKeyGenerationDto)Method to generate license key.TmapLicenseKey(S licenseKeyMappingDto)Method to map license key with permissions.
-
-
-
Method Detail
-
generateLicenseKey
T generateLicenseKey(D licenseKeyGenerationDto)
Method to generate license key.- Parameters:
licenseKeyGenerationDto- the request DTO.- Returns:
- the response.
-
mapLicenseKey
T mapLicenseKey(S licenseKeyMappingDto)
Method to map license key with permissions.- Parameters:
licenseKeyMappingDto- the request DTO.- Returns:
- the response.
-
-