|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface NoteService
This service provides various operations related to Note
objects.
Method Summary | |
---|---|
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. |
Method Detail |
---|
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 with
Note getNoteByNoteId(Long noteId)
noteId
- the note id to search by
IllegalArgumentException
- if the specified id is nullvoid saveNoteList(List<Note> notes)
notes
- the list of notes to save
IllegalStateException
- if any of the notes in the list have an invalid remoteObjectIdNote save(Note note)
note
- the note to save
IllegalArgumentException
- if the specified note is null
IllegalStateException
- if the given note's remoteObjectId is not validvoid deleteNote(Note note)
note
- the note to delete
IllegalArgumentException
- 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 with
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |