| Constructor and Description | 
|---|
NodeInfoImpl(NodeId id,
            DavPropertySet propSet,
            NamePathResolver resolver)  | 
| Modifier and Type | Method and Description | 
|---|---|
boolean | 
denotesNode()
Returns true if this  
ItemInfo denotes a node, false otherwise. | 
Iterator<ChildInfo> | 
getChildInfos()
Return all  
ChildInfos of the node represent by
 this info, an empty iterator if that node doesn't have any child nodes
 or null if the implementation is not able or for some
 internal reasons not willing to compute the ChildInfo
 iterator. | 
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()  | 
Path | 
getPath()
Returns the  
Path of the item represented by this
 ItemInfo. | 
Iterator<PropertyId> | 
getPropertyIds()  | 
PropertyId[] | 
getReferences()
Return the  
Ids of the properties that are referencing the
 node based on this info object. | 
public NodeInfoImpl(NodeId id, DavPropertySet propSet, NamePathResolver resolver) throws javax.jcr.RepositoryException, NameException
javax.jcr.RepositoryExceptionNameExceptionpublic boolean denotesNode()
ItemInfoItemInfo denotes a node, false otherwise.denotesNode in interface ItemInfoItemInfo denotes a node, false otherwise.public NodeId getId()
NodeInfoNodeId for the node that is based on this info
 object.getId in interface ItemInfogetId in interface NodeInfoRepositoryService.getNodeInfo(SessionInfo, NodeId)public int getIndex()
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 addition of supertypes to the primary
 type hierarchy. If there are no mixin node types assigned an empty
 array will be returned.public PropertyId[] getReferences()
NodeInfoIds of the properties that are referencing the
 node based on this info object.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<PropertyId> getPropertyIds()
getPropertyIds in interface NodeInfoIds of children propertiesPropertyInfo.getId()public Iterator<ChildInfo> getChildInfos()
NodeInfoChildInfos of the node represent by
 this info, an empty iterator if that node doesn't have any child nodes
 or null if the implementation is not able or for some
 internal reasons not willing to compute the ChildInfo
 iterator. In the latter case the user of this API must call
 RepositoryService.getChildInfos(SessionInfo, NodeId) in order
 to determine the existence and identity of the child nodes.getChildInfos in interface NodeInfoChildInfos or null if
 the implementation is not able or willing to compute the set of
 ChildInfos (e.g. an implementation may choose to return
 null if there is a huge amount of child nodes). In this
 case RepositoryService.getChildInfos(SessionInfo, NodeId) will
 be used to load the ChildInfos.public Path getPath()
ItemInfoPath of the item represented by this
 ItemInfo.getPath in interface ItemInfoPath of the item represented by this
 item info.ItemInfo.getPath()Copyright © 2004-2020 The Apache Software Foundation. All Rights Reserved.