public interface NoteService
Note objects.| Modifier and Type | Method and Description | 
|---|---|
| Note | createNote(Note noteToCopy,
                    PersistableBusinessObject bo,
                    String authorPrincipalId)Creates a new note which is a copy of the given note and is associated with
 the specified PersistableBusinessObject and Person. | 
| void | deleteNote(Note note)Deletes the specified note. | 
| List<Note> | getByRemoteObjectId(String remoteObjectId)Retrieves a list of notes that are associated with the given object id. | 
| Note | getNoteByNoteId(Long noteId)Retrieves the note with the given id. | 
| Note | save(Note note)Saves the specified note. | 
| void | saveNoteList(List<Note> notes)Saves the given lists of notes. | 
List<Note> getByRemoteObjectId(String remoteObjectId)
PersistableBusinessObject
 that the note was attached to when it was created.remoteObjectId - the object id that the notes being searched for are associated withNote getNoteByNoteId(Long noteId)
noteId - the note id to search byIllegalArgumentException - if the specified id is nullvoid saveNoteList(List<Note> notes)
notes - the list of notes to saveIllegalStateException - if any of the notes in the list have an invalid remoteObjectIdNote save(Note note)
note - the note to saveIllegalArgumentException - if the specified note is nullIllegalStateException - if the given note's remoteObjectId is not validvoid deleteNote(Note note)
note - the note to deleteIllegalArgumentException - if the given note is nullNote createNote(Note noteToCopy, PersistableBusinessObject bo, String authorPrincipalId)
noteToCopy - the note to copybo - the business object to associate the Note withCopyright © 2005-2015 The Kuali Foundation. All Rights Reserved.