public interface IValidator
| Modifier and Type | Method and Description |
|---|---|
String |
getUI(javax.servlet.http.HttpServletRequest request,
int nIdForm)
Returns the validator interface
|
boolean |
isAssociatedWithForm(int nIdForm)
Checks if the validator is associated with the form
|
void |
removeAssociationsWithForm(int nIdForm)
Removes the associations with the form
|
void |
validateForm(javax.servlet.http.HttpServletRequest request,
FormSubmit formSubmit,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Validates the form
|
String getUI(javax.servlet.http.HttpServletRequest request, int nIdForm)
request - HttpServletRequestnIdForm - the form idboolean isAssociatedWithForm(int nIdForm)
nIdForm - the form idvoid removeAssociationsWithForm(int nIdForm)
nIdForm - the form idvoid validateForm(javax.servlet.http.HttpServletRequest request,
FormSubmit formSubmit,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
throws fr.paris.lutece.portal.service.message.SiteMessageException
request - HttpServletRequestformSubmit - the form submitplugin - the pluginfr.paris.lutece.portal.service.message.SiteMessageException - If a message needs to be displayedCopyright © 2016 Mairie de Paris. All rights reserved.