createNote(final Note, final long) method

Creates the passed Note in the database.

Syntax

long createNote ( final Note note , final long callerId ) throws EntityMandatoryException, IllegalDataException

Parameters

Returns

the id of the newly created note.

Exceptions

Usage

The id must be

null

, since it will be generated during creation.

the id of the newly created note.