Package com.smartgwt.client.ai
Class SuggestRecordSummaryTitleRequest
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.util.AsyncDataBoundOperationParams
com.smartgwt.client.ai.DataBoundAIRequest
com.smartgwt.client.ai.SuggestRecordSummaryTitleRequest
- All Implemented Interfaces:
HasHandlers
Represents a request to AI to suggest an appropriate title for a new field that will contain AI-generated record
summaries.
-
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
ConstructorDescription -
Method Summary
Modifier and TypeMethodDescriptionThe source of theaiRequest
.getOrCreateRef
(JavaScriptObject jsObj) String[]
The list of field names that are considered visible.setAIRequest
(SingleSourceAIRequest aiRequest) setAIRequestSource
(AIMessageSource aiRequestSource) The source of theaiRequest
.setVisibleFieldNames
(String... visibleFieldNames) The list of field names that are considered visible.Methods inherited from class com.smartgwt.client.ai.DataBoundAIRequest
getExcludeFieldNames, getMaxRetries, setExcludeFieldNames, setMaxRetries
Methods inherited from class com.smartgwt.client.util.AsyncDataBoundOperationParams
getComponent, getDataSource, setComponent, setDataSource
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
-
SuggestRecordSummaryTitleRequest
public SuggestRecordSummaryTitleRequest() -
SuggestRecordSummaryTitleRequest
-
-
Method Details
-
getOrCreateRef
-
setAIRequest
- Parameters:
aiRequest
- New aiRequest value. Default value is null- Returns:
SuggestRecordSummaryTitleRequest
instance, for chaining setter calls
-
getAIRequest
- Returns:
- Current aiRequest value. Default value is null
-
setAIRequestSource
The source of theaiRequest
.- Parameters:
aiRequestSource
- New aiRequestSource value. Default value is null- Returns:
SuggestRecordSummaryTitleRequest
instance, for chaining setter calls
-
getAIRequestSource
The source of theaiRequest
.- Returns:
- Current aiRequestSource value. Default value is null
-
setVisibleFieldNames
The list of field names that are considered visible.By default:
- If a
component
is set, then its visible fields will be used. - The fields of the
dataSource
which do not haveDataSourceField.canView
explicitly set tofalse
and additionally do not haveDataSourceField.hidden
explicitly set totrue
are considered the visible fields.
- Parameters:
visibleFieldNames
- New visibleFieldNames value. Default value is null- Returns:
SuggestRecordSummaryTitleRequest
instance, for chaining setter calls- See Also:
- If a
-
getVisibleFieldNames
The list of field names that are considered visible.By default:
- If a
component
is set, then its visible fields will be used. - The fields of the
dataSource
which do not haveDataSourceField.canView
explicitly set tofalse
and additionally do not haveDataSourceField.hidden
explicitly set totrue
are considered the visible fields.
- Returns:
- Current visibleFieldNames value. Default value is null
- See Also:
- If a
-