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


Method Summary
 void onDelete(Persistent o)
           
 void onInsert(Persistent o)
           
 void onUpdate(Persistent o)
           
 

Method Detail

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.