001 package com.khubla.pragmatach.framework.dao; 002 003 import java.util.List; 004 005 import com.khubla.pragmatach.framework.api.PragmatachException; 006 007 /** 008 * an iterator for objects, produced by a DAO 009 * 010 * @author tome 011 */ 012 public interface Pager<T> { 013 boolean hasNext(); 014 015 List<T> next() throws PragmatachException; 016 }