⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 pageinfo.java

📁 本项目是基于展示新闻的一款产品。在本系统中用户可以自定义栏目及新闻分类 发布新闻信息
💻 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 + -