com.smartgwt.client.ai

## Class ApplyAIFilterResponse

- java.lang.Object
- - com.smartgwt.client.core.JsObject
  - - com.smartgwt.client.core.DataClass
    - - com.smartgwt.client.core.RefDataClass
      - - com.smartgwt.client.util.AsyncOperationResult
        - - com.smartgwt.client.ai.BuildViaAIResponse
          - - com.smartgwt.client.ai.ApplyAIFilterResponse

- All Implemented Interfaces:
    com.google.gwt.event.shared.HasHandlers

      public class ApplyAIFilterResponse
      extends BuildViaAIResponse

  Represents the result of a request to evaluate an "aiFilter" `AdvancedCriteria` on a list of records.
  See Also:
    `AI.applyAIFilter(com.smartgwt.client.ai.ApplyAIFilterRequest, com.smartgwt.client.callbacks.ApplyAIFilterResponseCallback)`

- - ### Field Summary

    - ### Fields inherited from class com.smartgwt.client.core.RefDataClass

      `id`

    - ### Fields inherited from class com.smartgwt.client.core.DataClass

      `factoryCreated, factoryProperties`

    - ### Fields inherited from class com.smartgwt.client.core.JsObject

      `jsObj`

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `ApplyAIFilterResponse()`
    `ApplyAIFilterResponse(com.google.gwt.core.client.JavaScriptObject jsObj)`

  - ### Method Summary

    All Methods Static Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `Record[]` | `getMatchingRecords()` Of the `ApplyAIFilterRequest.records`, the records that match the `ApplyAIFilterRequest.aiCriterion`.
    `static ApplyAIFilterResponse` | `getOrCreateRef(com.google.gwt.core.client.JavaScriptObject jsObj)`
    `ApplyAIFilterResponse` | `setMatchingRecords(Record... matchingRecords)` Of the `ApplyAIFilterRequest.records`, the records that match the `ApplyAIFilterRequest.aiCriterion`.

    - ### Methods inherited from class com.smartgwt.client.util.AsyncOperationResult

      `getCancellationReason, getDisabledMessage, getErrorMessage, getType, setCancellationReason, setDisabledMessage, setErrorMessage, setType`

    - ### Methods inherited from class com.smartgwt.client.core.RefDataClass

      `getRef, getRef, internalSetID`

    - ### Methods inherited from class com.smartgwt.client.core.DataClass

      `applyFactoryProperties, doAddHandler, fireEvent, getAttribute, getAttributeAsBoolean, getAttributeAsBoolean, getAttributeAsDate, getAttributeAsDouble, getAttributeAsDoubleArray, getAttributeAsElement, getAttributeAsFloat, getAttributeAsInt, getAttributeAsIntArray, getAttributeAsJavaScriptObject, getAttributeAsLong, getAttributeAsMap, getAttributeAsObject, getAttributeAsRecord, getAttributeAsString, getAttributeAsStringArray, getAttributes, getHandlerCount, isFactoryCreated, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttributeAsJavaObject, setFactoryCreated`

    - ### Methods inherited from class com.smartgwt.client.core.JsObject

      `equals, getJsObj, hashCode, isCreated, setJavaScriptObject, setJsObj`

    - ### Methods inherited from class java.lang.Object

      `clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### ApplyAIFilterResponse

          public ApplyAIFilterResponse()

    - #### ApplyAIFilterResponse

          public ApplyAIFilterResponse(com.google.gwt.core.client.JavaScriptObject jsObj)

  - ### Method Detail

    - #### getOrCreateRef

          public static ApplyAIFilterResponse getOrCreateRef(com.google.gwt.core.client.JavaScriptObject jsObj)

    - #### setMatchingRecords

          public ApplyAIFilterResponse setMatchingRecords(Record... matchingRecords)

      Of the `ApplyAIFilterRequest.records`, the records that match the `ApplyAIFilterRequest.aiCriterion`.
      Parameters:
        `matchingRecords` - New matchingRecords value. Default value is null
      Returns:
        `ApplyAIFilterResponse` instance, for chaining setter calls

    - #### getMatchingRecords

          public Record[] getMatchingRecords()

      Of the `ApplyAIFilterRequest.records`, the records that match the `ApplyAIFilterRequest.aiCriterion`.
      Returns:
        Current matchingRecords value. Default value is null