Package com.axelor.auth.db
Class AuditableModel
- java.lang.Object
-
- com.axelor.db.Model
-
- com.axelor.auth.db.AuditableModel
-
- Direct Known Subclasses:
DMSFile
,DMSFileTag
,DMSPermission
,Group
,MailAddress
,MailFlags
,MailFollower
,MailMessage
,MetaAction
,MetaActionMenu
,MetaAttachment
,MetaEnum
,MetaField
,MetaFile
,MetaFilter
,MetaJsonField
,MetaJsonModel
,MetaJsonRecord
,MetaMenu
,MetaModel
,MetaModule
,MetaPermission
,MetaPermissionRule
,MetaSchedule
,MetaScheduleParam
,MetaSelect
,MetaSelectItem
,MetaSequence
,MetaView
,MetaViewCustom
,Permission
,Role
,Team
,TeamTask
,TeamTopic
,User
@MappedSuperclass public abstract class AuditableModel extends Model
The base abstract class with update logging feature.The model instance logs the creation date, last modified date, the authorized user who created the record and the user who updated the record last time.
-
-
Constructor Summary
Constructors Constructor Description AuditableModel()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description User
getCreatedBy()
LocalDateTime
getCreatedOn()
User
getUpdatedBy()
LocalDateTime
getUpdatedOn()
-
Methods inherited from class com.axelor.db.Model
getArchived, getId, getVersion, isSelected, setArchived, setId, setSelected, setVersion
-
-
-
-
Method Detail
-
getCreatedOn
public LocalDateTime getCreatedOn()
-
getUpdatedOn
public LocalDateTime getUpdatedOn()
-
getCreatedBy
public User getCreatedBy()
-
getUpdatedBy
public User getUpdatedBy()
-
-