Class UtilityService


  • public class UtilityService
    extends Object
    Provides utility routines.
    • Constructor Detail

      • UtilityService

        public UtilityService()
    • Method Detail

      • listLicenseTypes

        public static Page<String> listLicenseTypes​(Context context)
                                             throws NetLicensingException
        Returns all license types.
        Parameters:
        context - determines the vendor on whose behalf the call is performed
        Returns:
        collection of available license types or null/empty list if nothing found.
        Throws:
        NetLicensingException - any subclass of NetLicensingException. These exceptions will be transformed to the corresponding service response messages.
      • listLicensingModels

        public static Page<String> listLicensingModels​(Context context)
                                                throws NetLicensingException
        Returns all licensing models.
        Parameters:
        context - determines the vendor on whose behalf the call is performed
        Returns:
        collection of available license models or null/empty list if nothing found.
        Throws:
        NetLicensingException - any subclass of NetLicensingException. These exceptions will be transformed to the corresponding service response messages.
      • listCountries

        public static Page<Country> listCountries​(Context context,
                                                  String filter)
                                           throws NetLicensingException
        Returns all countries.
        Parameters:
        context - determines the vendor on whose behalf the call is performed
        filter - reserved for the future use, must be omitted / set to NULL
        Returns:
        collection of available countries or null/empty list if nothing found.
        Throws:
        NetLicensingException - any subclass of NetLicensingException. These exceptions will be transformed to the corresponding service response messages.