Class ExporterSortHelper

java.lang.Object
io.jmix.gridexportui.exporter.ExporterSortHelper

@Deprecated(forRemoval=true, since="1.7") public class ExporterSortHelper extends Object
Deprecated, for removal: This API element is subject to removal in a future version.
as unused
Helper class for extracting sorting information from Jmix UI components. Provides methods to convert sorting information from Table.SortInfo and DataGrid.SortOrder to Sort.
  • Constructor Details

    • ExporterSortHelper

      public ExporterSortHelper()
      Deprecated, for removal: This API element is subject to removal in a future version.
  • Method Details

    • getSortOrder

      @Nullable public static Sort getSortOrder(@Nullable Table.SortInfo sortInfo)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Converts the sorting information from a Table.SortInfo object to a Sort object.
      Parameters:
      sortInfo - The sorting information from a Table component. Can be null.
      Returns:
      A Sort object representing the sorting information, or null if sortInfo is null.
    • getSortOrder

      @Nullable public static Sort getSortOrder(@Nullable List<DataGrid.SortOrder> sortOrders)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Converts the sorting information from a list of DataGrid.SortOrder objects to a Sort object.
      Parameters:
      sortOrders - The list of sorting information from a DataGrid component. Can be null.
      Returns:
      A Sort object representing the sorting information, or null if sortOrders is null.