JavaScript Extension Development API for Oracle Visual Builder Cloud Service - Classic Applications

Class: operation/js/api/Sorting.Criterion

Represents single Sorting criterion.

Single criterion consist of assigned Property and the order in which the result needs to be sorted (ascending/descending).

In the future, Application Builder is going to support multiple criteria.

Version:
  • 17.1.1
Source:

Methods

(static) Sorting.Criterion#getProperty() → {entity/js/api/Property}

stable API

Gets the Property assigned to this criterion.

Version:
  • 17.1.1
Source:
Returns:
Type
entity/js/api/Property

(static) Sorting.Criterion#isAscending() → {Boolean}

stable API

Checks whether this Sorting.Criterion is ascending.

Version:
  • 17.1.1
Source:
Returns:
  • true if this is ascending criterion, false otherwise
Type
Boolean

(static) Sorting.Criterion#isDescending() → {Boolean}

stable API

Checks whether this Sorting.Criterion is descending.

Version:
  • 17.1.1
Source:
Returns:
  • true if this is descending criterion, false otherwise
Type
Boolean