ome.security.basic
Class UpdateEventListener
java.lang.Object
ome.security.basic.UpdateEventListener
- All Implemented Interfaces:
- Serializable, org.hibernate.event.PreUpdateEventListener
public class UpdateEventListener
- extends Object
- implements org.hibernate.event.PreUpdateEventListener
responsible for setting the
updat event
on all
events shortly before being saved.
- Since:
- 3.0-M3
- Version:
- $Revision$, $Date$
- Author:
- Josh Moore, josh.moore at gmx.de
- See Also:
BasicSecuritySystem
,
Serialized Form
Method Summary |
boolean |
onPreUpdate(org.hibernate.event.PreUpdateEvent event)
updates the update event field of an IObject instance. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
UPDATE_EVENT
public static final String UPDATE_EVENT
- See Also:
- Constant Field Values
UpdateEventListener
public UpdateEventListener(CurrentDetails cd)
- main constructor. controls access to individual db rows..
onPreUpdate
public boolean onPreUpdate(org.hibernate.event.PreUpdateEvent event)
- updates the update event field of an
IObject
instance.
- Specified by:
onPreUpdate
in interface org.hibernate.event.PreUpdateEventListener
OmeroJava Api
Version: 4.3.4-dbcbce5a-b4
Copyright © 2009 The University of Dundee. All Rights Reserved.