Package com.groiss.store
Class PersistentEventAdapter<P extends Persistent>
java.lang.Object
com.groiss.store.PersistentEventAdapter<P>
- All Implemented Interfaces:
PersistentEventHandler<P>
@Deprecated
public class PersistentEventAdapter<P extends Persistent>
extends Object
implements PersistentEventHandler<P>
Deprecated.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
beforeDelete
(P o) Deprecated.Called before the object is deleted from the database.void
beforeInsert
(P o) Deprecated.Called before the object is inserted into the database.void
beforeUpdate
(P o) Deprecated.Called before the object is updated in the database.void
Deprecated.void
Deprecated.void
Deprecated.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.groiss.store.PersistentEventHandler
afterDelete, afterInsert, afterRead, afterUpdate
-
Constructor Details
-
PersistentEventAdapter
public PersistentEventAdapter()Deprecated.
-
-
Method Details
-
beforeInsert
Deprecated.Description copied from interface:PersistentEventHandler
Called before the object is inserted into the database.- Specified by:
beforeInsert
in interfacePersistentEventHandler<P extends Persistent>
- Parameters:
o
- the object to be inserted
-
beforeUpdate
Deprecated.Description copied from interface:PersistentEventHandler
Called before the object is updated in the database.- Specified by:
beforeUpdate
in interfacePersistentEventHandler<P extends Persistent>
- Parameters:
o
- the object to be updated
-
beforeDelete
Deprecated.Description copied from interface:PersistentEventHandler
Called before the object is deleted from the database.- Specified by:
beforeDelete
in interfacePersistentEventHandler<P extends Persistent>
- Parameters:
o
- the object to be deleted
-
onInsert
Deprecated.- Parameters:
o
-
-
onUpdate
Deprecated.- Parameters:
o
-
-
onDelete
Deprecated.- Parameters:
o
-
-
PersistentEventHandler
directly which provides default implementations now