I am wondering about this as well. We are attempting to ascertain just how much information we need to encode in a string id value to be able to retrieve a node reference.
To construct a nodeRef, the storeRef and id need to be supplied as an constructor. But it would seem to me that in the 'NODE' table, a node could be looked up via the 'guid' column. But there does not seem to be a way to do this via the API. Is this on purpose? What was the design intent for Alfresco's guid value.
We want to be able to render a URL that contains a id value, that will allow us to fetch this node directly from the repository. We do not want to make any assumptions on which store we are using.
So it seems to me that to generate an ID string for use in a URL, we will need to encode the store reference id as well along w/ the UUID, or if the UUID is all that is necessary to locate a Node, what is the suggested method to do this?
-tim