Uses of Class
com.labs64.netlicensing.schema.context.Netlicensing
Package
Description
Schema converters.
Service interfaces.
-
Uses of Netlicensing in com.labs64.netlicensing.domain
Modifier and TypeMethodDescription<T> T
EntityFactory.create
(Netlicensing netlicensing, Class<T> entityClass) Creates entity of specific class from service response<T> Page<T>
EntityFactory.createPage
(Netlicensing netlicensing, Class<T> entityClass) Creates page of entities of specified class from service response -
Uses of Netlicensing in com.labs64.netlicensing.exception
ModifierConstructorDescriptionServiceException
(int statusCode, Map<String, List<String>> headers, Netlicensing errorResponse) Construct aServiceException
with the service error response object. -
Uses of Netlicensing in com.labs64.netlicensing.schema
Modifier and TypeMethodDescriptionstatic void
SchemaFunction.addInfo
(Netlicensing netlicensing, String id, InfoEnum type, String value) Creates and addsInfo
object toNetlicensing
objectstatic boolean
SchemaFunction.hasErrorInfos
(Netlicensing entity) Check ifNetlicensing
object contains service errors.static String
SchemaFunction.infosToMessage
(Netlicensing response) Transform service infos to a string message. -
Uses of Netlicensing in com.labs64.netlicensing.schema.context
Modifier and TypeMethodDescriptionObjectFactory.createNetlicensing()
Create an instance ofNetlicensing
-
Uses of Netlicensing in com.labs64.netlicensing.schema.converter
-
Uses of Netlicensing in com.labs64.netlicensing.service
Modifier and TypeMethodDescriptionNetLicensingService.request
(Context context, HttpMethod method, String urlTemplate, Form request, Map<String, String> queryParams) Helper method for performing request to NetLicensing API services.static Netlicensing
ValidationService.retrieveValidationFile
(Context context, String number, ValidationParameters validationParameters) Retrieves validation file for the given licensee from the server asNetlicensing
object.Modifier and TypeMethodDescriptionprotected <RES> RES
NetLicensingService.processResponse
(MetaInfo[] meta, Netlicensing netlicensing, Class<RES> resultType) static ValidationResult
ValidationService.validateOffline
(Context context, Netlicensing validationFile, MetaInfo... meta) Perform validation without connecting to the server (offline) using validation file previously retrieved byValidationService.retrieveValidationFile(com.labs64.netlicensing.domain.vo.Context, java.lang.String, com.labs64.netlicensing.domain.vo.ValidationParameters)
. -
Uses of Netlicensing in com.labs64.netlicensing.util
Modifier and TypeMethodDescriptionstatic void
SignatureUtils.check
(Context context, Netlicensing response) Verify response signature.static void
SignatureUtils.check
(Netlicensing response, byte[] publicKeyByteArray) Verify response signature.