code: @SuppressWarnings("unchecked")
      public Collection<ProductResourceImpl> getAllProducts(LicenseType licenseType) throws RepositoryBackendException {
          Collection<ProductResourceImpl> product = (Collection<ProductResourceImpl>) getAllResources(licenseType, ResourceType.INSTALL);
          Collection<ProductResourceImpl> addons = (Collection<ProductResourceImpl>) getAllResources(licenseType, ResourceType.ADDON);
          product.addAll(addons);
          return product;
      }
docs: Get all products with a given license type
  
  @param licenseType
  @throws RepositoryBackendException