本文整理汇总了Java中egovframework.rte.ptl.mvc.tags.ui.pagination.PaginationInfo.setPageSize方法的典型用法代码示例。如果您正苦于以下问题:Java PaginationInfo.setPageSize方法的具体用法?Java PaginationInfo.setPageSize怎么用?Java PaginationInfo.setPageSize使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类egovframework.rte.ptl.mvc.tags.ui.pagination.PaginationInfo
的用法示例。
在下文中一共展示了PaginationInfo.setPageSize方法的2个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。
示例1: fillPageInfo
import egovframework.rte.ptl.mvc.tags.ui.pagination.PaginationInfo; //导入方法依赖的package包/类
public void fillPageInfo(PaginationInfo paginationInfo) {
paginationInfo.setCurrentPageNo(this.pageIndex);
paginationInfo.setRecordCountPerPage(this.recordPerPage);
paginationInfo.setPageSize(this.pageSize);
this.firstIndex = paginationInfo.getFirstRecordIndex();
this.lastIndex = paginationInfo.getLastRecordIndex();
}
示例2: selectIndvdlpgeResult
import egovframework.rte.ptl.mvc.tags.ui.pagination.PaginationInfo; //导入方法依赖的package包/类
/**
* 사용자가 마이페이지를 조회한다.
*
* @param indvdlPgeConfVO
*/
@RequestMapping(value="/uss/mpe/selectIndvdlpgeResult.mdo")
@Secured("ROLE_USER")
public String selectIndvdlpgeResult(
@ModelAttribute IndvdlPgeConfVO indvdlPgeConfVO,
ModelMap model) {
/** paging */
PaginationInfo paginationInfo = new PaginationInfo();
paginationInfo.setCurrentPageNo(indvdlPgeConfVO.getSearchVO().getPageIndex());
paginationInfo.setRecordCountPerPage(10);
paginationInfo.setPageSize(1);
indvdlPgeConfVO.getSearchVO().setFirstIndex(paginationInfo.getFirstRecordIndex());
indvdlPgeConfVO.getSearchVO().setLastIndex(paginationInfo.getLastRecordIndex());
indvdlPgeConfVO.getSearchVO().setRecordPerPage(paginationInfo.getRecordCountPerPage());
LoginVO loginVO = (LoginVO)UserDetailsHelper.getAuthenticatedUser();
indvdlPgeConfVO.setUserId(loginVO.getId());
// 마이페이지 상세목록설정
model.addAttribute("indvdlPgeDetailList", indvdlPgeService.selectIndvdlpgeResultDetail(indvdlPgeConfVO));
// 마이페이지 상세목록 카운트 설정
int totDetailCnt = indvdlPgeService.selectIndvdlpgeResultDetailCnt(indvdlPgeConfVO);
model.addAttribute("indvdlPgeDetailListCount", totDetailCnt);
paginationInfo.setTotalRecordCount(totDetailCnt);
model.addAttribute("paginationInfo", paginationInfo);
return "aramframework/mbl/uss/mpe/IndvdlpgeDetail";
}