|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectfr.paris.lutece.plugins.form.service.validator.ValidatorService
public class ValidatorService
ValidatorService
| Method Summary | |
|---|---|
Collection<IValidator> |
getAllValidators()
Returns all validators |
static ValidatorService |
getInstance()
Returns the unique instance of ValidatorService |
boolean |
isAssociatedWithForm(int nIdForm)
Checks if at least one validator is associated with the form |
void |
removeAssociationsWithForm(int nIdForm)
Removes the associations between all validators and the form |
void |
validateForm(javax.servlet.http.HttpServletRequest request,
FormSubmit formSubmit,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Validates the form using all validators |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static ValidatorService getInstance()
public Collection<IValidator> getAllValidators()
public void 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 plugin
fr.paris.lutece.portal.service.message.SiteMessageException - If a site message should be displayedpublic boolean isAssociatedWithForm(int nIdForm)
nIdForm - the form id
public void removeAssociationsWithForm(int nIdForm)
nIdForm - the form id
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||