|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.olat.core.logging.LogDelegator
org.olat.note.NoteManager
public class NoteManager
Description:
| Method Summary | |
|---|---|
void |
deleteNote(Note n)
Deletes a note on the database |
void |
deleteUserData(Identity identity,
java.lang.String newDeletedUserName)
Delete all notes for certain identity. |
static NoteManager |
getInstance()
|
java.util.List<Note> |
listUserNotes(Identity owner)
|
Note |
loadNoteOrCreateInRAM(Identity owner,
java.lang.String resourceTypeName,
java.lang.Long resourceTypeId)
|
void |
saveNote(Note n)
Save a note |
void |
updateNote(Note n)
Update a note |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static NoteManager getInstance()
public Note loadNoteOrCreateInRAM(Identity owner,
java.lang.String resourceTypeName,
java.lang.Long resourceTypeId)
owner - resourceTypeName - resourceTypeId -
public java.util.List<Note> listUserNotes(Identity owner)
owner -
public void deleteNote(Note n)
n - the notepublic void saveNote(Note n)
n - public void updateNote(Note n)
n -
public void deleteUserData(Identity identity,
java.lang.String newDeletedUserName)
deleteUserData in interface UserDataDeletableidentity - Delete notes for this identity.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||