public interface NucleusNoteService
Modifier and Type | Method and Description |
---|---|
boolean |
addNote(User user,
CommandSource source,
String note)
Adds a note to a subject.
|
boolean |
clearNotes(User user)
Clears all notes from a subject.
|
com.google.common.collect.ImmutableList<Note> |
getNotes(User user)
Gets all notes for a specific user
|
boolean |
removeNote(User user,
Note note)
Removes a note from a subject.
|
com.google.common.collect.ImmutableList<Note> getNotes(User user)
boolean addNote(User user, CommandSource source, String note)
user
- The User
to add a note to.source
- The CommandSource
that is adding the note.note
- The note to add.true
if the note was added.