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.
RepositoryServiceSoapBindingStub repositoryService = WebServiceFactory.getRepositoryService(); QueryResult queryResult = repositoryService.query(searchStore, searchQuery, false); ResultSet resultSet = queryResult.getResultSet(); ResultSetMetaData resultSetMetadata = resultSet.getMetaData(); ResultSetRow[] rows = resultSet.getRows(); for(ResultSetRow row : rows) { NameValue [] rowColumnNameValues = row.getColumns(); … }
Reference r = new Reference(STORE, uuid, null); Node[] a = repositoryService.get(new Predicate(new Reference[]{r}, STORE, null)); for(int i=0;i<a[0].getProperties().length;i++){ if(a[0].getProperties(i).getName().equalsIgnoreCase("{http://www.alfresco.org/model/content/1.0}content")){ url=a[0].getProperties(i).getValue(); } }