Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  1. Container wraps the data of the data source. It provides methods to get items by their ID, to get all Items, to get all itemIds and so on. Every Container must implement at least the Container interface.
  2. ItemId is the key to get an item. Vaadin doesn't type the itemId. It is just an object. A simple itemId could be a string. In some cases an itemId is a POJO with its own properties, for example 

    Javadoc
    0info.magnolia.ui.vaadin.integration.jcr.JcrItemId
    rangeHigherVersion5.7
    classNameinfo.magnolia.ui.vaadin.integration.jcr.JcrItemId
    renderTypeasynchronous
    . itemIds are sent by events.

  3. Item is comparable to a row in a database table; it must implement the Vaadin Item interface. An item contains a set of properties and offers methods to add, modify and remove the properties.
    Every property is identified by a property ID. The property ID is not typed either, it is just an object, usually a string. Use the property ID to configure columns in the content view.
  4. Property is the Vaadin interface for a item property. A property has a value and a type.

...