Creates the passed AuditLog in the database.
Syntax
long
createAuditLog
(
final AuditLog
auditLog
,
final long
callerId
) throws EntityMandatoryException, IllegalDataException
Parameters
-
auditLog –
the audit log entry to create.
-
callerId –
the caller id that is persisted as creator of this audit log.
Returns
the id of the newly created audit log.
Exceptions
-
EntityMandatoryException –
if the passed auditLog is null.
-
IllegalDataException –
if the passed auditLog has an id provided.
Usage
The id must be
null
, since it will be generated during creation.
the id of the newly created audit log.