Package com.smartgwt.client.ai
Class BuildCriterionRequest
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.BuildCriterionRequest
- All Implemented Interfaces:
HasHandlers
- Direct Known Subclasses:
BuildHilitesRequest
Builds an
AdvancedCriteria
object from a UserAIRequest
containing a natural language description of a filter.-
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 TypeMethodDescriptionTheDataSource
on which the user's natural language description of a filter applies.getMode()
The AI service mode to use.static BuildCriterionRequest
getOrCreateRef
(JavaScriptObject jsObj) The natural language description of a filter.setDataSource
(DataSource dataSource) TheDataSource
on which the user's natural language description of a filter applies.setMode
(AIServiceMode mode) The AI service mode to use.setUserAIRequest
(UserAIRequest userAIRequest) The natural language description of a filter.Methods inherited from class com.smartgwt.client.ai.BuildViaAIRequest
getMaxRetries, getProgressDialogProperties, getShowProgressDialog, getUserCanCancel, setMaxRetries, setProgressDialogProperties, setShowProgressDialog, 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
-
BuildCriterionRequest
public BuildCriterionRequest() -
BuildCriterionRequest
-
-
Method Details
-
getOrCreateRef
-
setDataSource
TheDataSource
on which the user's natural language description of a filter applies.- Parameters:
dataSource
- New dataSource value. Default value is null- Returns:
BuildCriterionRequest
instance, for chaining setter calls
-
getDataSource
TheDataSource
on which the user's natural language description of a filter applies.- Returns:
- Current dataSource value. Default value is null
-
setMode
The AI service mode to use.- Parameters:
mode
- New mode value. Default value is "hybrid"- Returns:
BuildCriterionRequest
instance, for chaining setter calls
-
getMode
The AI service mode to use.- Returns:
- Current mode value. Default value is "hybrid"
-
setUserAIRequest
The natural language description of a filter.- Overrides:
setUserAIRequest
in classBuildViaAIRequest
- Parameters:
userAIRequest
- New userAIRequest value. Default value is null- Returns:
BuildCriterionRequest
instance, for chaining setter calls
-
getUserAIRequest
The natural language description of a filter.- Overrides:
getUserAIRequest
in classBuildViaAIRequest
- Returns:
- Current userAIRequest value. Default value is null
-