Package com.orchestranetworks.schema

# Interface TableRefDisplayContext

All Superinterfaces:
  `SchemaNodeContext`

public interface TableRefDisplayContext extends SchemaNodeContext
Provides methods for setting up a `TableRefDisplay` in the context of its data model.

- ## Method Summary

  Modifier and Type
  Method
  Description
  `void`
  `setSortCriteria(RequestSortCriteria aSortCriteria)`
  Sets the default sort criteria.
  `void`
  `setSortCriteria(RequestSortCriteria aSortCriteria, Locale aLocale)`
  Defines how to sort the list to display when the end user uses the specified locale.

  ### Methods inherited from interface com.orchestranetworks.schema.SchemaNodeContext

  `addError, addError, addInfo, addMessage, addWarning, getSchemaNode`

- ## Method Details

  - ### setSortCriteria

    void setSortCriteria(RequestSortCriteria aSortCriteria)
    Sets the default sort criteria.
    See Also:
      - `setSortCriteria(RequestSortCriteria, Locale)`

  - ### setSortCriteria

    void setSortCriteria(RequestSortCriteria aSortCriteria, Locale aLocale)
    Defines how to sort the list to display when the end user uses the specified locale.

    If no sort criteria can be found for a current locale, the default criteria is used. If the default sort criteria is also unset (see method `setSortCriteria(RequestSortCriteria)`), the list is sorted by primary key.

    Note: The supported locales must be declared in `module.xml` (see Module Declaration).