Object SpringJpaUtils

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Constructor Summary

      Constructors 
      Constructor Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      final static Pageable defaultSort(Pageable pageable, Sort.Direction direction, String properties)
      • Methods inherited from class java.lang.Object

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

    • Method Detail

      • defaultSort

         final static Pageable defaultSort(Pageable pageable, Sort.Direction direction, String properties)
        Parameters:
        pageable - 原始分页排序
        direction - 方向
        properties - 默认排序字段
        Returns:

        应用了默认排序的 pageable ;如果传入值已明示了排序则不会任何改变