Package com.smartgwt.client.ai
Class ApplyAIFilterRequest
java.lang.Object
com.smartgwt.client.core.JsObject
com.smartgwt.client.core.DataClass
com.smartgwt.client.core.RefDataClass
com.smartgwt.client.util.AsyncOperationParams
com.smartgwt.client.ai.BuildViaAIRequest
com.smartgwt.client.ai.ApplyAIFilterRequest
- All Implemented Interfaces:
HasHandlers
Represents a request to AI to evaluate an "aiFilter"
AdvancedCriteria on a list of
records.-
Field Summary
Fields inherited from class com.smartgwt.client.core.RefDataClass
idFields inherited from class com.smartgwt.client.core.DataClass
factoryCreated, factoryProperties -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionThe "aiFilter"AdvancedCriteriato evaluate.static ApplyAIFilterRequestgetOrCreateRef(JavaScriptObject jsObj) Record[]The records to evaluate.Whether to show a progress dialog to inform the user about the processing of the evaluation.setAICriterion(AdvancedCriteria aiCriterion) The "aiFilter"AdvancedCriteriato evaluate.setRecords(Record... records) The records to evaluate.setShowProgressDialog(Boolean showProgressDialog) Whether to show a progress dialog to inform the user about the processing of the evaluation.Methods inherited from class com.smartgwt.client.ai.BuildViaAIRequest
getMaxRetries, getProgressDialogProperties, getUserAIRequest, getUserCanCancel, setMaxRetries, setProgressDialogProperties, setUserAIRequest, setUserCanCancelMethods inherited from class com.smartgwt.client.util.AsyncOperationParams
getCancellationController, setCancellationControllerMethods inherited from class com.smartgwt.client.core.RefDataClass
getRef, getRef, internalSetIDMethods 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
-
Constructor Details
-
ApplyAIFilterRequest
public ApplyAIFilterRequest() -
ApplyAIFilterRequest
-
-
Method Details
-
getOrCreateRef
-
setAICriterion
The "aiFilter"AdvancedCriteriato evaluate.- Parameters:
aiCriterion- New aiCriterion value. Default value is null- Returns:
ApplyAIFilterRequestinstance, for chaining setter calls
-
getAICriterion
The "aiFilter"AdvancedCriteriato evaluate.- Returns:
- Current aiCriterion value. Default value is null
-
setRecords
The records to evaluate.- Parameters:
records- New records value. Default value is null- Returns:
ApplyAIFilterRequestinstance, for chaining setter calls
-
getRecords
The records to evaluate.- Returns:
- Current records value. Default value is null
-
setShowProgressDialog
Whether to show a progress dialog to inform the user about the processing of the evaluation.The default value is
false.- Overrides:
setShowProgressDialogin classBuildViaAIRequest- Parameters:
showProgressDialog- New showProgressDialog value. Default value is false- Returns:
ApplyAIFilterRequestinstance, for chaining setter calls
-
getShowProgressDialog
Whether to show a progress dialog to inform the user about the processing of the evaluation.The default value is
false.- Overrides:
getShowProgressDialogin classBuildViaAIRequest- Returns:
- Current showProgressDialog value. Default value is false
-