public class JcrListPresenter extends ListPresenter<javax.jcr.Node>
ListPresenter
.componentProvider, dataProvider, definition, grid
Constructor and Description |
---|
JcrListPresenter(JcrSessionManager sessionManager,
JcrDatasourceDefinition datasourceDefinition,
GridViewDefinition<javax.jcr.Node> definition,
info.magnolia.objectfactory.ComponentProvider componentProvider,
ActionExecutionService actionExecutionService,
JcrObservation jcrObservation) |
Modifier and Type | Method and Description |
---|---|
FilterableListDataProvider<javax.jcr.Node> |
createDataProvider() |
protected com.vaadin.data.PropertySet<javax.jcr.Node> |
createPropertySet() |
void |
destroy()
Perform arbitrary clean-up logic upon component destruction
by the framework.
|
boolean |
isItemAvailable(javax.jcr.Node item) |
dataProvider
createGrid, grid, isPropertyEditable, propertySet
@Inject public JcrListPresenter(JcrSessionManager sessionManager, JcrDatasourceDefinition datasourceDefinition, GridViewDefinition<javax.jcr.Node> definition, info.magnolia.objectfactory.ComponentProvider componentProvider, ActionExecutionService actionExecutionService, JcrObservation jcrObservation)
public FilterableListDataProvider<javax.jcr.Node> createDataProvider()
createDataProvider
in class ListPresenter<javax.jcr.Node>
protected com.vaadin.data.PropertySet<javax.jcr.Node> createPropertySet()
createPropertySet
in class GridViewPresenter<javax.jcr.Node>
public boolean isItemAvailable(javax.jcr.Node item)
isItemAvailable
in class GridViewPresenter<javax.jcr.Node>
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.