@@ -0,0 +1,663 @@
+package org.gridlab.gridsphere.core.persistence;%0A%0A/**%0A * Created by IntelliJ IDEA.%0A * User: novotny%0A * Date: May 15, 2006%0A * Time: 10:36:21 PM%0A * To change this template use File %7C Settings %7C File Templates.%0A */%0Apublic class QueryFilter %7B%0A%0A    private int maxResults = 0;%0A    private int firstResult = 0;%0A%0A    public QueryFilter() %7B%7D%0A%0A    public void setMaxResults(int maxResults) %7B%0A        this.maxResults = maxResults;%0A    %7D%0A%0A    public int getMaxResults() %7B%0A        return maxResults;%0A    %7D%0A%0A    public void setFirstResult(int firstResult) %7B%0A        this.firstResult = firstResult;%0A    %7D%0A%0A    public int getFirstResult() %7B%0A        return firstResult;%0A    %7D%0A%0A%7D%0A

use query filter to handle pagination (sublists)