Class SortedUnPagedRequest
- java.lang.Object
-
- com.wavemaker.runtime.data.dao.util.SortedUnPagedRequest
-
- All Implemented Interfaces:
org.springframework.data.domain.Pageable
public class SortedUnPagedRequest extends java.lang.Object implements org.springframework.data.domain.Pageable- Since:
- 16/5/18
-
-
Constructor Summary
Constructors Constructor Description SortedUnPagedRequest(int page, int size)SortedUnPagedRequest(int page, int size, org.springframework.data.domain.Sort sort)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.springframework.data.domain.Pageablefirst()longgetOffset()intgetPageNumber()intgetPageSize()org.springframework.data.domain.SortgetSort()booleanhasPrevious()org.springframework.data.domain.Pageablenext()SortedUnPagedRequestprevious()org.springframework.data.domain.PageablepreviousOrFirst()org.springframework.data.domain.PageablewithPage(int pageNumber)
-
-
-
Method Detail
-
getPageNumber
public int getPageNumber()
- Specified by:
getPageNumberin interfaceorg.springframework.data.domain.Pageable
-
getPageSize
public int getPageSize()
- Specified by:
getPageSizein interfaceorg.springframework.data.domain.Pageable
-
getOffset
public long getOffset()
- Specified by:
getOffsetin interfaceorg.springframework.data.domain.Pageable
-
getSort
public org.springframework.data.domain.Sort getSort()
- Specified by:
getSortin interfaceorg.springframework.data.domain.Pageable
-
next
public org.springframework.data.domain.Pageable next()
- Specified by:
nextin interfaceorg.springframework.data.domain.Pageable
-
previousOrFirst
public org.springframework.data.domain.Pageable previousOrFirst()
- Specified by:
previousOrFirstin interfaceorg.springframework.data.domain.Pageable
-
first
public org.springframework.data.domain.Pageable first()
- Specified by:
firstin interfaceorg.springframework.data.domain.Pageable
-
withPage
public org.springframework.data.domain.Pageable withPage(int pageNumber)
- Specified by:
withPagein interfaceorg.springframework.data.domain.Pageable
-
hasPrevious
public boolean hasPrevious()
- Specified by:
hasPreviousin interfaceorg.springframework.data.domain.Pageable
-
previous
public SortedUnPagedRequest previous()
-
-