U
- the auditing type. Typically some kind of user.ID
- the type of the audited type's identifierpublic interface Auditable<U,ID extends Serializable> extends Persistable<ID>
Modifier and Type | Method and Description |
---|---|
U |
getCreatedBy()
Returns the user who created this entity.
|
org.joda.time.DateTime |
getCreatedDate()
Returns the creation date of the entity.
|
U |
getLastModifiedBy()
Returns the user who modified the entity lastly.
|
org.joda.time.DateTime |
getLastModifiedDate()
Returns the date of the last modification.
|
void |
setCreatedBy(U createdBy)
Sets the user who created this entity.
|
void |
setCreatedDate(org.joda.time.DateTime creationDate)
Sets the creation date of the entity.
|
void |
setLastModifiedBy(U lastModifiedBy)
Sets the user who modified the entity lastly.
|
void |
setLastModifiedDate(org.joda.time.DateTime lastModifiedDate)
Sets the date of the last modification.
|
getId, isNew
U getCreatedBy()
void setCreatedBy(U createdBy)
createdBy
- the creating entity to setorg.joda.time.DateTime getCreatedDate()
void setCreatedDate(org.joda.time.DateTime creationDate)
creationDate
- the creation date to setU getLastModifiedBy()
void setLastModifiedBy(U lastModifiedBy)
lastModifiedBy
- the last modifying entity to setorg.joda.time.DateTime getLastModifiedDate()
void setLastModifiedDate(org.joda.time.DateTime lastModifiedDate)
lastModifiedDate
- the date of the last modification to setCopyright © 2011-2013-2013 SpringSource. All Rights Reserved.