Class NullTreeTableContainer

java.lang.Object
com.vaadin.v7.data.util.ContainerHierarchicalWrapper
io.jmix.ui.widget.data.util.NullTreeTableContainer
All Implemented Interfaces:
com.vaadin.v7.data.Container, com.vaadin.v7.data.Container.Hierarchical, com.vaadin.v7.data.Container.ItemSetChangeNotifier, com.vaadin.v7.data.Container.Ordered, com.vaadin.v7.data.Container.PropertySetChangeNotifier, com.vaadin.v7.data.Container.Sortable, AggregationContainer, TableSortableContainer, TreeTableContainer, Serializable

public class NullTreeTableContainer extends com.vaadin.v7.data.util.ContainerHierarchicalWrapper implements TreeTableContainer, AggregationContainer, com.vaadin.v7.data.Container.Ordered
See Also:
  • Field Details

  • Constructor Details

    • NullTreeTableContainer

      public NullTreeTableContainer(com.vaadin.v7.data.Container toBeWrapped)
  • Method Details

    • updateHierarchicalWrapper

      public void updateHierarchicalWrapper()
      Overrides:
      updateHierarchicalWrapper in class com.vaadin.v7.data.util.ContainerHierarchicalWrapper
    • addToHierarchyWrapper

      protected void addToHierarchyWrapper(Object itemId)
      Overrides:
      addToHierarchyWrapper in class com.vaadin.v7.data.util.ContainerHierarchicalWrapper
    • removeFromHierarchyWrapper

      protected void removeFromHierarchyWrapper(Object itemId)
      Overrides:
      removeFromHierarchyWrapper in class com.vaadin.v7.data.util.ContainerHierarchicalWrapper
    • setParent

      public boolean setParent(Object itemId, Object newParentId)
      Specified by:
      setParent in interface com.vaadin.v7.data.Container.Hierarchical
      Overrides:
      setParent in class com.vaadin.v7.data.util.ContainerHierarchicalWrapper
    • size

      public int size()
      Specified by:
      size in interface com.vaadin.v7.data.Container
      Overrides:
      size in class com.vaadin.v7.data.util.ContainerHierarchicalWrapper
    • nextItemId

      @Nullable public Object nextItemId(Object itemId)
      Specified by:
      nextItemId in interface com.vaadin.v7.data.Container.Ordered
    • prevItemId

      @Nullable public Object prevItemId(Object itemId)
      Specified by:
      prevItemId in interface com.vaadin.v7.data.Container.Ordered
    • firstItemId

      @Nullable public Object firstItemId()
      Specified by:
      firstItemId in interface com.vaadin.v7.data.Container.Ordered
    • lastItemId

      @Nullable public Object lastItemId()
      Specified by:
      lastItemId in interface com.vaadin.v7.data.Container.Ordered
    • isFirstId

      public boolean isFirstId(Object itemId)
      Specified by:
      isFirstId in interface com.vaadin.v7.data.Container.Ordered
    • isLastId

      public boolean isLastId(Object itemId)
      Specified by:
      isLastId in interface com.vaadin.v7.data.Container.Ordered
    • addItemAfter

      public Object addItemAfter(Object previousItemId) throws UnsupportedOperationException
      Specified by:
      addItemAfter in interface com.vaadin.v7.data.Container.Ordered
      Throws:
      UnsupportedOperationException
    • addItemAfter

      public com.vaadin.v7.data.Item addItemAfter(Object previousItemId, Object newItemId) throws UnsupportedOperationException
      Specified by:
      addItemAfter in interface com.vaadin.v7.data.Container.Ordered
      Throws:
      UnsupportedOperationException
    • getLevel

      public int getLevel(Object itemId)
      Specified by:
      getLevel in interface TreeTableContainer
    • isExpanded

      public boolean isExpanded(@Nullable Object itemId)
    • setExpanded

      public boolean setExpanded(@Nullable Object itemId)
    • expandAll

      public void expandAll()
    • expandAll

      protected void expandAll(Collection itemIds)
    • collapseAll

      public void collapseAll()
    • getInlineChildren

      @Nullable protected LinkedList<Object> getInlineChildren(Object itemId)
    • sort

      public void sort(Object[] propertyId, boolean[] ascending)
      Specified by:
      sort in interface com.vaadin.v7.data.Container.Sortable
    • getSortableContainerPropertyIds

      public Collection getSortableContainerPropertyIds()
      Specified by:
      getSortableContainerPropertyIds in interface com.vaadin.v7.data.Container.Sortable
    • getAggregationPropertyIds

      public Collection getAggregationPropertyIds()
      Specified by:
      getAggregationPropertyIds in interface AggregationContainer
    • addContainerPropertyAggregation

      public void addContainerPropertyAggregation(Object propertyId, AggregationContainer.Type type)
      Specified by:
      addContainerPropertyAggregation in interface AggregationContainer
    • removeContainerPropertyAggregation

      public void removeContainerPropertyAggregation(Object propertyId)
      Specified by:
      removeContainerPropertyAggregation in interface AggregationContainer
    • aggregate

      public Map<Object,Object> aggregate(AggregationContainer.Context context)
      Description copied from interface: AggregationContainer
      Perform aggregation and return map with formatted string values.
      Specified by:
      aggregate in interface AggregationContainer
      Parameters:
      context - aggregation context
      Returns:
      map with aggregation info and formatted string values
    • aggregateValues

      public Map<Object,Object> aggregateValues(AggregationContainer.Context context)
      Description copied from interface: AggregationContainer
      Perform aggregation and return map with aggregation info and aggregation column type, i.e. if aggregation was performed for Long type column it will return pair: AggregationInfo - Long.
      Specified by:
      aggregateValues in interface AggregationContainer
      Parameters:
      context - aggregation context
      Returns:
      map with aggregation info and aggregation column type
    • resetSortOrder

      public void resetSortOrder()
      Specified by:
      resetSortOrder in interface TableSortableContainer