Package co.mastermindcms.common.entities
Class Auditable<U>
- java.lang.Object
-
- co.mastermindcms.common.entities.Auditable<U>
-
- All Implemented Interfaces:
java.io.Serializable
- Direct Known Subclasses:
Attribute
,BlogCategory
,Category
,Certificate
,Chat
,CommerceItem
,ContentContainer
,CustomerRequest
,Invoice
,Job
,Message
,Order
,Product
,Profile
,Seller
,SellerSKU
,ShoppingCart
,SKU
,User
,UserAuditSettings
,WebSiteSettings
public abstract class Auditable<U> extends java.lang.Object implements java.io.Serializable
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected U
createdBy
protected java.time.Instant
createdDate
protected U
lastModifiedBy
protected java.time.Instant
lastModifiedDate
protected java.util.Map<java.lang.String,java.lang.Object>
metaInfo
-
Constructor Summary
Constructors Constructor Description Auditable()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description U
getCreatedBy()
java.time.Instant
getCreatedDate()
U
getLastModifiedBy()
java.time.Instant
getLastModifiedDate()
java.util.Map<java.lang.String,java.lang.Object>
getMetaInfo()
void
putMetaInfo(java.lang.String key, java.lang.Object val)
void
removeMetaInfo(java.lang.String key)
void
setCreatedBy(U createdBy)
void
setCreatedDate(java.time.Instant createdDate)
void
setLastModifiedBy(U lastModifiedBy)
void
setLastModifiedDate(java.time.Instant lastModifiedDate)
void
setMetaInfo(java.util.Map<java.lang.String,java.lang.Object> metaInfo)
-
-
-
Method Detail
-
getCreatedBy
public U getCreatedBy()
-
setCreatedBy
public void setCreatedBy(U createdBy)
-
getCreatedDate
public java.time.Instant getCreatedDate()
-
setCreatedDate
public void setCreatedDate(java.time.Instant createdDate)
-
getLastModifiedBy
public U getLastModifiedBy()
-
setLastModifiedBy
public void setLastModifiedBy(U lastModifiedBy)
-
getLastModifiedDate
public java.time.Instant getLastModifiedDate()
-
setLastModifiedDate
public void setLastModifiedDate(java.time.Instant lastModifiedDate)
-
getMetaInfo
public java.util.Map<java.lang.String,java.lang.Object> getMetaInfo()
-
setMetaInfo
public void setMetaInfo(java.util.Map<java.lang.String,java.lang.Object> metaInfo)
-
putMetaInfo
public void putMetaInfo(java.lang.String key, java.lang.Object val)
-
removeMetaInfo
public void removeMetaInfo(java.lang.String key)
-
-