fr.paris.lutece.plugins.form.business.validator
Interface IValidator

All Known Implementing Classes:
Validator

public interface IValidator

IValidator


Method Summary
 java.lang.String getUI(javax.servlet.http.HttpServletRequest request, int nIdForm)
          Returns the validator interface
 void removeAssociationsWithForm(int nIdForm)
          Removes the associations with the form
 void validateForm(javax.servlet.http.HttpServletRequest request, FormSubmit formSubmit)
          Validates the form
 

Method Detail

getUI

java.lang.String getUI(javax.servlet.http.HttpServletRequest request,
                       int nIdForm)
Returns the validator interface

Parameters:
request - HttpServletRequest
nIdForm - the form id
Returns:
the validator interface

removeAssociationsWithForm

void removeAssociationsWithForm(int nIdForm)
Removes the associations with the form

Parameters:
nIdForm - the form id

validateForm

void validateForm(javax.servlet.http.HttpServletRequest request,
                  FormSubmit formSubmit)
Validates the form

Parameters:
request - HttpServletRequest
formSubmit - the form submit


Copyright © 2010 Mairie de Paris. All Rights Reserved.