01-02-2007 10:00 AM
01-02-2007 10:25 AM
QueryResult qr = WebServiceFactory.getRepositoryService().queryChildren(inNode);
for (int i=0; i<qr.getResultSet().getRows().length; i++){
node_child.setStore(STORE);
node_child.setPath(null);
node_child.setUuid(qr.getResultSet().getRows(i).getNode().getId());
}
01-02-2007 11:10 AM
01-02-2007 11:31 AM
Store[] stores = WebServiceFactory.getRepositoryService.getStores();
Store STORE = stores[4]; //Index for "SpacesStore" (at least in my computer)
Reference inNode = new Reference();
inNode.setStore(STORE);
inNode.setPath(null);
inNode.setUuid(UUID); //where UUID is a String with the Node UUID you want to get its children.
//And then the code I gave you in the former post
Reference node_child = new Reference();
QueryResult qr = WebServiceFactory.getRepositoryService().queryChildren(inNode);
for (int i=0; i<qr.getResultSet().getRows().length; i++){
node_child.setStore(STORE);
node_child.setPath(null);
node_child.setUuid(qr.getResultSet().getRows(i).getNode().getId());
//At this point, node_child contains the Node Reference to one child
}
01-03-2007 09:46 AM
01-03-2007 10:35 AM
01-04-2007 07:57 AM
01-05-2007 07:27 AM
Hi
I have obtained the name of the node by using :
String name = qr.getResultSet().getRows(i).getColumns()[5].getValue();
As the name of the node is passed as part of the result set.
Your help has been much appreciated.
One other question, How do I obtain the effective start and end date for an aspect.
I have looked at the metadata and the result set, but I do not appear to see it. I would consider that it must be able to be accessed out side of the scope of the aspect that it is defined in?
Tags
Find what you came for
We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.