@Deprecated public class JcrNodeAdapter extends AbstractJcrNodeAdapter
Item
wrapping/representing a Node
.
Implements Property.ValueChangeListener
in order to inform/change JCR property when a
Vaadin property has changed.
Jcr properties are read from Repository as long as they are not modified.
Jcr properties are updated or created if they:
Create a JcrNodeAdapter:
Properties:
property p = DefaultPropertyUtil.newDefaultProperty(...)
jcrNodeAdapter.addItemProperty(...)
UNIDENTIFIED
Constructor and Description |
---|
JcrNodeAdapter(javax.jcr.Node jcrNode)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
boolean |
addItemProperty(Object propertyId,
com.vaadin.v7.data.Property property)
Deprecated.
Add a new JCR Property.
|
com.vaadin.v7.data.Property |
getItemProperty(Object propertyId)
Deprecated.
Get Vaadin Property from a Jcr Property.
|
Collection<?> |
getItemPropertyIds()
Deprecated.
|
boolean |
isNew()
Deprecated.
|
boolean |
removeItemProperty(Object id)
Deprecated.
Remove a property from an Item.
|
addChild, applyChanges, getChild, getChildren, getJcrItem, getNodeName, getParent, getPrimaryNodeTypeName, getRemovedChildren, hasChildItemChanges, initCommonAttributes, isNode, markPropertyForDeletion, removeChild, setNodeName, setParent, setPrimaryNodeTypeName, updateChildren, updateProperties, updateProperty
getChangedProperties, getItemId, getRemovedProperties, getWorkspace, hasChangedProperties, setItemId
public com.vaadin.v7.data.Property getItemProperty(Object propertyId)
getItemProperty
in interface com.vaadin.v7.data.Item
getItemProperty
in class AbstractJcrNodeAdapter
propertyId
- id of the property to be retrievedpublic Collection<?> getItemPropertyIds()
public boolean addItemProperty(Object propertyId, com.vaadin.v7.data.Property property) throws UnsupportedOperationException
AbstractJcrNodeAdapter
addItemProperty
in interface com.vaadin.v7.data.Item
addItemProperty
in class AbstractJcrNodeAdapter
UnsupportedOperationException
public boolean removeItemProperty(Object id)
public boolean isNew()
Copyright © 2021 Magnolia International Ltd.. All rights reserved.