Deletes the passed Note from the database.
Syntax
void
deleteNote
(
final long
noteId
,
final long
callerId
) throws EntityNotFoundException
Parameters
-
noteId –
the id of the note
-
callerId –
the current caller id
Exceptions
-
EntityNotFoundException –
if the note is not found with the passed id