Package com.skava.accounts.util
Class SortUtil
java.lang.Object
com.skava.accounts.util.SortUtil
- All Implemented Interfaces:
Serializable
This class SortUtil consists of methods to build the sort parameter.
- Author:
- Infosys Equinox
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic org.springframework.data.domain.Sort
Gets the sortStr name from request.static org.springframework.data.domain.Sort
buildSortForAttribute
(String sortStr) Gets the sortStr name from request.
-
Constructor Details
-
SortUtil
public SortUtil()
-
-
Method Details
-
buildSort
Gets the sortStr name from request.- Parameters:
sortStr
- the sortStr- Returns:
- sort of type
Sort
-
buildSortForAttribute
Gets the sortStr name from request.- Parameters:
sortStr
- the sortStr- Returns:
- sort of type
Sort
-