Interface ComponentDataConfiguration.Builder

    • Method Detail

      • model

        ComponentDataConfiguration.Builder model​(String 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

        ComponentDataConfiguration.Builder sort​(Collection<SortProperty> 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

        ComponentDataConfiguration.Builder sort​(SortProperty... 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.
      • predicate

        ComponentDataConfiguration.Builder predicate​(Predicate 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.
      • identifiers

        ComponentDataConfiguration.Builder identifiers​(Collection<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.
      • 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.