com.smartgwt.client.ai

## Class BuildDataBoundUIViaAIRequest

- 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.BuildUIViaAIRequest
            - - com.smartgwt.client.ai.BuildDataBoundUIViaAIRequest

- All Implemented Interfaces:
    com.google.gwt.event.shared.HasHandlers

      public class BuildDataBoundUIViaAIRequest
      extends BuildUIViaAIRequest

  Represents a request to AI for data-bound UI elements.

- - ### Field Summary

    - ### Fields inherited from class com.smartgwt.client.core.RefDataClass

      `id`

    - ### Fields inherited from class com.smartgwt.client.core.DataClass

      `factoryCreated, factoryProperties`

    - ### Fields inherited from class com.smartgwt.client.core.JsObject

      `jsObj`

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `BuildDataBoundUIViaAIRequest()`
    `BuildDataBoundUIViaAIRequest(com.google.gwt.core.client.JavaScriptObject jsObj)`

  - ### Method Summary

    All Methods Static Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `java.lang.String[]` | `getAllowedUITypes()` The list of allowed, data-bound UI types.
    `java.lang.String[]` | `getAvailableDataSources()` Global IDs of the data sources made available to AI for satisfying the user's request.
    `static BuildDataBoundUIViaAIRequest` | `getOrCreateRef(com.google.gwt.core.client.JavaScriptObject jsObj)`
    `BuildDataBoundUIViaAIRequest` | `setAllowedUITypes(java.lang.String... allowedUITypes)` The list of allowed, data-bound UI types.
    `BuildDataBoundUIViaAIRequest` | `setAvailableDataSources(java.lang.String... availableDataSources)` Global IDs of the data sources made available to AI for satisfying the user's request.

    - ### Methods inherited from class com.smartgwt.client.ai.BuildUIViaAIRequest

      `getMaxValidationRetries, getUserAIRequest, getValidationTypes, setCustomValidator, setMaxValidationRetries, setUserAIRequest, setValidationTypes`

    - ### 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`

    - ### Methods inherited from class com.smartgwt.client.core.JsObject

      `equals, getJsObj, hashCode, isCreated, setJavaScriptObject, setJsObj`

    - ### Methods inherited from class java.lang.Object

      `clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### BuildDataBoundUIViaAIRequest

          public BuildDataBoundUIViaAIRequest()

    - #### BuildDataBoundUIViaAIRequest

          public BuildDataBoundUIViaAIRequest(com.google.gwt.core.client.JavaScriptObject jsObj)

  - ### Method Detail

    - #### getOrCreateRef

          public static BuildDataBoundUIViaAIRequest getOrCreateRef(com.google.gwt.core.client.JavaScriptObject jsObj)

    - #### setAllowedUITypes

          public BuildDataBoundUIViaAIRequest setAllowedUITypes(java.lang.String... allowedUITypes)

      The list of allowed, data-bound UI types. The following types are supported by default:
      - "list" - A `ListGrid` displaying some data from a data source in a list or grid
      - "chart" - A `FacetChart` displaying some data from a data source as a chart
      - "value" - A `Label` displaying a single value (scalar) derived from the data in a data source
      Overrides:
        `setAllowedUITypes` in class `BuildUIViaAIRequest`
      Parameters:
        `allowedUITypes` - New allowedUITypes value. Default value is null
      Returns:
        `BuildDataBoundUIViaAIRequest` instance, for chaining setter calls

    - #### getAllowedUITypes

          public java.lang.String[] getAllowedUITypes()

      The list of allowed, data-bound UI types. The following types are supported by default:
      - "list" - A `ListGrid` displaying some data from a data source in a list or grid
      - "chart" - A `FacetChart` displaying some data from a data source as a chart
      - "value" - A `Label` displaying a single value (scalar) derived from the data in a data source
      Overrides:
        `getAllowedUITypes` in class `BuildUIViaAIRequest`
      Returns:
        Current allowedUITypes value. Default value is null

    - #### setAvailableDataSources

          public BuildDataBoundUIViaAIRequest setAvailableDataSources(java.lang.String... availableDataSources)

      Global IDs of the data sources made available to AI for satisfying the user's request. If not specified, then the data sources of the application will be considered the available data sources.
      Parameters:
        `availableDataSources` - New availableDataSources value. Default value is null
      Returns:
        `BuildDataBoundUIViaAIRequest` instance, for chaining setter calls
      See Also:
        `GlobalId`

    - #### getAvailableDataSources

          public java.lang.String[] getAvailableDataSources()

      Global IDs of the data sources made available to AI for satisfying the user's request. If not specified, then the data sources of the application will be considered the available data sources.
      Returns:
        Current availableDataSources value. Default value is null
      See Also:
        `GlobalId`