info.magnolia.ui.admincentral.shellapp.pulse.item
Class PulseBeanItem<B>
java.lang.Object
com.vaadin.data.util.PropertysetItem
com.vaadin.data.util.BeanItem<B>
info.magnolia.ui.admincentral.shellapp.pulse.item.PulseBeanItem<B>
- Type Parameters:
B
- the bean wrapped in BeanItem
.
- All Implemented Interfaces:
- com.vaadin.data.Item, com.vaadin.data.Item.PropertySetChangeNotifier, Serializable, Cloneable
- Direct Known Subclasses:
- TaskItem
public class PulseBeanItem<B>
- extends com.vaadin.data.util.BeanItem<B>
Abstract BeanItem
used for beans in pulse. Allows passing a Map of nested beans to the constructor.
- See Also:
- Serialized Form
Nested classes/interfaces inherited from interface com.vaadin.data.Item |
com.vaadin.data.Item.Editor, com.vaadin.data.Item.PropertySetChangeListener, com.vaadin.data.Item.PropertySetChangeNotifier, com.vaadin.data.Item.Viewer |
Methods inherited from class com.vaadin.data.util.BeanItem |
expandProperty, getBean |
Methods inherited from class com.vaadin.data.util.PropertysetItem |
addItemProperty, addListener, addPropertySetChangeListener, clone, equals, getItemProperty, getItemPropertyIds, getListeners, hashCode, removeItemProperty, removeListener, removePropertySetChangeListener, toString |
PulseBeanItem
public PulseBeanItem(B bean)
PulseBeanItem
public PulseBeanItem(B bean,
String... propertyIds)
PulseBeanItem
public PulseBeanItem(B bean,
String[] propertyIds,
Map<String,List<String>> nestedPropertyIds)
addNestedProperty
public void addNestedProperty(String nestedPropertyId)
- Adds a nested property to the item.
- Overrides:
addNestedProperty
in class com.vaadin.data.util.BeanItem<B>
- Parameters:
nestedPropertyId
- property id to add. This property must not exist in the item
already and must of of form "field1.field2" where field2 is a
field in the object referenced to by field1
Copyright © 2014 Magnolia International Ltd.. All Rights Reserved.