@Deprecated public class JcrPropertyAdapter extends AbstractJcrAdapter
Modifier and Type | Field and Description |
---|---|
static Set<String> |
PROPERTY_IDS
Deprecated.
|
static String |
TYPE_PROPERTY
Deprecated.
|
static String |
VALUE_PROPERTY
Deprecated.
|
UNIDENTIFIED
Constructor and Description |
---|
JcrPropertyAdapter(javax.jcr.Property jcrProperty)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
boolean |
addItemProperty(Object id,
com.vaadin.v7.data.Property property)
Deprecated.
|
javax.jcr.Property |
applyChanges()
Deprecated.
Returns the JCR Item represented by this Item with any changes applied.
|
JcrPropertyItemId |
getItemId()
Deprecated.
|
com.vaadin.v7.data.Property |
getItemProperty(Object id)
Deprecated.
|
Collection<?> |
getItemPropertyIds()
Deprecated.
|
javax.jcr.Property |
getJcrItem()
Deprecated.
Returns the JCR Item represented by this adapter, or null in case of
RepositoryException . |
protected void |
initCommonAttributes(javax.jcr.Item jcrItem)
Deprecated.
Init common Item attributes.
|
boolean |
isNew()
Deprecated.
|
boolean |
isNode()
Deprecated.
|
boolean |
removeItemProperty(Object id)
Deprecated.
|
protected void |
updateProperty(javax.jcr.Item item,
String propertyId,
com.vaadin.v7.data.Property property)
Deprecated.
Updates one of the three supported properties or does nothing if the given propertyId is something else.
|
getChangedProperties, getRemovedProperties, getWorkspace, hasChangedProperties, setItemId, updateProperties
public static final String VALUE_PROPERTY
public static final String TYPE_PROPERTY
public JcrPropertyAdapter(javax.jcr.Property jcrProperty)
protected void initCommonAttributes(javax.jcr.Item jcrItem)
AbstractJcrAdapter
initCommonAttributes
in class AbstractJcrAdapter
public boolean isNode()
public JcrPropertyItemId getItemId()
getItemId
in interface JcrItemAdapter
getItemId
in class AbstractJcrAdapter
public javax.jcr.Property getJcrItem()
JcrItemAdapter
RepositoryException
.getJcrItem
in interface JcrItemAdapter
getJcrItem
in class AbstractJcrAdapter
public javax.jcr.Property applyChanges() throws javax.jcr.RepositoryException
JcrItemAdapter
javax.jcr.RepositoryException
public com.vaadin.v7.data.Property getItemProperty(Object id)
public Collection<?> getItemPropertyIds()
protected void updateProperty(javax.jcr.Item item, String propertyId, com.vaadin.v7.data.Property property)
updateProperty
in class AbstractJcrAdapter
public boolean addItemProperty(Object id, com.vaadin.v7.data.Property property)
public boolean removeItemProperty(Object id) throws UnsupportedOperationException
UnsupportedOperationException
public boolean isNew()
Copyright © 2020 Magnolia International Ltd.. All rights reserved.