类 PageRequest
- java.lang.Object
-
- net.sinodawn.framework.data.page.PageRequest
-
-
字段概要
-
从接口继承的字段 net.sinodawn.framework.data.page.Pageable
DEFAULT_FIRST_PAGE_NUMBER, DEFAULT_PAGE_SIZE
-
-
构造器概要
构造器 构造器 说明 PageRequest()
-
方法概要
所有方法 静态方法 实例方法 具体方法 修饰符和类型 方法 说明 Pageablefirst()String[]getCountProperties()StringgetFilterJson()longgetOffset()intgetPageNumber()intgetPageSize()org.springframework.data.domain.SortgetSort()String[]getSumProperties()booleanhasPrevious()<T> Tmap(Class<T> searchTermsClazz)Pageablenext()static PageRequestof(RestJsonWrapperBean wrapper)PageablepreviousOrFirst()voidsetCountProperties(String... countProperties)voidsetFilterJson(String filterJson)voidsetPageNumber(int pageNumber)voidsetPageSize(int pageSize)voidsetSort(org.springframework.data.domain.Sort sort)voidsetSumProperties(String... sumProperties)
-
-
-
方法详细资料
-
of
public static PageRequest of(RestJsonWrapperBean wrapper)
-
getPageNumber
public int getPageNumber()
- 指定者:
getPageNumber在接口中org.springframework.data.domain.Pageable
-
getPageSize
public int getPageSize()
- 指定者:
getPageSize在接口中org.springframework.data.domain.Pageable
-
getOffset
public long getOffset()
- 指定者:
getOffset在接口中org.springframework.data.domain.Pageable
-
next
public Pageable next()
- 指定者:
next在接口中org.springframework.data.domain.Pageable
-
previousOrFirst
public Pageable previousOrFirst()
- 指定者:
previousOrFirst在接口中org.springframework.data.domain.Pageable
-
first
public Pageable first()
- 指定者:
first在接口中org.springframework.data.domain.Pageable
-
getSort
public org.springframework.data.domain.Sort getSort()
- 指定者:
getSort在接口中org.springframework.data.domain.Pageable
-
hasPrevious
public boolean hasPrevious()
- 指定者:
hasPrevious在接口中org.springframework.data.domain.Pageable
-
setPageNumber
public void setPageNumber(int pageNumber)
- 指定者:
setPageNumber在接口中Pageable
-
setPageSize
public void setPageSize(int pageSize)
- 指定者:
setPageSize在接口中Pageable
-
setFilterJson
public void setFilterJson(String filterJson)
- 指定者:
setFilterJson在接口中Pageable
-
getFilterJson
public String getFilterJson()
- 指定者:
getFilterJson在接口中Pageable
-
setSumProperties
public void setSumProperties(String... sumProperties)
- 指定者:
setSumProperties在接口中Pageable
-
getSumProperties
public String[] getSumProperties()
- 指定者:
getSumProperties在接口中Pageable
-
getCountProperties
public String[] getCountProperties()
- 指定者:
getCountProperties在接口中Pageable
-
setCountProperties
public void setCountProperties(String... countProperties)
- 指定者:
setCountProperties在接口中Pageable
-
-