public class UniqueValidator extends AbstractValidator
Constructor and Description |
---|
UniqueValidator(String strValidatorName,
String strValidatorDisplayName,
List<String> listAvailableEntryType)
Constructor of the PatternValidator
|
Modifier and Type | Method and Description |
---|---|
String |
getDisplayHtml(Control control) |
boolean |
validate(FormQuestionResponse formQuestionResponse,
Control control) |
getJavascriptControlValue, getJavascriptValidation, getListAvailableEntryType, getValidatorBeanName, getValidatorDisplayName, validate
public UniqueValidator(String strValidatorName, String strValidatorDisplayName, List<String> listAvailableEntryType)
strValidatorName
- The validator bean namestrValidatorDisplayName
- The validator display namelistAvailableEntryType
- The list of available entrytypepublic String getDisplayHtml(Control control)
getDisplayHtml
in interface IValidator
getDisplayHtml
in class AbstractValidator
control
- The control to build modelpublic boolean validate(FormQuestionResponse formQuestionResponse, Control control)
formQuestionResponse
- The response to controlcontrol
- The control to verifyCopyright © 2020 City of Paris. All rights reserved.