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,NullContainer,Serializable
public class NullGroupTableContainer
extends com.vaadin.v7.data.util.ContainerOrderedWrapper
implements GroupTableContainer, AggregationContainer, NullContainer
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from interface io.jmix.ui.widget.data.AggregationContainer
AggregationContainer.Context, AggregationContainer.TypeNested 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
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddContainerPropertyAggregation(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.voidvoidvoidvoidCollection<?>getChildren(Object id) Collection<?>getGroupItemIds(Object itemId) intgetGroupItemsCount(Object itemId) Collection<?>getGroupProperty(Object itemId) getGroupPropertyValue(Object itemId) Collection<?>voidbooleanhasChildren(Object id) booleanbooleanisExpanded(Object id) booleanvoidremoveContainerPropertyAggregation(Object propertyId) voidCollection<?>voidMethods 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, updateOrderWrapperMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.vaadin.v7.data.Container
addContainerProperty, addItem, addItem, containsId, getContainerProperty, getContainerPropertyIds, getItem, getItemIds, getType, removeAllItems, removeContainerProperty, removeItem, sizeMethods 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:
groupByin interfaceGroupTableContainer
-
isGroup
- Specified by:
isGroupin interfaceGroupTableContainer
-
rootGroups
- Specified by:
rootGroupsin interfaceGroupTableContainer
-
hasChildren
- Specified by:
hasChildrenin interfaceGroupTableContainer
-
getChildren
- Specified by:
getChildrenin interfaceGroupTableContainer
-
hasGroups
public boolean hasGroups()- Specified by:
hasGroupsin interfaceGroupTableContainer
-
getGroupProperty
- Specified by:
getGroupPropertyin interfaceGroupTableContainer
-
getGroupPropertyValue
- Specified by:
getGroupPropertyValuein interfaceGroupTableContainer
-
getGroupItemIds
- Specified by:
getGroupItemIdsin interfaceGroupTableContainer
-
getGroupItemsCount
- Specified by:
getGroupItemsCountin interfaceGroupTableContainer
-
getGroupProperties
- Specified by:
getGroupPropertiesin interfaceGroupTableContainer
-
expand
- Specified by:
expandin interfaceGroupTableContainer
-
isExpanded
- Specified by:
isExpandedin interfaceGroupTableContainer
-
expandAll
public void expandAll()- Specified by:
expandAllin interfaceGroupTableContainer
-
collapseAll
public void collapseAll()- Specified by:
collapseAllin interfaceGroupTableContainer
-
collapse
- Specified by:
collapsein interfaceGroupTableContainer
-
getAggregationPropertyIds
- Specified by:
getAggregationPropertyIdsin interfaceAggregationContainer
-
addContainerPropertyAggregation
- Specified by:
addContainerPropertyAggregationin interfaceAggregationContainer
-
removeContainerPropertyAggregation
- Specified by:
removeContainerPropertyAggregationin interfaceAggregationContainer
-
aggregate
Description copied from interface:AggregationContainerPerform aggregation and return map with formatted string values.- Specified by:
aggregatein interfaceAggregationContainer- Parameters:
context- aggregation context- Returns:
- map with aggregation info and formatted string values
-
aggregateValues
Description copied from interface:AggregationContainerPerform 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:
aggregateValuesin interfaceAggregationContainer- Parameters:
context- aggregation context- Returns:
- map with aggregation info and aggregation column type
-
sort
- Specified by:
sortin interfacecom.vaadin.v7.data.Container.Sortable
-
getSortableContainerPropertyIds
- Specified by:
getSortableContainerPropertyIdsin interfacecom.vaadin.v7.data.Container.Sortable
-
resetSortOrder
public void resetSortOrder()- Specified by:
resetSortOrderin interfaceTableSortableContainer
-