Interface AggregationContainer

All Superinterfaces:
com.vaadin.v7.data.Container, Serializable
All Known Subinterfaces:
JmixEnhancedTable
All Known Implementing Classes:
AbstractTable.AggregatableSortableDataContainer, AbstractTable.AggregatableTableDataContainer, GroupTableImpl.AggregatableGroupTableDataContainer, GroupTableImpl.JmixGroupTableExt, JmixGroupTable, JmixTable, JmixTreeTable, NullGroupTableContainer, NullTreeTableContainer, TreeTableImpl.AggregatableTreeTableDataContainer

public interface AggregationContainer extends com.vaadin.v7.data.Container
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Interface
    Description
    static class 
     
    static enum 
     

    Nested classes/interfaces inherited from interface com.vaadin.v7.data.Container

    com.vaadin.v7.data.Container.Editor, com.vaadin.v7.data.Container.Filter, com.vaadin.v7.data.Container.Filterable, com.vaadin.v7.data.Container.Hierarchical, com.vaadin.v7.data.Container.Indexed, com.vaadin.v7.data.Container.ItemSetChangeEvent, com.vaadin.v7.data.Container.ItemSetChangeListener, com.vaadin.v7.data.Container.ItemSetChangeNotifier, com.vaadin.v7.data.Container.Ordered, com.vaadin.v7.data.Container.PropertySetChangeEvent, com.vaadin.v7.data.Container.PropertySetChangeListener, com.vaadin.v7.data.Container.PropertySetChangeNotifier, com.vaadin.v7.data.Container.SimpleFilterable, com.vaadin.v7.data.Container.Sortable, com.vaadin.v7.data.Container.Viewer
  • Method Summary

    Modifier and Type
    Method
    Description
    void
     
    Perform aggregation and return map with formatted string values.
    Perform aggregation and return map with aggregation info and aggregation column type, i.e.
     
    void
     

    Methods inherited from interface com.vaadin.v7.data.Container

    addContainerProperty, addItem, addItem, containsId, getContainerProperty, getContainerPropertyIds, getItem, getItemIds, getType, removeAllItems, removeContainerProperty, removeItem, size
  • Method Details

    • getAggregationPropertyIds

      Collection getAggregationPropertyIds()
    • addContainerPropertyAggregation

      void addContainerPropertyAggregation(Object propertyId, AggregationContainer.Type type)
    • removeContainerPropertyAggregation

      void removeContainerPropertyAggregation(Object propertyId)
    • aggregate

      Perform aggregation and return map with formatted string values.
      Parameters:
      context - aggregation context
      Returns:
      map with aggregation info and formatted string values
    • aggregateValues

      Map<Object,Object> aggregateValues(AggregationContainer.Context context)
      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.
      Parameters:
      context - aggregation context
      Returns:
      map with aggregation info and aggregation column type