ENDRPrint_12CRelease/.svn/pristine/b8/b880a2c6ffa779b26bb3420f5e1a5ae8a5026ec2.svn-base

47 lines
1.1 KiB
Plaintext
Raw Normal View History

2024-08-14 10:58:03 +07:00
package th.co.muangthai.endrprint.util;
import java.sql.ResultSet;
import java.util.List;
public interface Pageable extends ResultSet {
/** Back to the total number of pages
*/
int getPageCount();
/** Return to the current page of the record number
*/
int getPageRowsCount();
/** Return paging size
*/
int getPageSize();
/** Transferred to the designated page
*/
void gotoPage(int page);
/** Settings page size
*/
void setPageSize(int pageSize);
/** Return to the record number
*/
int getRowsCount();
/**
* Go to the first page of the current record
* @ Exception java.sql.SQLException unusual note.
*/
void pageFirst() throws java.sql.SQLException;
/**
* To present the last page of a record
* @ Exception java.sql.SQLException unusual note.
*/
void pageLast() throws java.sql.SQLException;
/** Return to the current page,
*/
int getCurPage();
List getResultList();
void setResultList(List resultList);
public int getRowsInPage();
}