code: public <T> List<T> getObjectsList(Class<T> objectClass,
  									  Collection<? extends NameValuePair> params) throws RedmineException {
  		final List<T> result = new ArrayList<>();
  		int offset = 0;
  
  		Integer totalObjectsFoundOnServer;
  		do {
  			final List<NameValuePair> newParams = new ArrayList<>(params);
  			newParams.add(new BasicNameValuePair("limit", String.valueOf(objectsPerPage)));
  			newParams.add(new BasicNameValuePair("offset", String.valueOf(offset)));
  
  			final ResultsWrapper<T> wrapper = getObjectsListNoPaging(objectClass, newParams);
  			result.addAll(wrapper.getResults());
  
  			totalObjectsFoundOnServer = wrapper.getTotalFoundOnServer();
  			// Necessary for trackers.
  			// TODO Alexey: is this still necessary for Redmine 2.x?
  			if (totalObjectsFoundOnServer == null) {
  				break;
  			}
  			if (!wrapper.hasSomeResults()) {
  				break;
  			}
  			offset += wrapper.getResultsNumber();
  		} while (offset < totalObjectsFoundOnServer);
  		return result;
  	}
docs: Returns all objects found using the provided parameters.
  This method IGNORES "limit" and "offset" parameters and handles paging AUTOMATICALLY for you.
  Please use getObjectsListNoPaging() method if you want to control paging yourself with "limit" and "offset" parameters.
  
  @return objects list, never NULL
  
  @see #getObjectsListNoPaging(Class, Collection)