Modifier and Type | Method and Description |
---|---|
NodeData |
File.getNodeData()
Deprecated.
Since 5.0 use getNode(Node) instead.
|
Constructor and Description |
---|
File(NodeData data)
Deprecated.
Since 5.0 use File(Node)
|
Modifier and Type | Class and Description |
---|---|
class |
AbstractNodeData
Implementing some default behavior.
|
class |
BinaryNodeData
A node data hiding the fact that node datas of type BINARY are stored as nodes of type
ItemType.NT_RESOURCE . |
class |
DefaultNodeData
Deprecated.
since 4.5, use jcr.Property instead.
|
class |
NonExistingNodeData
Represents an non-mutable empty node data.
|
Modifier and Type | Method and Description |
---|---|
NodeData |
Content.createNodeData(String name)
Deprecated.
since 4.3, as JCR only supports set or remove operations for properties we
recommend to use
Content.setNodeData(String, Object) instead. |
NodeData |
AbstractContent.createNodeData(String name) |
NodeData |
Content.createNodeData(String name,
int type)
Deprecated.
since 4.3, as JCR only supports set or remove operations for properties we
recommend to use
Content.setNodeData(String, Object) instead. |
NodeData |
AbstractContent.createNodeData(String name,
int type)
Deprecated.
|
NodeData |
Content.createNodeData(String name,
Object obj)
Deprecated.
since 4.3, as JCR only supports set or remove operations for properties we
recommend to use
Content.setNodeData(String, Object) instead. |
NodeData |
AbstractContent.createNodeData(String name,
Object valueObj)
Deprecated.
|
NodeData |
Content.createNodeData(String name,
javax.jcr.Value value)
Deprecated.
since 4.3, as JCR only supports set or remove operations for properties we
recommend to use
Content.setNodeData(String, Value) instead. |
NodeData |
AbstractContent.createNodeData(String name,
javax.jcr.Value value) |
NodeData |
Content.createNodeData(String name,
javax.jcr.Value[] value)
Deprecated.
since 4.3, as JCR only supports set or remove operations for properties we
recommend to use
Content.setNodeData(String, Value[]) instead. |
NodeData |
AbstractContent.createNodeData(String name,
javax.jcr.Value[] value)
Deprecated.
|
NodeData |
HierarchyManager.getNodeData(String path)
Deprecated.
|
NodeData |
DefaultHierarchyManager.getNodeData(String path)
Deprecated.
get NodeData object of the requested URI.
|
NodeData |
Content.getNodeData(String name)
Deprecated.
Returns a
NodeData object. |
NodeData |
AbstractContent.getNodeData(String name)
Returns a
NodeData object. |
NodeData |
DefaultContent.newNodeDataInstance(String name,
int type,
boolean createIfNotExisting)
Deprecated.
|
abstract NodeData |
AbstractContent.newNodeDataInstance(String name,
int type,
boolean createIfNotExisting)
As defined in
Content.getNodeData(String) this method always returns a node data object. |
NodeData |
Content.setNodeData(String name,
boolean value)
Deprecated.
Sets the node data.
|
NodeData |
AbstractContent.setNodeData(String name,
boolean value) |
NodeData |
Content.setNodeData(String name,
Calendar value)
Deprecated.
Sets the node data.
|
NodeData |
AbstractContent.setNodeData(String name,
Calendar value) |
NodeData |
Content.setNodeData(String name,
Content value)
Deprecated.
Sets the node data.
|
NodeData |
AbstractContent.setNodeData(String name,
Content value) |
NodeData |
Content.setNodeData(String name,
double value)
Deprecated.
Sets the node data.
|
NodeData |
AbstractContent.setNodeData(String name,
double value) |
NodeData |
Content.setNodeData(String name,
InputStream value)
Deprecated.
Sets the node data.
|
NodeData |
AbstractContent.setNodeData(String name,
InputStream value) |
NodeData |
Content.setNodeData(String name,
long value)
Deprecated.
Sets the node data.
|
NodeData |
AbstractContent.setNodeData(String name,
long value) |
NodeData |
Content.setNodeData(String name,
Object value)
Deprecated.
Sets the node data.
|
NodeData |
AbstractContent.setNodeData(String name,
Object value)
Uses the
NodeDataUtil to create and set the node data based on the object type. |
NodeData |
Content.setNodeData(String name,
String value)
Deprecated.
Sets the node data.
|
NodeData |
AbstractContent.setNodeData(String name,
String value) |
NodeData |
Content.setNodeData(String name,
javax.jcr.Value value)
Deprecated.
Sets the node data.
|
NodeData |
AbstractContent.setNodeData(String name,
javax.jcr.Value value) |
NodeData |
Content.setNodeData(String name,
javax.jcr.Value[] value)
Deprecated.
Sets the node data.
|
NodeData |
AbstractContent.setNodeData(String name,
javax.jcr.Value[] value) |
Modifier and Type | Method and Description |
---|---|
protected Collection<NodeData> |
AbstractContent.getBinaryNodeDatas(String namePattern) |
Collection<NodeData> |
Content.getNodeDataCollection()
Deprecated.
Gets all properties bind in NodeData object excluding JCR system properties.
|
Collection<NodeData> |
AbstractContent.getNodeDataCollection() |
Collection<NodeData> |
DefaultContent.getNodeDataCollection(String namePattern)
Deprecated.
|
Collection<NodeData> |
Content.getNodeDataCollection(String namePattern)
Deprecated.
Gets all node datas matching the given pattern.
|
protected Collection<NodeData> |
DefaultContent.getPrimitiveNodeDatas(String namePattern)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
NodeData |
ContentVersion.createNodeData(String name)
Throws an
AccessDeniedException as versions are read only. |
NodeData |
ContentVersion.createNodeData(String name,
int type)
Throws an
AccessDeniedException as versions are read only. |
NodeData |
ContentVersion.createNodeData(String name,
javax.jcr.Value value)
Throws an
AccessDeniedException as versions are read only. |
NodeData |
ContentVersion.createNodeData(String name,
javax.jcr.Value value,
int type)
Throws an
AccessDeniedException as versions are read only. |
Modifier and Type | Method and Description |
---|---|
NodeData |
I18nContentSupport.getNodeData(Content node,
String name)
Deprecated.
since 4.5.4 use
I18nContentSupport.getProperty(Node, String) instead. |
NodeData |
HierarchyBasedI18nContentSupport.getNodeData(Content node,
String name) |
NodeData |
AbstractI18nContentSupport.getNodeData(Content node,
String name)
Returns the nodedata with the name <name>_<current language> or <name>_<fallback language>
otherwise returns <name>.
|
NodeData |
I18nContentSupport.getNodeData(Content node,
String name,
Locale locale)
Deprecated.
since 4.5.4 use
I18nContentSupport.getProperty(Node, String, Locale) instead. |
NodeData |
AbstractI18nContentSupport.getNodeData(Content node,
String name,
Locale locale) |
NodeData |
I18nContentWrapper.newNodeDataInstance(String name,
int type,
boolean createIfNotExisting) |
Modifier and Type | Method and Description |
---|---|
protected boolean |
AbstractI18nContentSupport.isEmpty(NodeData nd)
Deprecated.
since 4.5.4. Use
AbstractI18nContentSupport.isEmpty(Property) instead. |
Modifier and Type | Class and Description |
---|---|
class |
LazyNodeDataWrapper
Stores a path and will re-fetch the node data in
LazyNodeDataWrapper.getWrappedNodeData() if the session is closed. |
class |
NodeDataWrapper
Wraps a
NodeData to which it delegates. |
class |
SystemNodeDataWrapper
A lazy node data wrapper reading from the node data using the
LifeTimeJCRSessionUtil . |
Modifier and Type | Method and Description |
---|---|
NodeData |
InheritanceContentWrapper.getNodeData(String name) |
NodeData |
HierarchyManagerWrapper.getNodeData(String path) |
NodeData |
ExtendingContentWrapper.getNodeData(String name)
Deprecated.
|
static NodeData |
NodeDataUtil.getOrCreate(Content node,
String name)
If the NodeData does not exist yet, just create it.
|
static NodeData |
NodeDataUtil.getOrCreate(Content node,
String name,
int type)
If the NodeData does not exist yet, just create it.
|
static NodeData |
NodeDataUtil.getOrCreate(Content node,
String name,
Object obj) |
static NodeData |
NodeDataUtil.getOrCreateAndSet(Content node,
String name,
boolean value) |
static NodeData |
NodeDataUtil.getOrCreateAndSet(Content node,
String name,
int value) |
static NodeData |
NodeDataUtil.getOrCreateAndSet(Content node,
String name,
long value) |
static NodeData |
NodeDataUtil.getOrCreateAndSet(Content node,
String name,
Object obj) |
static NodeData |
NodeDataUtil.getOrCreateAndSet(Content node,
String name,
javax.jcr.Value[] value) |
NodeData |
NodeDataWrapper.getWrappedNodeData() |
NodeData |
LazyNodeDataWrapper.getWrappedNodeData() |
NodeData |
ContentWrapper.newNodeDataInstance(String name,
int type,
boolean createIfNotExisting) |
static NodeData |
NodeDataUtil.setValue(NodeData nodeData,
Object valueObj)
Calls the correct setValue method based on object type.
|
NodeData |
SystemContentWrapper.wrap(NodeData nodeData) |
NodeData |
LazyContentWrapper.wrap(NodeData nodeData) |
protected NodeData |
HierarchyManagerWrapper.wrap(NodeData nodeData)
Override this method to have hierarchy manager wrap every piece of node data it returns.
|
protected NodeData |
ContentWrapper.wrap(NodeData nodeData)
Override if a wrapper wants to wrap returned node data objects.
|
Modifier and Type | Method and Description |
---|---|
Collection<NodeData> |
ExtendingContentWrapper.getNodeDataCollection()
Deprecated.
|
Collection<NodeData> |
ContentWrapper.getNodeDataCollection(String namePattern) |
protected Collection<NodeData> |
ContentWrapper.wrapNodeDatas(Collection<NodeData> collection)
Override if a wrapper wants to wrap returned collections as well (by getChildren(..), ...
|
Modifier and Type | Method and Description |
---|---|
static String |
NodeDataUtil.getTypeName(NodeData nd)
String representation of the jcr property type.
|
static Object |
NodeDataUtil.getValueObject(NodeData nd)
Returns the value as an Object.
|
static String |
NodeDataUtil.getValueString(NodeData nodeData)
Same as getValueString(nd, dateFormat) but using the users short date format.
|
static String |
NodeDataUtil.getValueString(NodeData nodeData,
String dateFormat)
Returns a String representation of the value.
|
protected void |
SearchReplace.onPropertyVisit(NodeData prop,
int count,
String oldValue,
StringBuffer newValue) |
static NodeData |
NodeDataUtil.setValue(NodeData nodeData,
Object valueObj)
Calls the correct setValue method based on object type.
|
void |
NodeDataWrapper.setWrappedNodeData(NodeData wrappedNodeData) |
NodeData |
SystemContentWrapper.wrap(NodeData nodeData) |
NodeData |
LazyContentWrapper.wrap(NodeData nodeData) |
protected NodeData |
HierarchyManagerWrapper.wrap(NodeData nodeData)
Override this method to have hierarchy manager wrap every piece of node data it returns.
|
protected NodeData |
ContentWrapper.wrap(NodeData nodeData)
Override if a wrapper wants to wrap returned node data objects.
|
Modifier and Type | Method and Description |
---|---|
protected Collection<NodeData> |
ContentWrapper.wrapNodeDatas(Collection<NodeData> collection)
Override if a wrapper wants to wrap returned collections as well (by getChildren(..), ...
|
Constructor and Description |
---|
LazyNodeDataWrapper(NodeData nodeData) |
NodeDataWrapper(NodeData wrappedNodeData) |
SystemNodeDataWrapper(NodeData nodeData) |
Modifier and Type | Method and Description |
---|---|
NodeData |
BinaryNodeDataModel.asNodeData() |
Modifier and Type | Method and Description |
---|---|
NodeData |
Link.getNodeData()
Deprecated.
since 5.0 use
Link.getProperty() instead. |
Modifier and Type | Method and Description |
---|---|
static String |
LinkUtil.createAbsoluteLink(NodeData nodedata)
Deprecated.
since 5.0 use
LinkUtil.createAbsoluteLink(Property) instead. |
static String |
LinkUtil.createLink(NodeData nodedata)
Deprecated.
Since 5.0 use
LinkUtil.createAbsoluteLink(Property) instead. |
static Link |
LinkFactory.createLink(NodeData nodeData)
Deprecated.
since 5.0 use
LinkUtil.createLinkInstance(NodeData) instead. |
static Link |
LinkUtil.createLinkInstance(NodeData nodeData)
Deprecated.
since 5.0 use
LinkUtil.createLinkInstance(Property) instead. |
Link |
Link.initLink(String workspaceName,
Content parent,
NodeData nodedata)
Deprecated.
since 5.0 use
Link.Link(Node) . |
void |
Link.setNodeData(NodeData nodeData)
Deprecated.
since 5.0 use
Link.setProperty(Property) instead. |
Constructor and Description |
---|
Link(String workspaceName,
Content parent,
NodeData nodedata)
Deprecated.
since 5.0 use
Link.Link(Node) . |
Copyright © 2003–2016 Magnolia International Ltd.. All rights reserved.