Interface ComponentDataConfiguration.Builder

  • Method Details

    • model

      The name of the data model to use to bind data to a component.

      Parameters:
      model - The name of the data model to use to bind data to a component.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • sort

      Describes how to sort the component's properties.

      Parameters:
      sort - Describes how to sort the component's properties.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • sort

      Describes how to sort the component's properties.

      Parameters:
      sort - Describes how to sort the component's properties.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • sort

      Describes how to sort the component's properties.

      This is a convenience method that creates an instance of the SortProperty.Builder avoiding the need to create one manually via SortProperty.builder() .

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to sort(List<SortProperty>).

      Parameters:
      sort - a consumer that will call methods on SortProperty.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • predicate

      Represents the conditional logic to use when binding data to a component. Use this property to retrieve only a subset of the data in a collection.

      Parameters:
      predicate - Represents the conditional logic to use when binding data to a component. Use this property to retrieve only a subset of the data in a collection.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • predicate

      Represents the conditional logic to use when binding data to a component. Use this property to retrieve only a subset of the data in a collection.

      This is a convenience method that creates an instance of the Predicate.Builder avoiding the need to create one manually via Predicate.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to predicate(Predicate).

      Parameters:
      predicate - a consumer that will call methods on Predicate.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • identifiers

      A list of IDs to use to bind data to a component. Use this property to bind specifically chosen data, rather than data retrieved from a query.

      Parameters:
      identifiers - A list of IDs to use to bind data to a component. Use this property to bind specifically chosen data, rather than data retrieved from a query.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • identifiers

      ComponentDataConfiguration.Builder identifiers(String... identifiers)

      A list of IDs to use to bind data to a component. Use this property to bind specifically chosen data, rather than data retrieved from a query.

      Parameters:
      identifiers - A list of IDs to use to bind data to a component. Use this property to bind specifically chosen data, rather than data retrieved from a query.
      Returns:
      Returns a reference to this object so that method calls can be chained together.