Class ServiceHelper

java.lang.Object
com.labs64.netlicensing.util.ServiceHelper

public class ServiceHelper extends Object
  • Constructor Details

    • ServiceHelper

      public ServiceHelper()
  • Method Details

    • listAll

      public static <T> List<T> listAll(Context context, String filter, Class<T> entityClass) throws NetLicensingException
      Returns all entities of specified type, automatically retrieving all pages.
      Type Parameters:
      T - derived automatically from entityClass
      Parameters:
      context - determines the vendor on whose behalf the call is performed
      filter - reserved for the future use, must be omitted / set to NULL
      entityClass - class of requested NetLicensing Entity type, e.g. License.class
      Returns:
      The list of all entities of the specified type
      Throws:
      NetLicensingException