10-23-2008 09:00 AM
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;
}
}
}
11-21-2008 09:50 AM
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.