jackrabbit-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Paco Avila <monk...@gmail.com>
Subject Get Path from Node
Date Mon, 01 Mar 2010 17:27:05 GMT
I see a couple of ways to obtain the Path from a Node:

- Path path = ((NodeImpl) myNode).getPrimaryPath();
- Path path = ((SessionImpl)
session).getHierarchyManager().getPath(((NodeImpl) myNode).getId());

Which is the preferred form?

Thanks!

-- 
OpenKM
http://www.openkm.com
http://www.guia-ubuntu.org

Mime
View raw message