Class DocumentChangeLog


  • public class DocumentChangeLog
    extends HibernateObject
    Records changes made to documents. It logs the type and ID of the entity, details of the changes (from and to values), and the user responsible, maintaining an audit trail of document modifications.
    • Constructor Detail

      • DocumentChangeLog

        public DocumentChangeLog()
    • Method Detail

      • getEntityType

        public java.lang.String getEntityType()
      • setEntityType

        public void setEntityType​(java.lang.String entityType)
      • getEntityId

        public java.lang.Integer getEntityId()
      • setEntityId

        public void setEntityId​(java.lang.Integer entityId)
      • getActionedBy

        public User getActionedBy()
      • setActionedBy

        public void setActionedBy​(User actionedBy)
      • getActionedDate

        public java.util.Date getActionedDate()
      • setActionedDate

        public void setActionedDate​(java.util.Date actionedDate)
      • getChangeValue

        public java.lang.String getChangeValue()
      • setChangeValue

        public void setChangeValue​(java.lang.String changeValue)
      • getChangeFrom

        public java.lang.String getChangeFrom()
      • setChangeFrom

        public void setChangeFrom​(java.lang.String changeFrom)
      • getChangeTo

        public java.lang.String getChangeTo()
      • setChangeTo

        public void setChangeTo​(java.lang.String changeTo)
      • logChange

        public static void logChange​(java.lang.String entityType,
                                     java.lang.Integer id,
                                     User activeUser,
                                     java.lang.String changeValue,
                                     java.lang.String changeFrom,
                                     java.lang.String changeTo)