Within a Java Action I have a known NodeRef, I need to retrieve its full parent QName path:Which is, from this:
/app:company_home/st:sites/cm:mysite/cm:documentLibrary/cm:mydoc.pdf
I need:
/app:company_home/st:sites/cm:mysite/cm:documentLibrary
To build a Lucene query like this:
PATH:"/app:company_home/st:sites/cm:mysite/cm:documentLibrary//*" AND + @cm\:name:"someOtherNodeName"
Or the full XPath search.