|
||||||||||
| 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(org.apache.jackrabbit.spi.NodeId parentId,
org.apache.jackrabbit.spi.Name name,
org.apache.jackrabbit.spi.Path path,
org.apache.jackrabbit.spi.NodeId id,
int index,
org.apache.jackrabbit.spi.Name primaryTypeName,
org.apache.jackrabbit.spi.Name[] mixinNames,
Iterator<org.apache.jackrabbit.spi.PropertyId> references,
Iterator<org.apache.jackrabbit.spi.PropertyId> propertyIds,
Iterator<org.apache.jackrabbit.spi.ChildInfo> childInfos)
Deprecated. Use NodeInfoImpl(Path, NodeId, int, Name, Name[], Iterator, Iterator, Iterator)
instead. The parentId is not used any more. |
|
NodeInfoImpl(org.apache.jackrabbit.spi.Path path,
org.apache.jackrabbit.spi.NodeId id,
int index,
org.apache.jackrabbit.spi.Name primaryTypeName,
org.apache.jackrabbit.spi.Name[] mixinNames,
Iterator<org.apache.jackrabbit.spi.PropertyId> references,
Iterator<org.apache.jackrabbit.spi.PropertyId> propertyIds,
Iterator<org.apache.jackrabbit.spi.ChildInfo> childInfos)
Creates a new node info from the given parameters. |
|
| Method Summary | |
|---|---|
static org.apache.jackrabbit.spi.NodeInfo |
createSerializableNodeInfo(org.apache.jackrabbit.spi.NodeInfo nodeInfo,
org.apache.jackrabbit.spi.IdFactory idFactory)
Creates a new serializable NodeInfo for the given
NodeInfo. |
Iterator<org.apache.jackrabbit.spi.ChildInfo> |
getChildInfos()
|
org.apache.jackrabbit.spi.NodeId |
getId()
|
int |
getIndex()
|
org.apache.jackrabbit.spi.Name[] |
getMixins()
|
org.apache.jackrabbit.spi.Name |
getNodetype()
|
Iterator<org.apache.jackrabbit.spi.PropertyId> |
getPropertyIds()
|
org.apache.jackrabbit.spi.PropertyId[] |
getReferences()
|
| Methods inherited from class org.apache.jackrabbit.spi.commons.ItemInfoImpl |
|---|
denotesNode, 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, getPath |
| Constructor Detail |
|---|
public NodeInfoImpl(org.apache.jackrabbit.spi.NodeId parentId,
org.apache.jackrabbit.spi.Name name,
org.apache.jackrabbit.spi.Path path,
org.apache.jackrabbit.spi.NodeId id,
int index,
org.apache.jackrabbit.spi.Name primaryTypeName,
org.apache.jackrabbit.spi.Name[] mixinNames,
Iterator<org.apache.jackrabbit.spi.PropertyId> references,
Iterator<org.apache.jackrabbit.spi.PropertyId> propertyIds,
Iterator<org.apache.jackrabbit.spi.ChildInfo> childInfos)
NodeInfoImpl(Path, NodeId, int, Name, Name[], Iterator, Iterator, Iterator)
instead. The parentId is not used any more.
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.childInfos - the child infos of this node or null.
public NodeInfoImpl(org.apache.jackrabbit.spi.Path path,
org.apache.jackrabbit.spi.NodeId id,
int index,
org.apache.jackrabbit.spi.Name primaryTypeName,
org.apache.jackrabbit.spi.Name[] mixinNames,
Iterator<org.apache.jackrabbit.spi.PropertyId> references,
Iterator<org.apache.jackrabbit.spi.PropertyId> propertyIds,
Iterator<org.apache.jackrabbit.spi.ChildInfo> childInfos)
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 org.apache.jackrabbit.spi.NodeInfo createSerializableNodeInfo(org.apache.jackrabbit.spi.NodeInfo nodeInfo,
org.apache.jackrabbit.spi.IdFactory idFactory)
NodeInfo for the given
NodeInfo.
nodeInfo - public org.apache.jackrabbit.spi.NodeId getId()
getId in interface org.apache.jackrabbit.spi.ItemInfogetId in interface org.apache.jackrabbit.spi.NodeInfopublic int getIndex()
getIndex in interface org.apache.jackrabbit.spi.NodeInfopublic org.apache.jackrabbit.spi.Name getNodetype()
getNodetype in interface org.apache.jackrabbit.spi.NodeInfopublic org.apache.jackrabbit.spi.Name[] getMixins()
getMixins in interface org.apache.jackrabbit.spi.NodeInfopublic org.apache.jackrabbit.spi.PropertyId[] getReferences()
getReferences in interface org.apache.jackrabbit.spi.NodeInfopublic Iterator<org.apache.jackrabbit.spi.PropertyId> getPropertyIds()
getPropertyIds in interface org.apache.jackrabbit.spi.NodeInfopublic Iterator<org.apache.jackrabbit.spi.ChildInfo> getChildInfos()
getChildInfos in interface org.apache.jackrabbit.spi.NodeInfo
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||