Class IssuesSortingService

java.lang.Object
org.qubership.atp.ram.services.sorting.IssuesSortingService

@Service public class IssuesSortingService extends Object
  • 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 issues
      columnType - field to sort
      sortDirection - direction to sort