Hi all,
I am building a webscript that takes a nodeRef of a space as parameter and should return a sorted list of the most recent contentitems contained in that space AND als its subspaces.
I have been able to do all this except build the path parameter in the lucene query.
Does anybody know how I can get the QName Path from a NodeRef object? The NodeService class has a getPath(NodeRef) method but this returns another format (containing namespace urls…)
I know that from the Javascript api every nodeRef has a qnamePath property. This is exactly what I need but in Java.
Any help would be greatly appreciated!
Greetings,
Toon