So the JavaDocs talks about IDfNote, and that class has two methods:
void addNote(IDfId targetId, boolean keepPermanent) throws DfException
void removeNoteEx(IDfId targetId) throws DfException
So lets say I have a document, and I want to add a note to it... something like
public void addNoteToDocument(String documentId, String noteToAdd) throws DfException {
IDfDocument doc = getAndVerifyDocument(documentId);
//How do I create a new note, this is not supported by DFC
IDfNote dmNote = new DfNote();
//How do I add the text to the note, this is not supported by DFC
dmNote.setText(noteToAdd);
dmNote.addNote(new IDfId(documentId), true);
}
So there seems to be two big holes in the IDfNote interface. First there is no concrete class for the note, secondly, there is no way to add the text. Doing a describe on the DM_NOTE table, shows that there seems to be no place to add the string of the note.
Very confusing. Thanks for the help in advance.
Pete