03-09-2009 12:18 PM
03-11-2009 04:56 AM
ResultSet nodeResultSet = null;
SearchService searchService = serviceRegistry.getSearchService();
try {
StoreRef storeRef = new StoreRef(StoreRef.PROTOCOL_WORKSPACE, "SpacesStore");
nodeResultSet = searchService.query(storeRef, SearchService.LANGUAGE_LUCENE, "@sys\\:node-uuid:\"" + uuId + "\");
if (nodeResultSet == null || nodeResultSet.length() == 0) {
throw new NodeNotFoundException(…);
}
NodeRef nodeRef = nodeResultSet.getNodeRef(0);
}
finally {
if (nodeResultSet != null) {
nodeResultSet.close();
}
}
03-11-2009 05:17 AM
final NodeRef ref = new NodeRef(uuid);
workspace://SpacesStore/d17ed131-ba34-401c-9237-a2f75ed07e84
03-11-2009 06:00 AM
03-12-2009 05:22 AM
03-12-2009 04:31 PM
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.