public interface NodeInfo extends ItemInfo
NodeInfo
provides the basic information required to build
nodes making up the repository hierarchy.
Note however, that the list of child nodes does not form part of a
NodeInfo
. It is retrieved by calling
RepositoryService.getChildInfos(SessionInfo, NodeId)
. In case of
batch read
the
child nodes might be part of the returned Iterator
.
Modifier and Type | Method and Description |
---|---|
java.util.Iterator<ChildInfo> |
getChildInfos()
Return all
ChildInfo s 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() |
java.util.Iterator<PropertyId> |
getPropertyIds() |
PropertyId[] |
getReferences()
Deprecated.
|
denotesNode, getPath
NodeId getId()
NodeId
for the node that is based on this info
object.getId
in interface ItemInfo
RepositoryService.getNodeInfo(SessionInfo, NodeId)
int getIndex()
Name getNodetype()
Name
representing the name of the primary nodetype.Name[] getMixins()
Name
s 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.PropertyId[] getReferences()
RepositoryService.getReferences(SessionInfo, NodeId, Name, boolean)
instead.Id
s of the properties that are referencing the
node based on this info object.Id
s 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()
java.util.Iterator<PropertyId> getPropertyIds()
Id
s of children propertiesPropertyInfo.getId()
java.util.Iterator<ChildInfo> getChildInfos()
ChildInfo
s 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.ChildInfo
s or null
if
the implementation is not able or willing to compute the set of
ChildInfo
s (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 ChildInfo
s."Copyright © 2010 - 2020 Adobe Systems Incorporated. All Rights Reserved"