|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.jackrabbit.spi.commons.ItemInfoImpl
org.apache.jackrabbit.spi.commons.NodeInfoImpl
public class NodeInfoImpl
NodeInfoImpl implements a serializable NodeInfo
based on another node info.
| Constructor Summary | |
|---|---|
NodeInfoImpl(NodeId parentId,
Name name,
Path path,
NodeId id,
int index,
Name primaryTypeName,
Name[] mixinNames,
Iterator references,
Iterator propertyIds)
Creates a new serializable node info for the given node
info. |
|
| Method Summary | |
|---|---|
static NodeInfo |
createSerializableNodeInfo(NodeInfo nodeInfo,
IdFactory idFactory)
Creates a new serializable NodeInfo for the given
NodeInfo. |
NodeId |
getId()
Returns the NodeId for the node that is based on this info
object. |
int |
getIndex()
Index of the node. |
Name[] |
getMixins()
|
Name |
getNodetype()
|
Iterator |
getPropertyIds()
|
PropertyId[] |
getReferences()
|
| Methods inherited from class org.apache.jackrabbit.spi.commons.ItemInfoImpl |
|---|
denotesNode, getName, getParentId, getPath |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.apache.jackrabbit.spi.ItemInfo |
|---|
denotesNode, getName, getParentId, getPath |
| Constructor Detail |
|---|
public NodeInfoImpl(NodeId parentId,
Name name,
Path path,
NodeId id,
int index,
Name primaryTypeName,
Name[] mixinNames,
Iterator references,
Iterator propertyIds)
node
info.
parentId - the parent id.name - the name of this item.path - the path to this item.id - the id of this item.index - the index of this item.primaryTypeName - the name of the primary node type.mixinNames - the names of the assigned mixins.references - the references to this node.propertyIds - the properties of this node.| Method Detail |
|---|
public static NodeInfo createSerializableNodeInfo(NodeInfo nodeInfo,
IdFactory idFactory)
NodeInfo for the given
NodeInfo.
nodeInfo - public NodeId getId()
NodeId for the node that is based on this info
object.
getId in interface NodeInfoRepositoryService.getNodeInfo(SessionInfo, NodeId)public int getIndex()
getIndex in interface NodeInfopublic Name getNodetype()
getNodetype in interface NodeInfoName representing the name of the primary nodetype.public Name[] getMixins()
getMixins in interface NodeInfoNames representing the names of mixin nodetypes.
This includes only explicitly assigned mixin nodetypes. It does not include
mixin types inherited through the additon of supertypes to the primary
type hierarchy.public PropertyId[] getReferences()
getReferences in interface NodeInfoIds of the properties that are referencing the
node based on this info object or an empty array if the node is not
referenceable or no references exist.PropertyInfo.getId()public Iterator getPropertyIds()
getPropertyIds in interface NodeInfoIds of children propertiesPropertyInfo.getId()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||