Class CmsResourceTable.ItemContainer

java.lang.Object
com.vaadin.v7.data.util.AbstractContainer
com.vaadin.v7.data.util.AbstractInMemoryContainer<Object,Object,com.vaadin.v7.data.Item>
com.vaadin.v7.data.util.IndexedContainer
org.opencms.ui.components.CmsResourceTable.ItemContainer
All Implemented Interfaces:
com.vaadin.v7.data.Container, com.vaadin.v7.data.Container.Filterable, com.vaadin.v7.data.Container.Indexed, com.vaadin.v7.data.Container.ItemSetChangeNotifier, com.vaadin.v7.data.Container.Ordered, com.vaadin.v7.data.Container.PropertySetChangeNotifier, com.vaadin.v7.data.Container.SimpleFilterable, com.vaadin.v7.data.Container.Sortable, com.vaadin.v7.data.Property.ValueChangeNotifier, Serializable, Cloneable
Enclosing class:
CmsResourceTable

protected static class CmsResourceTable.ItemContainer extends com.vaadin.v7.data.util.IndexedContainer
Extending the indexed container to make the number of un-filtered items available.

See Also:
  • Nested Class Summary

    Nested classes/interfaces inherited from class com.vaadin.v7.data.util.IndexedContainer

    com.vaadin.v7.data.util.IndexedContainer.ItemSetChangeEvent

    Nested classes/interfaces inherited from class com.vaadin.v7.data.util.AbstractInMemoryContainer

    com.vaadin.v7.data.util.AbstractInMemoryContainer.BaseItemAddEvent, com.vaadin.v7.data.util.AbstractInMemoryContainer.BaseItemRemoveEvent

    Nested classes/interfaces inherited from class com.vaadin.v7.data.util.AbstractContainer

    com.vaadin.v7.data.util.AbstractContainer.BaseItemSetChangeEvent, com.vaadin.v7.data.util.AbstractContainer.BasePropertySetChangeEvent

    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.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

    Nested classes/interfaces inherited from interface com.vaadin.v7.data.Container.Indexed

    com.vaadin.v7.data.Container.Indexed.ItemAddEvent, com.vaadin.v7.data.Container.Indexed.ItemRemoveEvent
  • Constructor Summary

    Constructors
    Modifier
    Constructor
    Description
    protected
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected int
    Returns the number of items in the container, not considering any filters.
     

    Methods inherited from class com.vaadin.v7.data.util.IndexedContainer

    addContainerFilter, addContainerFilter, addContainerProperty, addItem, addItem, addItemAfter, addItemAfter, addItemAt, addItemAt, addListener, addListener, addPropertySetChangeListener, addValueChangeListener, clone, fireItemAdded, fireItemSetChange, getContainerFilters, getContainerProperty, getContainerPropertyIds, getItemSorter, getListeners, getType, getUnfilteredItem, hasContainerFilters, registerNewItem, removeAllContainerFilters, removeAllItems, removeContainerFilter, removeContainerFilters, removeContainerProperty, removeItem, removeListener, removeListener, removePropertySetChangeListener, removeValueChangeListener, setItemSorter, sort

    Methods inherited from class com.vaadin.v7.data.util.AbstractInMemoryContainer

    addFilter, addItemSetChangeListener, addListener, containsId, doFilterContainer, doSort, filterAll, fireItemRemoved, fireItemsAdded, fireItemsRemoved, firstItemId, getAllItemIds, getFilteredItemIds, getFilters, getFirstVisibleItem, getIdByIndex, getItem, getItemIds, getItemIds, getSortablePropertyIds, getVisibleItemIds, indexOfId, internalAddItemAfter, internalAddItemAt, internalAddItemAtEnd, internalRemoveAllItems, internalRemoveItem, isFiltered, isFirstId, isLastId, isPropertyFiltered, lastItemId, nextItemId, passesFilters, prevItemId, removeAllFilters, removeFilter, removeFilters, removeItemSetChangeListener, removeListener, setAllItemIds, setFilteredItemIds, setFilters, size, sortContainer

    Methods inherited from class com.vaadin.v7.data.util.AbstractContainer

    fireContainerPropertySetChange, fireContainerPropertySetChange, fireItemSetChange, getItemSetChangeListeners, getPropertySetChangeListeners, setItemSetChangeListeners, setPropertySetChangeListeners

    Methods inherited from class java.lang.Object

    equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface com.vaadin.v7.data.Container

    containsId, getItem, getItemIds, size

    Methods inherited from interface com.vaadin.v7.data.Container.Ordered

    firstItemId, isFirstId, isLastId, lastItemId, nextItemId, prevItemId
  • Constructor Details

  • Method Details

    • getSortableContainerPropertyIds

      Specified by:
      getSortableContainerPropertyIds in interface com.vaadin.v7.data.Container.Sortable
      Overrides:
      getSortableContainerPropertyIds in class com.vaadin.v7.data.util.IndexedContainer
      See Also:
      • IndexedContainer.getSortableContainerPropertyIds()
    • getItemCount

      protected int getItemCount()
      Returns the number of items in the container, not considering any filters.

      Returns:
      the number of items