Class WholeBeanValidator
java.lang.Object
org.apache.myfaces.component.validate.WholeBeanValidator
- All Implemented Interfaces:
Validator
,EventListener
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetValidationGroups
(ValidateWholeBeanComponent component) Get the Bean Validation validation groups.void
setValidationGroups
(ValidateWholeBeanComponent component, String validationGroups) Set the Bean Validation validation groups.void
validate
(FacesContext context, UIComponent component, Object value)
-
Constructor Details
-
WholeBeanValidator
public WholeBeanValidator()
-
-
Method Details
-
validate
public void validate(FacesContext context, UIComponent component, Object value) throws ValidatorException - Specified by:
validate
in interfaceValidator
- Throws:
ValidatorException
-
getValidationGroups
Get the Bean Validation validation groups.- Returns:
- The validation groups String.
-
setValidationGroups
Set the Bean Validation validation groups.- Parameters:
validationGroups
- The validation groups String, separated byBeanValidator.VALIDATION_GROUPS_DELIMITER
.
-