Class ApplyAIFilterRequest

All Implemented Interfaces:
HasHandlers

public class ApplyAIFilterRequest extends BuildViaAIRequest
Represents a request to AI to evaluate an "aiFilter" AdvancedCriteria on a list of records.
See Also:
  • Constructor Details

    • ApplyAIFilterRequest

      public ApplyAIFilterRequest()
    • ApplyAIFilterRequest

      public ApplyAIFilterRequest(JavaScriptObject jsObj)
  • Method Details

    • getOrCreateRef

      public static ApplyAIFilterRequest getOrCreateRef(JavaScriptObject jsObj)
    • setAICriterion

      public ApplyAIFilterRequest setAICriterion(AdvancedCriteria aiCriterion)
      The "aiFilter" AdvancedCriteria to evaluate.
      Parameters:
      aiCriterion - New aiCriterion value. Default value is null
      Returns:
      ApplyAIFilterRequest instance, for chaining setter calls
    • getAICriterion

      public AdvancedCriteria getAICriterion()
      The "aiFilter" AdvancedCriteria to evaluate.
      Returns:
      Current aiCriterion value. Default value is null
    • setRecords

      public ApplyAIFilterRequest setRecords(Record... records)
      The records to evaluate.
      Parameters:
      records - New records value. Default value is null
      Returns:
      ApplyAIFilterRequest instance, for chaining setter calls
    • getRecords

      public Record[] getRecords()
      The records to evaluate.
      Returns:
      Current records value. Default value is null
    • setShowProgressDialog

      public ApplyAIFilterRequest setShowProgressDialog(Boolean showProgressDialog)
      Whether to show a progress dialog to inform the user about the processing of the evaluation.

      The default value is false.

      Overrides:
      setShowProgressDialog in class BuildViaAIRequest
      Parameters:
      showProgressDialog - New showProgressDialog value. Default value is false
      Returns:
      ApplyAIFilterRequest instance, for chaining setter calls
    • getShowProgressDialog

      public Boolean getShowProgressDialog()
      Whether to show a progress dialog to inform the user about the processing of the evaluation.

      The default value is false.

      Overrides:
      getShowProgressDialog in class BuildViaAIRequest
      Returns:
      Current showProgressDialog value. Default value is false