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.
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(); } }
final NodeRef ref = new NodeRef(uuid);
workspace://SpacesStore/d17ed131-ba34-401c-9237-a2f75ed07e84