public class NotificationListPresenter extends ListPresenter<Message>
NotificationListView
.componentProvider, dataProvider, definition, grid
Constructor and Description |
---|
NotificationListPresenter(info.magnolia.context.Context context,
GridViewDefinition<Message> viewDefinition,
info.magnolia.objectfactory.ComponentProvider componentProvider,
ActionExecutionService actionExecutionService,
NotificationDataSourceDefinition dataSourceDefinition,
MessagesManager messagesManager) |
Modifier and Type | Method and Description |
---|---|
protected FilterableListDataProvider<Message> |
createDataProvider() |
protected com.vaadin.data.PropertySet<Message> |
createPropertySet() |
void |
destroy()
Perform arbitrary clean-up logic upon component destruction
by the framework.
|
boolean |
isItemAvailable(Message item) |
dataProvider
createGrid, grid, isPropertyEditable, propertySet
@Inject public NotificationListPresenter(info.magnolia.context.Context context, GridViewDefinition<Message> viewDefinition, info.magnolia.objectfactory.ComponentProvider componentProvider, ActionExecutionService actionExecutionService, NotificationDataSourceDefinition dataSourceDefinition, MessagesManager messagesManager)
protected FilterableListDataProvider<Message> createDataProvider()
createDataProvider
in class ListPresenter<Message>
protected com.vaadin.data.PropertySet<Message> createPropertySet()
createPropertySet
in class GridViewPresenter<Message>
public boolean isItemAvailable(Message item)
isItemAvailable
in class GridViewPresenter<Message>
public void destroy()
Destructible
Note that Destructible.destroy()
method may be called outside of UI thread, e.g.
when the whole instance of admincentral gets disposed as result of heartbeat
checks. This means that neither Magnolia, nor Vaadin thread locals will be reliably
present upon that method invocation.
Copyright © 2019 Magnolia International Ltd.. All rights reserved.