Package com.groiss.dms
Class FormEventAdapter<T extends DMSForm>
java.lang.Object
com.groiss.dms.FormEventAdapter<T>
- All Implemented Interfaces:
FormEventHandler<T>
@Deprecated
public class FormEventAdapter<T extends DMSForm>
extends Object
implements FormEventHandler<T>
Deprecated.
The adapter which receives form events. The methods in this class are empty;
this class is provided as a convenience for easily creating handlers by extending this class and
overriding only the methods of interest.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
beforeDelete
(T f) Deprecated.This method is called before the form is deleted.void
beforeInsert
(T f) Deprecated.This method is called before the form is inserted into the store.void
beforeUpdate
(T f) Deprecated.This method is called before the form is updated in the store (the existing form in the store will be overwritten with the values of this form).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.dms.FormEventHandler
afterDelete, afterInsert, afterUpdate, beforeShow, getName, onShow
-
Constructor Details
-
FormEventAdapter
public FormEventAdapter()Deprecated.
-
-
Method Details
-
beforeInsert
Deprecated.This method is called before the form is inserted into the store.- Specified by:
beforeInsert
in interfaceFormEventHandler<T extends DMSForm>
- Parameters:
f
- the form to insert- Throws:
Exception
-
beforeUpdate
Deprecated.This method is called before the form is updated in the store (the existing form in the store will be overwritten with the values of this form).- Specified by:
beforeUpdate
in interfaceFormEventHandler<T extends DMSForm>
- Parameters:
f
- the form to update- Throws:
Exception
-
beforeDelete
Deprecated.This method is called before the form is deleted.- Specified by:
beforeDelete
in interfaceFormEventHandler<T extends DMSForm>
- Parameters:
f
- the form to delete- Throws:
Exception
-
onInsert
Deprecated.- Throws:
Exception
-
onUpdate
Deprecated.- Throws:
Exception
-
onDelete
Deprecated.- Throws:
Exception
-
FormEventHandler
directly which provides default implementations now