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