As we transition to the new Hyland Community, some post links may be temporarily disrupted as we finalize redirects. We apologize for the inconvenience and are working to resolve this as quickly as possible. Details.
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()); }
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 }
HiI 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?