org.dbforms.event
Class ValidationEvent
java.lang.Object
org.dbforms.event.WebEvent
org.dbforms.event.DatabaseEvent
org.dbforms.event.ValidationEvent
- Direct Known Subclasses:
- InsertEvent, InsertEvent, UpdateEvent, UpdateEvent
public abstract class ValidationEvent
- extends DatabaseEvent
abstract base class for all database operations which need validation, e.g.
InsertEvent and UpdateEvent
- Author:
- hkk
Methods inherited from class org.dbforms.event.WebEvent |
getConfig, getFollowUp, getFollowUpOnError, getProperties, getRequest, getTable, getType, hasUserPrivileg, setFollowUp, setFollowUpOnError, setProperties, setRequest, setTable, setType |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ValidationEvent
public ValidationEvent(int tableId,
String keyId,
HttpServletRequest request,
DbFormsConfig config)
- Creates a new ValidationEvent object.
- Parameters:
tableId
- DOCUMENT ME!keyId
- DOCUMENT ME!request
- DOCUMENT ME!config
- DOCUMENT ME!
doValidation
public void doValidation(String formValidatorName,
ServletContext context)
throws MultipleValidationException
- DO the validation of the form with Commons-Validator.
- Overrides:
doValidation
in class DatabaseEvent
- Parameters:
formValidatorName
- The form name to retreive in validation.xmlcontext
- The servlet request we are processing
- Throws:
MultipleValidationException
- The Vector of errors throwed with
this exception
Copyright © 2002-2005 DbForms. All Rights Reserved.