public class TasksDataProvider extends com.vaadin.data.provider.AbstractDataProvider<info.magnolia.task.Task,DataFilter>
AbstractDataProvider
implementation capable of serving Task
objects via TasksManager
.Constructor and Description |
---|
TasksDataProvider(info.magnolia.task.TasksManager tasksManager,
javax.inject.Provider<info.magnolia.context.Context> contextProvider,
TasksDataSourceDefinition tasksDataSourceDefinition) |
Modifier and Type | Method and Description |
---|---|
Stream<info.magnolia.task.Task> |
fetch(com.vaadin.data.provider.Query<info.magnolia.task.Task,DataFilter> query) |
boolean |
isInMemory() |
int |
size(com.vaadin.data.provider.Query<info.magnolia.task.Task,DataFilter> query) |
addDataProviderListener, addListener, fireEvent, refreshAll, refreshItem
public TasksDataProvider(info.magnolia.task.TasksManager tasksManager, javax.inject.Provider<info.magnolia.context.Context> contextProvider, TasksDataSourceDefinition tasksDataSourceDefinition)
public Stream<info.magnolia.task.Task> fetch(com.vaadin.data.provider.Query<info.magnolia.task.Task,DataFilter> query)
public boolean isInMemory()
public int size(com.vaadin.data.provider.Query<info.magnolia.task.Task,DataFilter> query)
Copyright © 2021 Magnolia International Ltd.. All rights reserved.