I am a Java developer at Naturalis and have taken Geneious plugin development over from Reinier Kartowikromo.
I am trying to use the Geneious API to find all documents that have been annotated with a (custom) note with a particular value.
Originally we attempted to do this with hard-core SQL queries directly against the database, bypassing the Geneious API. But I cannot imagine that's how you intend it to be done. Yet I can't find anything in the Geneious Javadocs that seems to provide a solution. Ideally I'm looking for an API somewhat like this:
List<AnnotatedPluginDocument> getDocumentsWithNote(DocumentNoteField field, Object value)
Could you tell me how to go about this? NB We are still using Geneious 8.
Please sign in to leave a comment.