# Uses of Class
org.apache.tapestry5.grid.SortConstraint

Packages that use SortConstraint
Package
Description
org.apache.tapestry5.grid
Support classes for the `Grid` component, which presents tabular data in an (X)HTML table.
org.apache.tapestry5.hibernate.web
org.apache.tapestry5.internal.grid
[INTERNAL USE ONLY] support classes for the `Grid` component; API subject to change
org.apache.tapestry5.jpa
Provides support for simple CRUD applications built on top of Tapestry and JPA

- ## Uses of SortConstraint in org.apache.tapestry5.grid

  Methods in org.apache.tapestry5.grid that return types with arguments of type SortConstraint
  Modifier and Type
  Method
  Description
  `List<SortConstraint>`
  GridSortModel.`getSortConstraints()`
  Returns a list of sort constraints, identifying which columns are sorted, and how.
  Method parameters in org.apache.tapestry5.grid with type arguments of type SortConstraint
  Modifier and Type
  Method
  Description
  `void`
  GridDataSource.`prepare(int startIndex, int endIndex, List<SortConstraint> sortConstraints)`
  Invoked to allow the source to prepare to present values.

- ## Uses of SortConstraint in org.apache.tapestry5.hibernate.web

  Method parameters in org.apache.tapestry5.hibernate.web with type arguments of type SortConstraint
  Modifier and Type
  Method
  Description
  `void`
  HibernateGridDataSource.`prepare(int startIndex, int endIndex, List<SortConstraint> sortConstraints)`
  Prepares the results, performing a query (applying the sort results, and the provided start and end index).

- ## Uses of SortConstraint in org.apache.tapestry5.internal.grid

  Method parameters in org.apache.tapestry5.internal.grid with type arguments of type SortConstraint
  Modifier and Type
  Method
  Description
  `void`
  CollectionGridDataSource.`prepare(int startIndex, int endIndex, List<SortConstraint> sortConstraints)`
  `void`
  NullDataSource.`prepare(int startIndex, int endIndex, List<SortConstraint> sortConstraints)`

- ## Uses of SortConstraint in org.apache.tapestry5.jpa

  Method parameters in org.apache.tapestry5.jpa with type arguments of type SortConstraint
  Modifier and Type
  Method
  Description
  `void`
  JpaGridDataSource.`prepare(int startIndex, int endIndex, List<SortConstraint> sortConstraints)`
  Invoked to allow the source to prepare to present values.