Class Sort

    • Method Detail

      • by

        public static Sort by​(Object propertyId)
        Deprecated.
        Start building a Sort order by sorting a provided column in ascending order.
        Parameters:
        propertyId - a property id, corresponding to a data source property
        Returns:
        a sort object
      • by

        public static Sort by​(Object propertyId,
                              com.vaadin.shared.data.sort.SortDirection direction)
        Deprecated.
        Start building a Sort order by sorting a provided column.
        Parameters:
        propertyId - a property id, corresponding to a data source property
        direction - a sort direction value
        Returns:
        a sort object
      • then

        public Sort then​(Object propertyId)
        Deprecated.
        Continue building a Sort order. The provided property is sorted in ascending order if the previously added properties have been evaluated as equals.
        Parameters:
        propertyId - a property id, corresponding to a data source property
        Returns:
        a sort object
      • then

        public Sort then​(Object propertyId,
                         com.vaadin.shared.data.sort.SortDirection direction)
        Deprecated.
        Continue building a Sort order. The provided property is sorted in specified order if the previously added properties have been evaluated as equals.
        Parameters:
        propertyId - a property id, corresponding to a data source property
        direction - a sort direction value
        Returns:
        a sort object
      • build

        public List<SortOrder> build()
        Deprecated.
        Build a sort order list, ready to be passed to Grid.
        Returns:
        a sort order list.