info.magnolia.ui.workbench.container
Class AbstractContainer

java.lang.Object
  extended by info.magnolia.ui.workbench.container.AbstractContainer
All Implemented Interfaces:
com.vaadin.data.Container, Serializable
Direct Known Subclasses:
AbstractJcrContainer

public abstract class AbstractContainer
extends Object
implements com.vaadin.data.Container

Abstract base class for containers. Provides support for managing the set of properties (columns) and an implementation of ItemSetChangeEvent.

See Also:
Serialized Form

Nested Class Summary
protected  class AbstractContainer.ItemSetChangeEvent
          ImplementationConfiguration of item set change event.
protected  class AbstractContainer.PropertySetChangeEvent
          ImplementationConfiguration of item set change event.
 
Nested classes/interfaces inherited from interface com.vaadin.data.Container
com.vaadin.data.Container.Editor, com.vaadin.data.Container.Filter, com.vaadin.data.Container.Filterable, com.vaadin.data.Container.Hierarchical, com.vaadin.data.Container.Indexed, com.vaadin.data.Container.ItemSetChangeListener, com.vaadin.data.Container.ItemSetChangeNotifier, com.vaadin.data.Container.Ordered, com.vaadin.data.Container.PropertySetChangeListener, com.vaadin.data.Container.PropertySetChangeNotifier, com.vaadin.data.Container.SimpleFilterable, com.vaadin.data.Container.Sortable, com.vaadin.data.Container.Viewer
 
Constructor Summary
AbstractContainer()
           
 
Method Summary
 boolean addContainerProperty(Object propertyId, Class<?> type, Object defaultValue)
           
 Collection<?> getContainerPropertyIds()
           
 Class<?> getType(Object propertyId)
           
 boolean removeContainerProperty(Object propertyId)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.vaadin.data.Container
addItem, addItem, containsId, getContainerProperty, getItem, getItemIds, removeAllItems, removeItem, size
 

Constructor Detail

AbstractContainer

public AbstractContainer()
Method Detail

getContainerPropertyIds

public Collection<?> getContainerPropertyIds()
Specified by:
getContainerPropertyIds in interface com.vaadin.data.Container

getType

public Class<?> getType(Object propertyId)
Specified by:
getType in interface com.vaadin.data.Container

addContainerProperty

public boolean addContainerProperty(Object propertyId,
                                    Class<?> type,
                                    Object defaultValue)
                             throws UnsupportedOperationException
Specified by:
addContainerProperty in interface com.vaadin.data.Container
Throws:
UnsupportedOperationException

removeContainerProperty

public boolean removeContainerProperty(Object propertyId)
                                throws UnsupportedOperationException
Specified by:
removeContainerProperty in interface com.vaadin.data.Container
Throws:
UnsupportedOperationException


Copyright © 2013 Magnolia International Ltd.. All Rights Reserved.