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.
The javadoc for the org.alfresco.webservice.repository package is generated from the "web-service-client" project. The build puts the java doc into \build\docs\java\generated below web-service-client. However it is javadoc for generated code so while better than nothing, it is still machine generated documentation.
// Get the infomation from the result set // […] for(ResultSetRow row : rows) { String nodeId = row.getNode().getId(); ContentResult contentResult = new ContentResult(nodeId); // iterate through the columns of the result set to extract specific named values for (NamedValue namedValue : row.getColumns()) { if (namedValue.getName().endsWith(Constants.PROP_CREATED) == true) { contentResult.setCreateDate(namedValue.getValue()); } else if (namedValue.getName().endsWith(Constants.PROP_NAME) == true) { contentResult.setName(namedValue.getValue()); } } // […]
[…] Reference ref = new Reference(spacesStore, uuid, null); Predicate prd = new Predicate(new Reference[] { ref }, null, null);; try { Node[] nodes = repositoryService.get(prd); if (nodes.length >= 1) { Node node = nodes[0]; NamedValue[] props = node.getProperties(); […]
I discovered that the remote API does not seem to be contained somewhere in the javadoc linked above.Again another example of outdated or mismatching documentation… It is really frustrating - plenty of APIs but neither one nor the other is a pleasure to use…
Hi, were you looking for http://dev.alfresco.com/resource/docs/java/repository/index.html?overview-summary.html ?The root page would be http://dev.alfresco.com/resource/docs/java/