Uses of Class
com.labs64.netlicensing.exception.NetLicensingException
Package
Description
Service interfaces.
-
Uses of NetLicensingException 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 NetLicensingException in com.labs64.netlicensing.exception
Modifier and TypeClassDescriptionclass
The exception is thrown when signature validation of NetLicensing signed response fails.class
This exception class should be used when there's a problem during the conversion from one representation of object to another (for example, during the transformation of an XML item to an entity).class
Thrown when illegal arguments are passed to the NetLicensing client call.class
The Class RestException can be used in cases where no checked exception can be thrown (e.g.class
ServiceException is thrown when error response is received from the service.class
The exception class that should be used when the content of the response of NetLicensing service doesn't meet expectations that we impose on it. -
Uses of NetLicensingException in com.labs64.netlicensing.service
Modifier and TypeMethodDescriptionstatic Bundle
Creates new bundle with given properties.static Licensee
Creates new licensee object with given properties.static License
LicenseService.create
(Context context, String licenseeNumber, String licenseTemplateNumber, String transactionNumber, License license) Creates new license object with given properties.static LicenseTemplate
LicenseTemplateService.create
(Context context, String productModuleNumber, LicenseTemplate licenseTemplate) Creates new license template object with given properties.static Notification
NotificationService.create
(Context context, Notification notification) Creates new notification with given properties.static ProductModule
ProductModuleService.create
(Context context, String productNumber, ProductModule productModule) Creates new product module object with given properties.static Product
Creates new product with given properties.static Token
Creates new token.static Transaction
TransactionService.create
(Context context, Transaction transaction) Creates new transaction object with given properties.static void
Deletes bundle.static void
Deletes licensee.static void
Deletes license.static void
Deletes license template.static void
Deletes notification.static void
Deletes product module.static void
Deletes product.static void
Delete token by its number.static Bundle
Gets bundle by its number.static Licensee
Gets licensee by its number.static License
Gets license by its number.static LicenseTemplate
Gets license template by its number.static Notification
Gets notification by its number.static PaymentMethod
Gets payment method by its number.static ProductModule
Gets product module by its number.static Product
Gets product by its number.static Token
Gets token by its number.static Transaction
Gets transaction by its number.Returns bundles of a vendor.Returns all licensees of a vendor.Returns licenses of a vendor.static Page<LicenseTemplate>
Returns all license templates of a vendor.static Page<Notification>
Returns notifications of a vendor.static Page<PaymentMethod>
Returns payment methods of a vendor.static Page<ProductModule>
Returns all product modules of a vendor.Returns products of a vendor.Returns tokens of a vendor.static Page<Transaction>
Returns all transactions of a vendor.UtilityService.listCountries
(Context context, String filter) Returns all countries.UtilityService.listLicenseTypes
(Context context) Returns all license types.UtilityService.listLicensingModels
(Context context) Returns all licensing models.Obtain bundle(create licenses from a bundle license templates).BundleService.obtain
(Context context, String number, String licenseeNumber, String transactionNumber) Obtain bundle(create licenses from a bundle license templates).protected <RES> RES
NetLicensingService.processResponse
(MetaInfo[] meta, Netlicensing netlicensing, Class<RES> resultType) NetLicensingService.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.static void
Transfer licenses between licensees.static Bundle
Updates bundle properties.static Licensee
Updates licensee properties.static License
Updates license properties.static LicenseTemplate
LicenseTemplateService.update
(Context context, String number, LicenseTemplate licenseTemplate) Updates license template properties.static Notification
NotificationService.update
(Context context, String number, Notification notification) Updates notification properties.static PaymentMethod
PaymentMethodService.update
(Context context, String number, PaymentMethod paymentMethod) Updates payment method properties.static ProductModule
ProductModuleService.update
(Context context, String number, ProductModule productModule) Updates product module properties.static Product
Updates product properties.static Transaction
TransactionService.update
(Context context, String number, Transaction transaction) Updates transaction properties.static ValidationResult
LicenseeService.validate
(Context context, String number, ValidationParameters validationParameters, MetaInfo... meta) Validates active licenses of the licensee.static ValidationResult
LicenseeService.validate
(Context context, String number, String productNumber, String licenseeName, ValidationParameters validationParameters, MetaInfo... meta) Deprecated.static ValidationResult
ValidationService.validate
(Context context, String number, ValidationParameters validationParameters, MetaInfo... meta) Validates active licenses of the licensee.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 NetLicensingException in com.labs64.netlicensing.util