@@ -0,0 +1,1016 @@
+package de.terrestris.shogun2.paging;%0A%0Aimport java.util.List;%0A%0A/**%0A * The Result of a paging request. Contains a list with returned objects and the%0A * totalCount of available database entries.%0A * %0A * @author Nils B%C3%BChner%0A * %0A */%0Apublic class PagingResult%3CE%3E %7B%0A%0A%09private List%3CE%3E resultList;%0A%0A%09private Number totalCount;%0A%0A%09/**%0A%09 * Constructor%0A%09 * %0A%09 * @param resultList%0A%09 * @param number%0A%09 */%0A%09public PagingResult(List%3CE%3E resultList, Number number) %7B%0A%09%09this.setResultList(resultList);%0A%09%09this.setTotalCount(number);%0A%09%7D%0A%0A%09/**%0A%09 * @return the resultList%0A%09 */%0A%09public List%3CE%3E getResultList() %7B%0A%09%09return resultList;%0A%09%7D%0A%0A%09/**%0A%09 * @param resultList%0A%09 *            the resultList to set%0A%09 */%0A%09public void setResultList(List%3CE%3E resultList) %7B%0A%09%09this.resultList = resultList;%0A%09%7D%0A%0A%09/**%0A%09 * @return the totalCount%0A%09 */%0A%09public Number getTotalCount() %7B%0A%09%09return totalCount;%0A%09%7D%0A%0A%09/**%0A%09 * @param totalCount%0A%09 *            the totalCount to set%0A%09 */%0A%09public void setTotalCount(Number totalCount) %7B%0A%09%09this.totalCount = totalCount;%0A%09%7D%0A%0A%7D%0A

Add PagingResult class.