Class SortUtil

java.lang.Object
com.skava.accounts.util.SortUtil
All Implemented Interfaces:
Serializable

public class SortUtil extends Object implements Serializable
This class SortUtil consists of methods to build the sort parameter.
Author:
Infosys Equinox
See Also:
  • Constructor Details

    • SortUtil

      public SortUtil()
  • Method Details

    • buildSort

      public static org.springframework.data.domain.Sort buildSort(String sortStr)
      Gets the sortStr name from request.
      Parameters:
      sortStr - the sortStr
      Returns:
      sort of type Sort
    • buildSortForAttribute

      public static org.springframework.data.domain.Sort buildSortForAttribute(String sortStr)
      Gets the sortStr name from request.
      Parameters:
      sortStr - the sortStr
      Returns:
      sort of type Sort