08-21-2012 12:54 PM
10-03-2012 05:48 AM
10-03-2012 12:33 PM
System.out.println("**********Busquedas Categorias**********");
String query2 = "select d.*, c.* from cmis:document as d join cm:generalclassifiable as c on d.cmis:objectId = c.cmis:objectId where c.cm:categorias='Documento'";
ItemIterable<QueryResult> q2 = session.query(query2, false);
System.out.println("RESULTADO DE BUSQUEDA: " + query2);
int i2 = 1;
for (QueryResult qr : q2)
{
System.out.println("——————————————–\n" + i2 + " , "
+ qr.getPropertyById("cmis:name").getFirstValue()
);
i2++;
}
Me da como resultado todo los documentos que tengo en el repositorio del servidor alfresco pero al poner mi clausula que me identifique solo String query2 = "select d.*, c.* from cmis:document as d join cm:generalclassifiable as c on d.cmis:objectId = c.cmis:objectId where c.cm:category LIKE '%Documento%' ";
10-23-2012 02:29 PM
03-16-2016 01:36 PM
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.