Class JobDataProvider

  • All Implemented Interfaces:
    com.vaadin.flow.data.provider.ConfigurableFilterDataProvider<Jobs,​com.vaadin.flow.function.SerializablePredicate<Jobs>,​com.vaadin.flow.function.SerializablePredicate<Jobs>>, com.vaadin.flow.data.provider.DataProvider<Jobs,​com.vaadin.flow.function.SerializablePredicate<Jobs>>, com.vaadin.flow.data.provider.InMemoryDataProvider<Jobs>, Serializable

    public class JobDataProvider
    extends com.vaadin.flow.data.provider.ListDataProvider<Jobs>
    This class allows for filtering and "CRUD" operations for the "Dashboard" page of the application.
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor Description
      JobDataProvider()
      Constructor
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      Integer getId​(Jobs job)
      Get jobid based on job object
      • Methods inherited from class com.vaadin.flow.data.provider.ListDataProvider

        fetch, getFilter, getItems, getSortComparator, setFilter, setSortComparator, size
      • Methods inherited from class com.vaadin.flow.data.provider.AbstractDataProvider

        addDataProviderListener, addListener, fireEvent, refreshAll, refreshItem, refreshItem
      • Methods inherited from interface com.vaadin.flow.data.provider.DataProvider

        addDataProviderListener, refreshAll, refreshItem, refreshItem, withConfigurableFilter, withConfigurableFilter, withConvertedFilter
      • Methods inherited from interface com.vaadin.flow.data.provider.InMemoryDataProvider

        addFilter, addFilter, addFilterByValue, addSortComparator, addSortOrder, clearFilters, filteringBy, filteringBy, filteringByEquals, filteringByPrefix, filteringByPrefix, filteringBySubstring, filteringBySubstring, isInMemory, setFilter, setFilterByValue, setSortOrder
    • Constructor Detail

      • JobDataProvider

        public JobDataProvider()
        Constructor
    • Method Detail

      • getId

        public Integer getId​(Jobs job)
        Get jobid based on job object
        Parameters:
        job - object