public static interface AnnotatedPluginDocument.DocumentNotes
DocumentNotes on an AnnotatedPluginDocument| Modifier and Type | Method and Description |
|---|---|
List<DocumentNote> |
getAllNotes() |
DocumentNote |
getNote(String code) |
void |
removeNote(String code)
Remove a note from this
AnnotatedPluginDocument |
void |
saveNotes()
Saves these notes to the AnnotatedPluginDocument and in turn to the database.
|
void |
setNote(DocumentNote note)
Add a note to this document (if no note with the same code exists) or update a note (if
a note with the same code does exist).
|
DocumentNote getNote(String code)
code - of DocumentNote to getDocumentNote with code code or null if doesnt existvoid setNote(DocumentNote note)
DocumentNoteType.createDocumentNote()
to get an instance of the desired note type. Use DocumentNoteUtilities to get access to the available
note types.note - to add or modifyvoid removeNote(String code)
AnnotatedPluginDocumentcode - of the note to removeList<DocumentNote> getAllNotes()
AnnotatedPluginDocumentvoid saveNotes()
AnnotatedPluginDocument.save() if only notes have been modified.