info.magnolia.ui.vaadin.integration.jcr
Interface JcrItemAdapter

All Superinterfaces:
com.vaadin.data.Item, ItemAdapter, Serializable
All Known Implementing Classes:
AbstractJcrAdapter, AbstractJcrNodeAdapter, JcrNewNodeAdapter, JcrNodeAdapter, JcrPropertyAdapter

public interface JcrItemAdapter
extends ItemAdapter

Represents a JCR Item (node or property) as a Vaadin data Item.

See Also:
Item, Item

Nested Class Summary
 
Nested classes/interfaces inherited from interface com.vaadin.data.Item
com.vaadin.data.Item.Editor, com.vaadin.data.Item.PropertySetChangeEvent, com.vaadin.data.Item.PropertySetChangeListener, com.vaadin.data.Item.PropertySetChangeNotifier, com.vaadin.data.Item.Viewer
 
Method Summary
 javax.jcr.Item applyChanges()
          Returns the JCR Item represented by this Item with any changes applied.
 String getItemId()
           
 javax.jcr.Item getJcrItem()
          Returns the JCR Item represented by this adapter, or null in case of RepositoryException.
 String getWorkspace()
           
 boolean hasChangedProperties()
           
 boolean isNode()
           
 
Methods inherited from interface info.magnolia.ui.vaadin.integration.ItemAdapter
isNew
 
Methods inherited from interface com.vaadin.data.Item
addItemProperty, getItemProperty, getItemPropertyIds, removeItemProperty
 

Method Detail

isNode

boolean isNode()

getWorkspace

String getWorkspace()

getItemId

String getItemId()

getJcrItem

javax.jcr.Item getJcrItem()
Returns the JCR Item represented by this adapter, or null in case of RepositoryException.


applyChanges

javax.jcr.Item applyChanges()
                            throws javax.jcr.RepositoryException
Returns the JCR Item represented by this Item with any changes applied.

Throws:
javax.jcr.RepositoryException

hasChangedProperties

boolean hasChangedProperties()


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