|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.day.cq.audit.AuditLogEntry
public class AuditLogEntry
The AuditEvent class represents the class for an audit event.
| Field Summary | |
|---|---|
protected String |
category
category |
protected String |
path
path |
protected Map<String,Object> |
properties
properties (optional) |
protected Date |
time
time of event |
protected String |
type
the event type |
protected String |
userid
userid |
| Constructor Summary | |
|---|---|
AuditLogEntry(String category,
Date time,
String userid,
String path,
String type,
Map<String,Object> properties)
Create a new AuditLogEntry. |
|
| Method Summary | |
|---|---|
String |
getCategory()
Return the category for this log entry. |
String |
getPath()
The path. |
Map<String,Object> |
getProperties()
This is an application specific property map. |
Date |
getTime()
Return the date of the audit log entry. |
String |
getType()
Returns the type of this audit log entry (this depends on the category) |
String |
getUserId()
Returns the user id. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected final Date time
protected final String userid
protected final String path
protected final String type
protected final String category
protected final Map<String,Object> properties
| Constructor Detail |
|---|
public AuditLogEntry(String category,
Date time,
String userid,
String path,
String type,
Map<String,Object> properties)
category - The category of the entry (required)time - The date of the action (required)userid - The userid (required)path - The path of the action (required)type - The action type (required)properties - A map of key value pairs (optional). All objects in the map must be serializable.| Method Detail |
|---|
public Date getTime()
public String getUserId()
public String getPath()
public String getType()
public String getCategory()
public Map<String,Object> getProperties()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||