Interface: AttributeFilterOperator

Oracle® JavaScript Extension Toolkit (JET)
5.0.0

E90577-01

QuickNav

Fields

PREVIEW: This is a preview API. Preview APIs are production quality, but can be changed on a major version without a deprecation path.

AttributeFilterOperator extends oj.FilterOperator

Version:
  • 5.0.0
Since:
  • 5.0.0
Module:
  • ojdataprovider
The interface for oj.AttributeFilterOperator
Since:
  • 5.0.0

Fields

(static) AttributeOperator :string

PREVIEW: This is a preview API. Preview APIs are production quality, but can be changed on a major version without a deprecation path.

oj.AttributeOperator enum

The operators are based on the filtering spec of the RFC 7644 SCIM protocol:
SCIM Filtering

Properties:
Name Type Description
$co string The entire operator value must be a substring of the attribute value for a match.
$eq string The attribute and operator values must be identical for a match.
$ew string The entire operator value must be a substring of the attribute value matching at the end of the attribute value. This criterion is satisfied if the two strings are identical.
$pr string If the attribute has a non-empty or non-null value, or if it contains a non-empty node for complex attributes, there is a match.
$gt string If the attribute value is greater than the operator value, there is a match.
$ge string If the attribute value is greater than or equal to the operator value, there is a match.
$lt string If the attribute value is less than the operator value, there is a match.
$le string If the attribute value is less than or equal to the operator value, there is a match.
$ne string The attribute and operator values are not identical.
$regex string If the attribute value satisfies the regular expression, there is a match.
$sw string The entire operator value must be a substring of the attribute value, starting at the beginning of the attribute value. This criterion is satisfied if the two strings are identical.
Since:
  • 5.0.0

attribute :string

PREVIEW: This is a preview API. Preview APIs are production quality, but can be changed on a major version without a deprecation path.

Attribute
Since:
  • 5.0.0

op :oj.AttributeFilterOperator.AttributeOperator

PREVIEW: This is a preview API. Preview APIs are production quality, but can be changed on a major version without a deprecation path.

Operator one of enum oj.AttributeOperator {$co, $eq, $ew, $pr, $gt, $ge, $lt, $le, $ne, $regex, $sw}
Since:
  • 5.0.0

value :any

PREVIEW: This is a preview API. Preview APIs are production quality, but can be changed on a major version without a deprecation path.

Value
Since:
  • 5.0.0

Methods

filter(data) → {Array}

PREVIEW: This is a preview API. Preview APIs are production quality, but can be changed on a major version without a deprecation path.

Optional function which is used to locally filter the data.
Parameters:
Name Type Description
data Array The data to filter
Since:
  • 5.0.0
Inherited From:
Returns:
filtered data
Type
Array