Class SelectorsUtils


  • public class SelectorsUtils
    extends Object
    Set of methods to use in selectors.
    Author:
    Johny Andres Ortega Ruiz <johny.ortega@kuwaiba.org>
    • Constructor Detail

      • SelectorsUtils

        public SelectorsUtils()
    • Method Detail

      • getFilterDataProvider

        public static com.vaadin.flow.data.provider.DataProvider<BusinessObjectLight,​String> getFilterDataProvider​(BusinessObjectLight parent,
                                                                                                                         FilterDefinition filterDefinition,
                                                                                                                         TranslationService ts)
        Gets a combo box data provider of business objects filtered by the business object name.
        Parameters:
        parent - The business object to apply the filter.
        filterDefinition - Filter Definition. See Filter Definition Manager.
        ts - Translation Service.
        Returns:
        The combo box data provider.