Uses of Record Class
cloud.opencode.base.web.page.PageRequest
Packages that use PageRequest
-
Uses of PageRequest in cloud.opencode.base.web
Methods in cloud.opencode.base.web that return PageRequestModifier and TypeMethodDescriptionstatic PageRequestOpenWeb.pageRequest(int page, int size) Create page request 创建分页请求static PageRequestOpenWeb.pageRequest(int page, int size, Sort sort) Create page request with sort 创建带排序的分页请求static PageRequestOpenWeb.pageRequest(int page, int size, String sortBy, String sortOrder) Create page request with sort 创建带排序的分页请求 -
Uses of PageRequest in cloud.opencode.base.web.page
Methods in cloud.opencode.base.web.page that return PageRequestModifier and TypeMethodDescriptionstatic PageRequestPageRequest.defaultRequest()Get default page request 获取默认分页请求PageRequest.first()Get first page request 获取第一页请求static PageRequestPageRequest.first(int size) Get first page request 获取第一页请求PageRequest.next()Get next page request 获取下一页请求static PageRequestPageRequest.of(int page, int size) Create page request 创建分页请求static PageRequestCreate page request with sort 创建带排序的分页请求static PageRequestCreate page request with sort string 创建带排序字符串的分页请求PageRequest.previous()Get previous page request 获取上一页请求With ascending sort 使用升序With descending sort 使用降序PageRequest.withPage(int newPage) With different page 使用不同的页码PageRequest.withSize(int newSize) With different size 使用不同的页大小With different sort 使用不同的排序Methods in cloud.opencode.base.web.page with parameters of type PageRequestModifier and TypeMethodDescriptionstatic PageInfoPageInfo.from(PageRequest request, long total) Create from page request 从分页请求创建static <T> PageResult<T> PageResult.of(List<T> items, long total, PageRequest request) Create page result from request 从请求创建分页结果