public class HierarchicalJcrDataProvider extends com.vaadin.data.provider.AbstractBackEndHierarchicalDataProvider<javax.jcr.Item,DataFilter<JcrDataProviderDefinition>> implements Destructible
Constructor and Description |
---|
HierarchicalJcrDataProvider(JcrDatasourceDefinition definition,
JcrDataSourceObservation observation,
javax.inject.Provider<info.magnolia.context.Context> contextProvider) |
Modifier and Type | Method and Description |
---|---|
void |
destroy() |
protected Stream<javax.jcr.Item> |
fetchChildrenFromBackEnd(com.vaadin.data.provider.HierarchicalQuery<javax.jcr.Item,DataFilter<JcrDataProviderDefinition>> query) |
int |
getChildCount(com.vaadin.data.provider.HierarchicalQuery<javax.jcr.Item,DataFilter<JcrDataProviderDefinition>> query) |
Object |
getId(javax.jcr.Item item) |
boolean |
hasChildren(javax.jcr.Item item) |
fetchChildren, isInMemory, setSortOrders
addDataProviderListener, addListener, fireEvent, refreshAll, refreshItem
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
public HierarchicalJcrDataProvider(JcrDatasourceDefinition definition, JcrDataSourceObservation observation, javax.inject.Provider<info.magnolia.context.Context> contextProvider)
public void destroy()
destroy
in interface Destructible
public Object getId(javax.jcr.Item item)
getId
in interface com.vaadin.data.provider.DataProvider<javax.jcr.Item,DataFilter<JcrDataProviderDefinition>>
public int getChildCount(com.vaadin.data.provider.HierarchicalQuery<javax.jcr.Item,DataFilter<JcrDataProviderDefinition>> query)
getChildCount
in interface com.vaadin.data.provider.HierarchicalDataProvider<javax.jcr.Item,DataFilter<JcrDataProviderDefinition>>
public boolean hasChildren(javax.jcr.Item item)
hasChildren
in interface com.vaadin.data.provider.HierarchicalDataProvider<javax.jcr.Item,DataFilter<JcrDataProviderDefinition>>
protected Stream<javax.jcr.Item> fetchChildrenFromBackEnd(com.vaadin.data.provider.HierarchicalQuery<javax.jcr.Item,DataFilter<JcrDataProviderDefinition>> query)
fetchChildrenFromBackEnd
in class com.vaadin.data.provider.AbstractBackEndHierarchicalDataProvider<javax.jcr.Item,DataFilter<JcrDataProviderDefinition>>
Copyright © 2018 Magnolia International Ltd.. All rights reserved.