Package io.jmix.ui.widget.data.util
Class NullGroupTableContainer
java.lang.Object
com.vaadin.v7.data.util.ContainerOrderedWrapper
io.jmix.ui.widget.data.util.NullGroupTableContainer
- All Implemented Interfaces:
com.vaadin.v7.data.Container
,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
,GroupTableContainer
,TableSortableContainer
,Serializable
public class NullGroupTableContainer
extends com.vaadin.v7.data.util.ContainerOrderedWrapper
implements GroupTableContainer, AggregationContainer
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from interface io.jmix.ui.widget.data.AggregationContainer
AggregationContainer.Context, AggregationContainer.Type
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
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addContainerPropertyAggregation
(Object propertyId, AggregationContainer.Type type) aggregate
(AggregationContainer.Context context) Perform aggregation and return map with formatted string values.Perform aggregation and return map with aggregation info and aggregation column type, i.e.void
void
void
void
Collection<?>
getChildren
(Object id) Collection<?>
getGroupItemIds
(Object itemId) int
getGroupItemsCount
(Object itemId) Collection<?>
getGroupProperty
(Object itemId) getGroupPropertyValue
(Object itemId) Collection<?>
void
boolean
hasChildren
(Object id) boolean
boolean
isExpanded
(Object id) boolean
void
removeContainerPropertyAggregation
(Object propertyId) void
Collection<?>
void
Methods inherited from class com.vaadin.v7.data.util.ContainerOrderedWrapper
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
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.vaadin.v7.data.Container
addContainerProperty, addItem, addItem, containsId, getContainerProperty, getContainerPropertyIds, getItem, getItemIds, getType, removeAllItems, removeContainerProperty, removeItem, size
Methods inherited from interface com.vaadin.v7.data.Container.Ordered
addItemAfter, addItemAfter, firstItemId, isFirstId, isLastId, lastItemId, nextItemId, prevItemId
-
Field Details
-
ERROR_MESSAGE
- See Also:
-
-
Constructor Details
-
NullGroupTableContainer
public NullGroupTableContainer(com.vaadin.v7.data.Container groupTableContainer)
-
-
Method Details
-
groupBy
- Specified by:
groupBy
in interfaceGroupTableContainer
-
isGroup
- Specified by:
isGroup
in interfaceGroupTableContainer
-
rootGroups
- Specified by:
rootGroups
in interfaceGroupTableContainer
-
hasChildren
- Specified by:
hasChildren
in interfaceGroupTableContainer
-
getChildren
- Specified by:
getChildren
in interfaceGroupTableContainer
-
hasGroups
public boolean hasGroups()- Specified by:
hasGroups
in interfaceGroupTableContainer
-
getGroupProperty
- Specified by:
getGroupProperty
in interfaceGroupTableContainer
-
getGroupPropertyValue
- Specified by:
getGroupPropertyValue
in interfaceGroupTableContainer
-
getGroupItemIds
- Specified by:
getGroupItemIds
in interfaceGroupTableContainer
-
getGroupItemsCount
- Specified by:
getGroupItemsCount
in interfaceGroupTableContainer
-
getGroupProperties
- Specified by:
getGroupProperties
in interfaceGroupTableContainer
-
expand
- Specified by:
expand
in interfaceGroupTableContainer
-
isExpanded
- Specified by:
isExpanded
in interfaceGroupTableContainer
-
expandAll
public void expandAll()- Specified by:
expandAll
in interfaceGroupTableContainer
-
collapseAll
public void collapseAll()- Specified by:
collapseAll
in interfaceGroupTableContainer
-
collapse
- Specified by:
collapse
in interfaceGroupTableContainer
-
getAggregationPropertyIds
- Specified by:
getAggregationPropertyIds
in interfaceAggregationContainer
-
addContainerPropertyAggregation
- Specified by:
addContainerPropertyAggregation
in interfaceAggregationContainer
-
removeContainerPropertyAggregation
- Specified by:
removeContainerPropertyAggregation
in interfaceAggregationContainer
-
aggregate
Description copied from interface:AggregationContainer
Perform aggregation and return map with formatted string values.- Specified by:
aggregate
in interfaceAggregationContainer
- Parameters:
context
- aggregation context- Returns:
- map with aggregation info and formatted string values
-
aggregateValues
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 interfaceAggregationContainer
- Parameters:
context
- aggregation context- Returns:
- map with aggregation info and aggregation column type
-
sort
- Specified by:
sort
in interfacecom.vaadin.v7.data.Container.Sortable
-
getSortableContainerPropertyIds
- Specified by:
getSortableContainerPropertyIds
in interfacecom.vaadin.v7.data.Container.Sortable
-
resetSortOrder
public void resetSortOrder()- Specified by:
resetSortOrder
in interfaceTableSortableContainer
-