Hi people:
I've recently started to develop with Alfresco using Web Services, and I'm a little confused with the datatypes.
Node -> Contains a Reference
Reference -> Has en UUID
ResultSet -> ResultSetRows -> Contains nodes (without uppercase)
node -> Constains a UUID
What is the relationship betwen Node and node?
Supose I've a folder with an UUID = cb3918cb-7951-11db-b498-95a3b8925574. I execute a query to obtain that Node:
——————————————————————————
RepositoryServiceSoapBindingStub repositoryService = WebServiceFactory.getRepositoryService();
Node myNode = null;
Reference reference = new Reference(STORE, uuid, null);
Predicate predicate = new Predicate(new Reference[]{reference}, null, null);
Node[] nodes = repositoryService.get(predicate);
// Get the node
myNode = nodes[0];
——————————————————————————
Obviously myNode.getReference().getId() = cb3918cb-7951-11db-b498-95a3b8925574
If I execute a general query I obtain a ResulSet, with ResultSetRows, and that with nodes. Is supossed to exist a node with UUID = cb3918cb-7951-11db-b498-95a3b8925574?
That is, what is the relationship betwen first Node and second node?
Thanks a lot people.