public interface AggregationContainer
extends com.vaadin.v7.data.Container
Modifier and Type | Interface and Description |
---|---|
static class |
AggregationContainer.Context |
static class |
AggregationContainer.Type |
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
Modifier and Type | Method and Description |
---|---|
void |
addContainerPropertyAggregation(java.lang.Object propertyId,
AggregationContainer.Type type) |
java.util.Map<java.lang.Object,java.lang.Object> |
aggregate(AggregationContainer.Context context)
Perform aggregation and return map with formatted string values.
|
java.util.Map<java.lang.Object,java.lang.Object> |
aggregateValues(AggregationContainer.Context context)
Perform aggregation and return map with aggregation info and aggregation column type, i.e.
|
java.util.Collection |
getAggregationPropertyIds() |
void |
removeContainerPropertyAggregation(java.lang.Object propertyId) |
java.util.Collection getAggregationPropertyIds()
void addContainerPropertyAggregation(java.lang.Object propertyId, AggregationContainer.Type type)
void removeContainerPropertyAggregation(java.lang.Object propertyId)
java.util.Map<java.lang.Object,java.lang.Object> aggregate(AggregationContainer.Context context)
context
- aggregation contextjava.util.Map<java.lang.Object,java.lang.Object> aggregateValues(AggregationContainer.Context context)
context
- aggregation context