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.
ResultSetRow[] rows= null; String found= ""; String space= "ALIEN"; String search= "@\\{http\\://www.alfresco.org/model/content/1.0\\}name:\"" + space+ "\""; Query query = new Query(); query.setLanguage(Constants.QUERY_LANG_LUCENE); query.setStatement(search); try { QueryResult qrst = WebServiceFactory.getRepositoryService().query(ALF_STORE, query, false); ResultSet x = qrst.getResultSet(); rows = x.getRows(); //THIS IS THE CONFLICTIVE LINE for (ResultSetRow aux : rows ) { for (NamedValue aux2 : aux.getColumns()) { if (ALF_NAME.equals(aux2.getName())) { found= aux; } } }