ome.security.basic
Class UpdateEventListener

java.lang.Object
  extended by 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: 2672 $, $Date: 2008-08-06 10:39:04 +0100 (Wed, 06 Aug 2008) $
Author:
Josh Moore, josh.moore at gmx.de
See Also:
BasicSecuritySystem, Serialized Form

Field Summary
static String UPDATE_EVENT
           
 
Constructor Summary
UpdateEventListener(CurrentDetails cd)
          main constructor. controls access to individual db rows..
 
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
 

Field Detail

UPDATE_EVENT

public static final String UPDATE_EVENT
See Also:
Constant Field Values
Constructor Detail

UpdateEventListener

public UpdateEventListener(CurrentDetails cd)
main constructor. controls access to individual db rows..

Method Detail

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: Beta-4.1.1-r5927-b91

Copyright © 2009 The University of Dundee. All Rights Reserved.