cancel
Showing results for 
Search instead for 
Did you mean: 

nodes of a space node?

esource
Champ on-the-rise
Champ on-the-rise
I have a node and a noderef.  I'm pretty sure the node is a space. 

How can I use this node in Java to get the nodes that are in the space?
2 REPLIES 2

mrogers
Star Contributor
Star Contributor
If you are not sure whether your node is a space then look up its type.  spaces are cm:folders or subtypes of cm:folder

As a first port of call use the FileFolderService.   Or if you need to do "lower level stuff" not related to files and folders use the NodeService.

esource
Champ on-the-rise
Champ on-the-rise
thank you for the reply.  But how do I get the child nodes of a node with either the NodeService or FileFolderService?