Class RecordsManagementAuditEntry


  • @AlfrescoPublicApi
    public final class RecordsManagementAuditEntry
    extends Object
    Class to represent a Records Management audit entry.
    Author:
    Gavin Cornwell
    • Method Detail

      • getTimestamp

        public Date getTimestamp()
        Returns:
        The date of the audit entry
      • getTimestampString

        public String getTimestampString()
        Returns:
        The date of the audit entry as an ISO8601 formatted String
      • getUserName

        public String getUserName()
        Returns:
        The username of the user that caused the audit log entry to be created
      • getFullName

        public String getFullName()
        Returns:
        The full name of the user that caused the audit log entry to be created
      • getUserRole

        public String getUserRole()
        Returns:
        The role of the user that caused the audit log entry to be created
      • getNodeRef

        public NodeRef getNodeRef()
        Returns:
        The NodeRef of the node the audit log entry is for
      • getNodeName

        public String getNodeName()
        Returns:
        The name of the node the audit log entry is for
      • getNodeType

        public String getNodeType()
        Returns:
        The type of the node the audit log entry is for
      • getEvent

        public String getEvent()
        Returns:
        The human readable description of the reason for the audit log entry i.e. metadata updated, record declared
      • getIdentifier

        public String 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

        public String getPath()
        Returns:
        The path to the object being audited
      • getBeforeProperties

        public Map<QName,​Serializable> getBeforeProperties()
        Returns:
        Map of properties before the audited action
      • getAfterProperties

        public Map<QName,​Serializable> getAfterProperties()
        Returns:
        Map of properties after the audited action