public class AuditLogEntry extends SystemModel<AuditLogEntry> implements Timeable
Constructor and Description |
---|
AuditLogEntry(Id<AuditLogEntry,UUID> id,
Id<SystemInformation,UUID> sysId,
String user,
String origin,
Date timestamp,
String activity,
String description)
Constructs an Audit Log Entry using the supplied unique identification
and system identification.
|
AuditLogEntry(Id<SystemInformation,UUID> sysId,
String user,
String origin,
Date timestamp,
String activity,
String description)
Constructs an Audit Log Entry.
|
Modifier and Type | Method and Description |
---|---|
String |
getActivity()
Returns the activity associated with this audit log entry
|
String |
getDescription()
Returns the description associated with this audit log entry
|
String |
getOrigin()
Returns the origin associated with this audit log entry.
|
Date |
getTimestamp()
Gets the time the event occurred.
|
String |
getUser()
Returns the user associated with this audit log entry.
|
getSysId, toString
equals, getId, hashCode
public AuditLogEntry(Id<SystemInformation,UUID> sysId, String user, String origin, Date timestamp, String activity, String description)
sysId
- system identification for this audit loguser
- user name for this audit logorigin
- the originating entity for this alerttimestamp
- the date when the audit log was createdactivity
- type of action associated with audit logdescription
- brief description of activityIllegalArgumentException
- if system identification is nullNullPointerException
- if user, time stamp, activity or
description are nullpublic AuditLogEntry(Id<AuditLogEntry,UUID> id, Id<SystemInformation,UUID> sysId, String user, String origin, Date timestamp, String activity, String description)
id
- external identification for this audit logsysId
- system id for this audit loguser
- user name for this audit logorigin
- the originating entity for this alerttimestamp
- the date when the audit log was createdactivity
- type of action associated with audit logdescription
- brief description of activityIllegalArgumentException
- if unique identification or system
identification are nullNullPointerException
- if user, time stamp, activity or
description are nullpublic String getUser()
public String getOrigin()
public Date getTimestamp()
Timeable
getTimestamp
in interface Timeable
public String getActivity()
public String getDescription()
Copyright © 2015. All Rights Reserved.