cancel
Showing results for 
Search instead for 
Did you mean: 

JCR to CMR to JCR

spl
Champ in-the-making
Champ in-the-making
Hi
I have my searches done with native api calls like
   results = searcher.query(nodeRef.getStoreRef(), "lucene", "TYPE:\"cm:content\"", null, null);

but then, how do i get back from the
   org.alfresco.jcr.api.NodeRef currentNodeRef = row.getNodeRef();
to an instance of
   javax.jcr.Node

??
1 REPLY 1

rosamlorente
Champ in-the-making
Champ in-the-making
This source works:

NodeRef currentNodeRef = row.getNodeRef();
Node nodo = session.getNodeByUUID(currentNodeRef.getId());