public class NullGroupTableContainer extends com.vaadin.v7.data.util.ContainerOrderedWrapper implements GroupTableContainer, AggregationContainer
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
AggregationContainer.Context, AggregationContainer.Type
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
ERROR_MESSAGE |
Constructor and Description |
---|
NullGroupTableContainer(com.vaadin.v7.data.Container groupTableContainer) |
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.
|
void |
collapse(java.lang.Object id) |
void |
collapseAll() |
void |
expand(java.lang.Object id) |
void |
expandAll() |
java.util.Collection |
getAggregationPropertyIds() |
java.util.Collection<?> |
getChildren(java.lang.Object id) |
java.util.Collection<?> |
getGroupItemIds(java.lang.Object itemId) |
int |
getGroupItemsCount(java.lang.Object itemId) |
java.util.Collection<?> |
getGroupProperties() |
java.lang.Object |
getGroupProperty(java.lang.Object itemId) |
java.lang.Object |
getGroupPropertyValue(java.lang.Object itemId) |
java.util.Collection<?> |
getSortableContainerPropertyIds() |
void |
groupBy(java.lang.Object[] properties) |
boolean |
hasChildren(java.lang.Object id) |
boolean |
hasGroups() |
boolean |
isExpanded(java.lang.Object id) |
boolean |
isGroup(java.lang.Object id) |
void |
removeContainerPropertyAggregation(java.lang.Object propertyId) |
void |
resetSortOrder() |
java.util.Collection<?> |
rootGroups() |
void |
sort(java.lang.Object[] propertyId,
boolean[] ascending) |
addContainerProperty, addItem, addItem, addItemAfter, addItemAfter, addItemSetChangeListener, addListener, addListener, addPropertySetChangeListener, containsId, firstItemId, getContainerProperty, getContainerPropertyIds, getItem, getItemIds, getType, isFirstId, isLastId, isResetOnItemSetChange, lastItemId, nextItemId, prevItemId, removeAllItems, removeContainerProperty, removeItem, removeItemSetChangeListener, removeListener, removeListener, removePropertySetChangeListener, setResetOnItemSetChange, size, updateOrderWrapper
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
public static final java.lang.String ERROR_MESSAGE
public NullGroupTableContainer(com.vaadin.v7.data.Container groupTableContainer)
public void groupBy(java.lang.Object[] properties)
groupBy
in interface GroupTableContainer
public boolean isGroup(java.lang.Object id)
isGroup
in interface GroupTableContainer
public java.util.Collection<?> rootGroups()
rootGroups
in interface GroupTableContainer
public boolean hasChildren(java.lang.Object id)
hasChildren
in interface GroupTableContainer
public java.util.Collection<?> getChildren(java.lang.Object id)
getChildren
in interface GroupTableContainer
public boolean hasGroups()
hasGroups
in interface GroupTableContainer
public java.lang.Object getGroupProperty(java.lang.Object itemId)
getGroupProperty
in interface GroupTableContainer
public java.lang.Object getGroupPropertyValue(java.lang.Object itemId)
getGroupPropertyValue
in interface GroupTableContainer
public java.util.Collection<?> getGroupItemIds(java.lang.Object itemId)
getGroupItemIds
in interface GroupTableContainer
public int getGroupItemsCount(java.lang.Object itemId)
getGroupItemsCount
in interface GroupTableContainer
public java.util.Collection<?> getGroupProperties()
getGroupProperties
in interface GroupTableContainer
public void expand(java.lang.Object id)
expand
in interface GroupTableContainer
public boolean isExpanded(java.lang.Object id)
isExpanded
in interface GroupTableContainer
public void expandAll()
expandAll
in interface GroupTableContainer
public void collapseAll()
collapseAll
in interface GroupTableContainer
public void collapse(java.lang.Object id)
collapse
in interface GroupTableContainer
public java.util.Collection getAggregationPropertyIds()
getAggregationPropertyIds
in interface AggregationContainer
public void addContainerPropertyAggregation(java.lang.Object propertyId, AggregationContainer.Type type)
addContainerPropertyAggregation
in interface AggregationContainer
public void removeContainerPropertyAggregation(java.lang.Object propertyId)
removeContainerPropertyAggregation
in interface AggregationContainer
public java.util.Map<java.lang.Object,java.lang.Object> aggregate(AggregationContainer.Context context)
AggregationContainer
aggregate
in interface AggregationContainer
context
- aggregation contextpublic java.util.Map<java.lang.Object,java.lang.Object> aggregateValues(AggregationContainer.Context context)
AggregationContainer
aggregateValues
in interface AggregationContainer
context
- aggregation contextpublic void sort(java.lang.Object[] propertyId, boolean[] ascending)
sort
in interface com.vaadin.v7.data.Container.Sortable
public java.util.Collection<?> getSortableContainerPropertyIds()
getSortableContainerPropertyIds
in interface com.vaadin.v7.data.Container.Sortable
public void resetSortOrder()
resetSortOrder
in interface TableSortableContainer