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.
String espacio = "BARCELONA"; String consulta = "@\\{http\\://www.alfresco.org/model/content/1.0\\}name:\"" + espacio + "\""; Query query = new Query(); query.setLanguage(Constants.QUERY_LANG_LUCENE); query.setStatement(consulta); try { //Ejecutamos la peticion y recogemos los resultados QueryResult qrst = WebServiceFactory.getRepositoryService().query(ALF_STORE, query, false); ResultSet x = qrst.getResultSet(); resultadoBusqueda = x.getRows();
String espacio = "BARCELONA"; String consulta = "@cm\\:name:\""+espacio+"\"";