Class IssuesSortingService
java.lang.Object
org.qubership.atp.ram.services.sorting.IssuesSortingService
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionapplySorting(List<IssueResponse> responses, String columnType, org.springframework.data.domain.Sort.Direction sortDirection) Apply sorting by field to list of responses.
-
Constructor Details
-
IssuesSortingService
public IssuesSortingService()
-
-
Method Details
-
applySorting
public List<IssueResponse> applySorting(List<IssueResponse> responses, String columnType, org.springframework.data.domain.Sort.Direction sortDirection) Apply sorting by field to list of responses.- Parameters:
responses- list with issuescolumnType- field to sortsortDirection- direction to sort
-