快捷搜索:  as  2018  FtCWSyGV  С˵  test  xxx  Ψһ  w3viyKQx

和记h188_机器人论坛



pageList此类现实paginatedList接口,是display支持的外部分页接口

Java code

package com.yourcompany.proxy;

import java.util.List;

import org.displaytag.pagination.PaginatedList;

import org.displaytag.properties.SortOrderEnum;

/** */

/**

* 分页列表

*

* @author John.Zhu

*

*/

public class PageList implements PaginatedList {

/** */

/**和记h188

* 每页的列表

*/

priv和记h188ate List list;

/** */

/**

* 当前页码

*/

private int pageNumber = 1;

/** */

/**

* 每页记录数 page size

*/

private int objectsPerPage = 15;

/** */

/**

* 总记录数

*/

private int fullListSize = 0;

private String sortCriterion;

private SortOrderEnum sortDirection;

private String searchId;

public List getList() {

return list;

}

public void setList(List list) {

this.list = list;

}

public int getPageNumber() {

return pageNumber;

}

public void setPageNumber(int pageNumber) {

this.pageNumber = pageNumber;

}

public int getObjectsPerPage() {

return objectsPerPage;

}

public void setObjectsPerPage(int objectsPerPage) {

this.objectsPerPage = objectsPerPage;

}

public int getFullListSize() {

return ful和记h188l和记h188ListSize;

}

public void setFullListSize(int fullListSize) {

this.fullListSize = fullListSize;

}

public String getSortCriterion() {

return sortCriterion;

}

public void setSortCriterion(String sortCriterion) {

this.sortCriterion = sortCriterion;

}

public SortOrderEnum getSortDirection() {

return sortDirection;

}

public void setSortDirection(SortOrderEnum sortDirection) {

this.sortD和记h188irection = sortDirection;

}

public String getSearchId() {

return searchId;

}

public void setSearchId(String searchId) {

this.searchId = searchId;

}

}

您可能还会对下面的文章感兴趣: