Package ome.security.basic
Class UpdateEventListener
- java.lang.Object
-
- ome.security.basic.UpdateEventListener
-
- All Implemented Interfaces:
java.io.Serializable
,org.hibernate.event.PreUpdateEventListener
public class UpdateEventListener extends java.lang.Object implements org.hibernate.event.PreUpdateEventListener
responsible for setting theupdat event
on all events shortly before being saved.- Since:
- 3.0-M3
- See Also:
BasicSecuritySystem
, Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
UPDATE_EVENT
-
Constructor Summary
Constructors Constructor Description UpdateEventListener(CurrentDetails cd)
main constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
onPreUpdate(org.hibernate.event.PreUpdateEvent event)
updates the update event field of anIObject
instance.
-
-
-
Field Detail
-
UPDATE_EVENT
public static final java.lang.String UPDATE_EVENT
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
UpdateEventListener
public UpdateEventListener(CurrentDetails cd)
main constructor. controls access to individual db rows..
-
-