info.joseluismartin.dao
Interface PageableDataSource<T>

All Known Subinterfaces:
Dao<T,PK>, PersistentService<T,PK>, ReportDao, ReportService, UserDao
All Known Implementing Classes:
HibernateDao, HibernateReportDao, IBatisDao, JpaDao, PersistentManager, ReportManager

public interface PageableDataSource<T>

Simple interface to get data by pages

Author:
Jose Luis Martin - (jlm@joseluismartin.info)

Method Summary
 List<Serializable> getKeys(Page<T> page)
          Gets a List with keys of page
 Page<T> getPage(Page<T> page)
          Fill and return a page of data
 

Method Detail

getPage

Page<T> getPage(Page<T> page)
Fill and return a page of data

Returns:
the page

getKeys

List<Serializable> getKeys(Page<T> page)
Gets a List with keys of page

Parameters:
page -
Returns:
List with keys


Copyright © 2012 JDAL. All Rights Reserved.