AnsweredAssumed Answered

How can I use predicate to query a document's thumbnail ?

Question asked by zengqingyi12 on Apr 15, 2010
I am using the following code to retrieve thumbnail of a document:
      try {
         org.alfresco.webservice.content.Content[] read = getContentService().read(new Predicate(new Reference[]{node}, STORE, null),  QUERY));
         content = read[0];
         System.out.println("Got " +  new Integer(read.length).toString() + " content elements.");
         System.out.println("The first content element has a size of "+ new Long(content.getLength()).toString() + " segments.");

But I don't know how to write the query clause, can someone give advice to me ?