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
id
Fields inherited from class com.smartgwt.client.core.DataClass
factoryCreated, factoryProperties
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionThe "aiFilter"AdvancedCriteria
to evaluate.static ApplyAIFilterRequest
getOrCreateRef
(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"AdvancedCriteria
to 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, setUserCanCancel
Methods inherited from class com.smartgwt.client.util.AsyncOperationParams
getCancellationController, setCancellationController
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
-
Constructor Details
-
ApplyAIFilterRequest
public ApplyAIFilterRequest() -
ApplyAIFilterRequest
-
-
Method Details
-
getOrCreateRef
-
setAICriterion
The "aiFilter"AdvancedCriteria
to evaluate.- Parameters:
aiCriterion
- New aiCriterion value. Default value is null- Returns:
ApplyAIFilterRequest
instance, for chaining setter calls
-
getAICriterion
The "aiFilter"AdvancedCriteria
to evaluate.- Returns:
- Current aiCriterion value. Default value is null
-
setRecords
The records to evaluate.- Parameters:
records
- New records value. Default value is null- Returns:
ApplyAIFilterRequest
instance, 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:
setShowProgressDialog
in classBuildViaAIRequest
- Parameters:
showProgressDialog
- New showProgressDialog value. Default value is false- Returns:
ApplyAIFilterRequest
instance, 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:
getShowProgressDialog
in classBuildViaAIRequest
- Returns:
- Current showProgressDialog value. Default value is false
-