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.ViewerAggregationContainer.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, updateOrderWrapperclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitpublic 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 GroupTableContainerpublic boolean isGroup(java.lang.Object id)
isGroup in interface GroupTableContainerpublic java.util.Collection<?> rootGroups()
rootGroups in interface GroupTableContainerpublic boolean hasChildren(java.lang.Object id)
hasChildren in interface GroupTableContainerpublic java.util.Collection<?> getChildren(java.lang.Object id)
getChildren in interface GroupTableContainerpublic boolean hasGroups()
hasGroups in interface GroupTableContainerpublic java.lang.Object getGroupProperty(java.lang.Object itemId)
getGroupProperty in interface GroupTableContainerpublic java.lang.Object getGroupPropertyValue(java.lang.Object itemId)
getGroupPropertyValue in interface GroupTableContainerpublic java.util.Collection<?> getGroupItemIds(java.lang.Object itemId)
getGroupItemIds in interface GroupTableContainerpublic int getGroupItemsCount(java.lang.Object itemId)
getGroupItemsCount in interface GroupTableContainerpublic java.util.Collection<?> getGroupProperties()
getGroupProperties in interface GroupTableContainerpublic void expand(java.lang.Object id)
expand in interface GroupTableContainerpublic boolean isExpanded(java.lang.Object id)
isExpanded in interface GroupTableContainerpublic void expandAll()
expandAll in interface GroupTableContainerpublic void collapseAll()
collapseAll in interface GroupTableContainerpublic void collapse(java.lang.Object id)
collapse in interface GroupTableContainerpublic java.util.Collection getAggregationPropertyIds()
getAggregationPropertyIds in interface AggregationContainerpublic void addContainerPropertyAggregation(java.lang.Object propertyId,
AggregationContainer.Type type)
addContainerPropertyAggregation in interface AggregationContainerpublic void removeContainerPropertyAggregation(java.lang.Object propertyId)
removeContainerPropertyAggregation in interface AggregationContainerpublic java.util.Map<java.lang.Object,java.lang.Object> aggregate(AggregationContainer.Context context)
AggregationContaineraggregate in interface AggregationContainercontext - aggregation contextpublic java.util.Map<java.lang.Object,java.lang.Object> aggregateValues(AggregationContainer.Context context)
AggregationContaineraggregateValues in interface AggregationContainercontext - aggregation contextpublic void sort(java.lang.Object[] propertyId,
boolean[] ascending)
sort in interface com.vaadin.v7.data.Container.Sortablepublic java.util.Collection<?> getSortableContainerPropertyIds()
getSortableContainerPropertyIds in interface com.vaadin.v7.data.Container.Sortablepublic void resetSortOrder()
resetSortOrder in interface TableSortableContainer