com.hack23.cia.web.impl.ui.container.common
Class AbstractModelObjectContainer<ENTITY extends ModelObject>

Package class diagram package AbstractModelObjectContainer
java.lang.Object
  extended by com.vaadin.data.util.BeanItemContainer<ENTITY>
      extended by com.hack23.cia.web.impl.ui.container.common.AbstractModelObjectContainer<ENTITY>
Type Parameters:
ENTITY - the generic type
All Implemented Interfaces:
com.vaadin.data.Container, com.vaadin.data.Container.Filterable, com.vaadin.data.Container.Indexed, com.vaadin.data.Container.ItemSetChangeNotifier, com.vaadin.data.Container.Ordered, com.vaadin.data.Container.Sortable, com.vaadin.data.Property.ValueChangeListener, Serializable
Direct Known Subclasses:
AbstractAdminModelObjectContainer, AbstractGroupDataContainer, ParliamentContainer

public abstract class AbstractModelObjectContainer<ENTITY extends ModelObject>
extends com.vaadin.data.util.BeanItemContainer<ENTITY>
implements Serializable

The Class AbstractModelObjectContainer.

See Also:
Serialized Form

Nested Class Summary
Modifier and Type Interface and Description
 
Nested classes/interfaces inherited from interface com.vaadin.data.Container
com.vaadin.data.Container.Editor, com.vaadin.data.Container.Filterable, com.vaadin.data.Container.Hierarchical, com.vaadin.data.Container.Indexed, com.vaadin.data.Container.ItemSetChangeEvent, com.vaadin.data.Container.ItemSetChangeListener, com.vaadin.data.Container.ItemSetChangeNotifier, com.vaadin.data.Container.Ordered, com.vaadin.data.Container.PropertySetChangeEvent, com.vaadin.data.Container.PropertySetChangeListener, com.vaadin.data.Container.PropertySetChangeNotifier, com.vaadin.data.Container.Sortable, com.vaadin.data.Container.Viewer
 
Constructor Summary
Modifier Constructor and Description
protected AbstractModelObjectContainer(Class<? extends ENTITY> type)
          Instantiates a new abstract model object container.
 
Method Summary
Modifier and Type Method and Description
abstract  com.vaadin.ui.Table.ColumnGenerator[] getColumnGenerators()
          Gets the column generators.
 String[] getColumnHeaders(UserSessionDto userSessionDto)
          Gets the column headers.
abstract  Object[] getGeneratedColumns()
          Gets the generated columns.
abstract  Object[] getVisibleColumns()
          Gets the visible columns.
 
Methods inherited from class com.vaadin.data.util.BeanItemContainer
addBean, addContainerFilter, addContainerProperty, addItem, addItem, addItemAfter, addItemAfter, addItemAt, addItemAt, addListener, containsId, doSort, filter, filterAll, firstItemId, getContainerProperty, getContainerPropertyIds, getIdByIndex, getItem, getItemIds, getItemSorter, getSortableContainerPropertyIds, getType, indexOfId, isFirstId, isLastId, lastItemId, nextItemId, prevItemId, removeAllContainerFilters, removeAllItems, removeContainerFilters, removeContainerProperty, removeItem, removeListener, setItemSorter, size, sort, valueChange
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractModelObjectContainer

protected AbstractModelObjectContainer(Class<? extends ENTITY> type)
                                throws InstantiationException,
                                       IllegalAccessException
Instantiates a new abstract model object container.

Parameters:
type - the type
Throws:
InstantiationException - the instantiation exception
IllegalAccessException - the illegal access exception
Method Detail

getColumnGenerators

public abstract com.vaadin.ui.Table.ColumnGenerator[] getColumnGenerators()
Gets the column generators.

Returns:
the column generators

getColumnHeaders

public final String[] getColumnHeaders(UserSessionDto userSessionDto)
Gets the column headers.

Parameters:
userSessionDto - the user session dto
Returns:
the column headers

getGeneratedColumns

public abstract Object[] getGeneratedColumns()
Gets the generated columns.

Returns:
the generated columns

getVisibleColumns

public abstract Object[] getVisibleColumns()
Gets the visible columns.

Returns:
the visible columns


Copyright © 2008-2010 www.hack23.com. All Rights Reserved.