com.groiss.store
Interface PersistentEventHandler
public interface PersistentEventHandler
This interface provides a hook for some action when an object is inserted, updated or
deleted. The methods onInsert, onUpdate, and onDelete are
called before the database operation is performed but after the corresponding
methods of Persistent are called.
Register your event handler using StoreUtil.addEventHandler
onInsert
void onInsert(Persistent o)
throws java.lang.Exception
- Throws:
java.lang.Exception
onUpdate
void onUpdate(Persistent o)
throws java.lang.Exception
- Throws:
java.lang.Exception
onDelete
void onDelete(Persistent o)
throws java.lang.Exception
- Throws:
java.lang.Exception
Copyright © 2001-2006 Groiss Informatics GmbH. All Rights Reserved.