code: @SuppressWarnings({ "unchecked", "rawtypes" })
  	@Deprecated
  	public <T, I extends Serializable> ResourceRepositoryStub<T, I> getQueryParamsRepository(Class<T> resourceClass) {
  		init();
  
  		RegistryEntry entry = resourceRegistry.findEntry(resourceClass);
  
  		// TODO fix this in katharsis, should be able to get original resource
  		ResourceRepositoryAdapter repositoryAdapter = entry.getResourceRepository(null);
  		return (ResourceRepositoryStub<T, I>) repositoryAdapter.getResourceRepository();
  	}
docs: @param resourceClass
  resource class
  @return stub for the given resourceClass
  
  @deprecated make use of QuerySpec