You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@jackrabbit.apache.org by Apache Wiki <wi...@apache.org> on 2011/04/08 18:27:48 UTC

[Jackrabbit Wiki] Update of "mix:referenceable" by HendyIrawan

Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Jackrabbit Wiki" for change notification.

The "mix:referenceable" page has been changed by HendyIrawan.
The comment on this change is: getIdentifier().
http://wiki.apache.org/jackrabbit/mix%3Areferenceable?action=diff&rev1=4&rev2=5

--------------------------------------------------

  
  The only standard way for an application to explicitly set the UUID of a created node is to use the XML import feature in JCR level 2.
  
+ You can get the UUID of a node by calling {{{javax.jcr.Node.getIdentifier()}}} (since JCR 2.0).
+ 
  By setting this mixin type, it also becomes possible to retrieve a node by it's UUID, regardless of which path it has. This is done by calling {{{session.getNodeByUUID(<the UUID of the node as a String>)}}}
  
  == Related node types ==