@Deprecated public class JcrNewNodeAdapter extends JcrNodeAdapter
UNIDENTIFIED
Constructor and Description |
---|
JcrNewNodeAdapter(javax.jcr.Node parentNode,
String nodeType)
Deprecated.
|
JcrNewNodeAdapter(javax.jcr.Node parentNode,
String nodeType,
String nodeName)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
javax.jcr.Node |
applyChanges()
Deprecated.
Create a new subNode of the parent Node or return the existing one if already created.
|
com.vaadin.v7.data.Property |
getItemProperty(Object propertyId)
Deprecated.
Returns item property of a new node.
|
boolean |
isNew()
Deprecated.
|
protected void |
markPropertyForDeletion(String propertyId)
Deprecated.
Marks the given property ID for removal upon next properties update (typically via #applyChanges).
|
void |
setItemId(JcrItemId itemId)
Deprecated.
|
void |
setNodeName(String nodeName)
Deprecated.
|
addItemProperty, getItemPropertyIds, removeItemProperty
addChild, getChild, getChildren, getJcrItem, getNodeName, getParent, getPrimaryNodeTypeName, getRemovedChildren, hasChildItemChanges, initCommonAttributes, isNode, removeChild, setParent, setPrimaryNodeTypeName, updateChildren, updateProperties, updateProperty
getChangedProperties, getItemId, getRemovedProperties, getWorkspace, hasChangedProperties
public JcrNewNodeAdapter(javax.jcr.Node parentNode, String nodeType)
parentNode
- Parent of the node to create.nodeType
- Type node to create.public com.vaadin.v7.data.Property getItemProperty(Object propertyId)
getItemProperty
in interface com.vaadin.v7.data.Item
getItemProperty
in class JcrNodeAdapter
propertyId
- id of the property to be retrievedpublic javax.jcr.Node applyChanges() throws javax.jcr.RepositoryException
JcrNodeAdapter
will be called.applyChanges
in interface JcrItemAdapter
applyChanges
in class AbstractJcrNodeAdapter
javax.jcr.RepositoryException
protected void markPropertyForDeletion(String propertyId)
AbstractJcrNodeAdapter
markPropertyForDeletion
in class AbstractJcrNodeAdapter
public void setNodeName(String nodeName)
setNodeName
in class AbstractJcrNodeAdapter
public void setItemId(JcrItemId itemId)
setItemId
in class AbstractJcrAdapter
public boolean isNew()
isNew
in interface ItemAdapter
isNew
in class JcrNodeAdapter
Copyright © 2020 Magnolia International Ltd.. All rights reserved.