|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.synyx.hades.domain.AbstractPersistable<PK>
org.synyx.hades.domain.auditing.AbstractAuditable<U,PK>
U - the auditing type. Typically some kind of user.PK - the type of the auditing type's idenifier@MappedSuperclass public abstract class AbstractAuditable<U,PK extends java.io.Serializable>
Abstract base class for auditable entities. Stores the audition values in persistent fields.
| Constructor Summary | |
|---|---|
AbstractAuditable()
|
|
| 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 |
setCreatedBy(U createdBy)
Sets the user who created this entity. |
void |
setCreatedDate(org.joda.time.DateTime createdDate)
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. |
| Methods inherited from class org.synyx.hades.domain.AbstractPersistable |
|---|
equals, getId, hashCode, isNew, setId, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface org.synyx.hades.domain.Persistable |
|---|
getId, isNew |
| Constructor Detail |
|---|
public AbstractAuditable()
| Method Detail |
|---|
public U getCreatedBy()
Auditable
getCreatedBy in interface Auditable<U,PK extends java.io.Serializable>public void setCreatedBy(U createdBy)
Auditable
setCreatedBy in interface Auditable<U,PK extends java.io.Serializable>createdBy - the creating entity to setpublic org.joda.time.DateTime getCreatedDate()
Auditable
getCreatedDate in interface Auditable<U,PK extends java.io.Serializable>public void setCreatedDate(org.joda.time.DateTime createdDate)
Auditable
setCreatedDate in interface Auditable<U,PK extends java.io.Serializable>createdDate - the creation date to setpublic U getLastModifiedBy()
Auditable
getLastModifiedBy in interface Auditable<U,PK extends java.io.Serializable>public void setLastModifiedBy(U lastModifiedBy)
Auditable
setLastModifiedBy in interface Auditable<U,PK extends java.io.Serializable>lastModifiedBy - the last modifying entity to setpublic org.joda.time.DateTime getLastModifiedDate()
Auditable
getLastModifiedDate in interface Auditable<U,PK extends java.io.Serializable>public void setLastModifiedDate(org.joda.time.DateTime lastModifiedDate)
Auditable
setLastModifiedDate in interface Auditable<U,PK extends java.io.Serializable>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 | |||||||||