|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectau.edu.archer.services.icat.impl.AuditInfoImpl
public class AuditInfoImpl
This class replace the AuditInfo base class which is responsible for updating the MOD_TIME and CREATE_TIME on all elements.
| Constructor Summary | |
|---|---|
AuditInfoImpl()
|
|
| Method Summary | |
|---|---|
boolean |
onPreInsert(org.hibernate.event.PreInsertEvent event)
When an item is inserted we want to set the create and modify time. |
boolean |
onPreUpdate(org.hibernate.event.PreUpdateEvent event)
When an item is updated we want to set the modify time. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AuditInfoImpl()
| Method Detail |
|---|
public boolean onPreInsert(org.hibernate.event.PreInsertEvent event)
onPreInsert in interface org.hibernate.event.PreInsertEventListenerpublic boolean onPreUpdate(org.hibernate.event.PreUpdateEvent event)
onPreUpdate in interface org.hibernate.event.PreUpdateEventListener
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||