Class RecordsManagementAuditEntry
java.lang.Object
org.alfresco.module.org_alfresco_module_rm.audit.RecordsManagementAuditEntry
Class to represent a Records Management audit entry.
- Author:
- Gavin Cornwell
-
Constructor Summary
ConstructorsConstructorDescriptionRecordsManagementAuditEntry
(Date timestamp, String userName, String fullName, String userRole, NodeRef nodeRef, String nodeName, String nodeType, String event, String identifier, String path, Map<QName, Serializable> beforeProperties, Map<QName, Serializable> afterProperties) Default constructor -
Method Summary
-
Constructor Details
-
RecordsManagementAuditEntry
public RecordsManagementAuditEntry(Date timestamp, String userName, String fullName, String userRole, NodeRef nodeRef, String nodeName, String nodeType, String event, String identifier, String path, Map<QName, Serializable> beforeProperties, Map<QName, Serializable> afterProperties) Default constructor
-
-
Method Details
-
toString
-
getTimestamp
- Returns:
- The date of the audit entry
-
getTimestampString
- Returns:
- The date of the audit entry as an ISO8601 formatted String
-
getUserName
- Returns:
- The username of the user that caused the audit log entry to be created
-
getFullName
- Returns:
- The full name of the user that caused the audit log entry to be created
-
getUserRole
- Returns:
- The role of the user that caused the audit log entry to be created
-
getNodeRef
- Returns:
- The NodeRef of the node the audit log entry is for
-
getNodeName
- Returns:
- The name of the node the audit log entry is for
-
getNodeType
- Returns:
- The type of the node the audit log entry is for
-
getEvent
- Returns:
- The human readable description of the reason for the audit log entry i.e. metadata updated, record declared
-
getIdentifier
An identifier for the item being audited, for example for a record it will be the unique record identifier, for a user it would be the username etc.- Returns:
- Ad identifier for the thing being audited
-
getPath
- Returns:
- The path to the object being audited
-
getBeforeProperties
- Returns:
- Map of properties before the audited action
-
getAfterProperties
- Returns:
- Map of properties after the audited action
-
getChangedProperties
- Returns:
- Map of changed properties
-