|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
U - the auditing type. Typically some kind of user.PK - the type of the auditing type's idenifierpublic interface Auditable<U,PK extends java.io.Serializable>
Interface for auditable entities. Allows storing and retrieving creation and modification information. The changing instance (typically some user) is to be defined by a generics definition.
| Method Summary | |
|---|---|
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 |
setCreated(org.joda.time.DateTime creationDate)
Sets the creation date of the entity. |
void |
setCreatedBy(U createdBy)
Sets the user who created this entity. |
void |
setLastModified(org.joda.time.DateTime lastModifiedDate)
Sets the date of the last modification. |
void |
setLastModifiedBy(U lastModifiedBy)
Sets the user who modified the entity lastly. |
| Methods inherited from interface org.synyx.hades.domain.Persistable |
|---|
getId, isNew |
| Method Detail |
|---|
U getCreatedBy()
void setCreatedBy(U createdBy)
createdBy - the creating entity to setorg.joda.time.DateTime getCreatedDate()
void setCreated(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 setLastModified(org.joda.time.DateTime lastModifiedDate)
lastModifiedDate - the date of the last modification to set
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||