public class AuditEntry extends AbstractIdentifiable
Modifier and Type | Class and Description |
---|---|
static class |
AuditEntry.Mode
The execution mode in which the audit entry was recorded.
|
Constructor and Description |
---|
AuditEntry(String id,
Date timestamp,
String userId,
String action,
String sourceTypeId,
String sourceId,
String sourceName,
String sourceLocation,
AuditEntry.Mode mode)
It is not intended or recommended that the consumer of this API construct these objects.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
String |
getAction()
Gets the action performed.
|
AuditEntry.Mode |
getMode()
Gets the mode on which the audit entry was recorded.
|
String |
getSourceId()
Gets the unique identifier of the object that was acted upon.
|
String |
getSourceLocation()
Gets the location of the object that was acted upon.
|
String |
getSourceName()
Gets the name of the object that was acted upon.
|
String |
getSourceTypeId()
Gets the type identifier of object that was acted upon.
|
Date |
getTimestamp()
Gets the date and time in which the action was performed.
|
String |
getUserId()
Gets the identifier of the user who performed the action.
|
int |
hashCode() |
String |
toString() |
getId, getTypeId
public AuditEntry(String id, Date timestamp, String userId, String action, String sourceTypeId, String sourceId, String sourceName, String sourceLocation, AuditEntry.Mode mode)
id
- the unique identifier for the entry.timestamp
- the date and time the action was performed.userId
- the user who performed the action.action
- the action that was performed.sourceTypeId
- the type identifier of object that was acted upon.sourceId
- the unique identifier of the object that was acted upon.sourceName
- the name of the object that was acted upon.sourceLocation
- the location of the object that was acted upon.mode
- the mode in which the audit entry was recorded.public String getUserId()
public String getSourceTypeId()
public String getSourceId()
public String getSourceLocation()
public String getSourceName()
public String getAction()
public Date getTimestamp()
public AuditEntry.Mode getMode()
public int hashCode()
hashCode
in class AbstractIdentifiable
public boolean equals(Object obj)
equals
in class AbstractIdentifiable
public String toString()
toString
in class AbstractIdentifiable
<i>Copyright (c) 2021, SAS Institute Inc., Cary, NC, USA</i>