com.holonplatform.vaadin.data

## Interface ItemDataSource.PropertySortGenerator<PROPERTY>

- All Superinterfaces:
    Serializable
  Enclosing interface:
    ItemDataSource<ITEM,PROPERTY>
  Functional Interface:
    This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

      @FunctionalInterface
      public static interface ItemDataSource.PropertySortGenerator<PROPERTY>
      extends Serializable

  `QuerySort` generator to provide query sorts for an item property.

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `com.holonplatform.core.query.QuerySort` | `getQuerySort(PROPERTY property, boolean ascending)` Get the `QuerySort` to use for given `property` with specified sort direction.

- - ### Method Detail

    - #### getQuerySort

          com.holonplatform.core.query.QuerySort getQuerySort(PROPERTY property,
                                                              boolean ascending)

      Get the `QuerySort` to use for given `property` with specified sort direction.
      Parameters:
        `property` - Property to sort
        `ascending` - Sort direction
      Returns:
        QuerySort

Copyright © 2017 The Holon Platform. All rights reserved.