?? pageinfo.java
字號:
package cn.handson.model.service.dao.page;
import java.util.List;
/**
*
* <p>Title: PageInfo.java</p>
* <p>Description: The PageInfo interface describes accessional</p>
* <p>information about the Pageable Object.</p>
* <p>Copyright: Copyright (c) 2003</p>
* @author Sam Lee
* @version 1.0
*/
public interface PageInfo {
/**
* @return
*/
public List getPageContent();
/**
* @param list
*/
public void setPageContent(List list);
/**
* Returns the amount of the pages of special pageable object.
* @return the amount of the pages.
*/
public int getPageCount();
/**
* Returns the amount of total rows.
* @return the amount of total rows.
*/
public long getRowCount();
/**
* If the current page is the last page,returns false,otherwise,returns true.
* @return if the current page is the last one.
*/
public boolean getNextPage();
/**
*
* @return
*/
public boolean getPreviousPage();
/**
* Returns the current pagenumber.
* @return the current pagenumber.
*/
public int getCurrentPageNo();
/**
* Returns the start index of previous page
* @return the start index of previous page
*/
public int getStartOfPreviousPage();
/**
* Returns the start index of next page
* @return the start index of next page
*/
public int getStartOfNextPage();
/**
* Returns the start index of any page
* @param pageNo the page no
* @return the start index of any page
*/
public int getStartOfAnyPage(int pageNo);
/**
* Returns the amount of the record in this page.
* @return the amount of the record in this page.
*/
public int getPageSize();
/**
* Return the start index of current page
* @return the start index of current page
*/
public long getStartIndex();
/**
* Return the end index of current page
* @return the end index of current page
*/
public long getEndIndex();
}
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -