Class SpringPageHelper

  • All Implemented Interfaces:

    
    public class SpringPageHelper
    
                        
    Since:

    2020-12-25

    Author:

    trydofor

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      static PageRequest from(@NotNull() PageQuery pq)
      static Sort from(String sort)
      static PageQuery into(@NotNull() Pageable pageable)
      static String into(Sort sort)
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • SpringPageHelper

        SpringPageHelper()
    • Method Detail

      • from

        @NotNull() static PageRequest from(@NotNull() PageQuery pq)
      • into

        @NotNull() static PageQuery into(@NotNull() Pageable pageable)