Class 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
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      org.springframework.data.domain.Pageable first()  
      long getOffset()  
      int getPageNumber()  
      int getPageSize()  
      org.springframework.data.domain.Sort getSort()  
      boolean hasPrevious()  
      org.springframework.data.domain.Pageable next()  
      SortedUnPagedRequest previous()  
      org.springframework.data.domain.Pageable previousOrFirst()  
      org.springframework.data.domain.Pageable withPage​(int pageNumber)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface org.springframework.data.domain.Pageable

        getSortOr, isPaged, isUnpaged, toOptional
    • Constructor Detail

      • SortedUnPagedRequest

        public SortedUnPagedRequest​(int page,
                                    int size)
      • SortedUnPagedRequest

        public SortedUnPagedRequest​(int page,
                                    int size,
                                    org.springframework.data.domain.Sort sort)
    • Method Detail

      • getPageNumber

        public int getPageNumber()
        Specified by:
        getPageNumber in interface org.springframework.data.domain.Pageable
      • getPageSize

        public int getPageSize()
        Specified by:
        getPageSize in interface org.springframework.data.domain.Pageable
      • getOffset

        public long getOffset()
        Specified by:
        getOffset in interface org.springframework.data.domain.Pageable
      • getSort

        public org.springframework.data.domain.Sort getSort()
        Specified by:
        getSort in interface org.springframework.data.domain.Pageable
      • next

        public org.springframework.data.domain.Pageable next()
        Specified by:
        next in interface org.springframework.data.domain.Pageable
      • previousOrFirst

        public org.springframework.data.domain.Pageable previousOrFirst()
        Specified by:
        previousOrFirst in interface org.springframework.data.domain.Pageable
      • first

        public org.springframework.data.domain.Pageable first()
        Specified by:
        first in interface org.springframework.data.domain.Pageable
      • withPage

        public org.springframework.data.domain.Pageable withPage​(int pageNumber)
        Specified by:
        withPage in interface org.springframework.data.domain.Pageable
      • hasPrevious

        public boolean hasPrevious()
        Specified by:
        hasPrevious in interface org.springframework.data.domain.Pageable