| Modifier and Type | Class and Description |
|---|---|
| private static class |
| Modifier and Type | Field and Description |
|---|---|
| private static final String | |
| pack-priv static final String | FAILED_FIELD_LEVEL_VALIDATION
Special value to indicate the proposed value for a property failed field-level validation. |
| private static final Logger | |
| pack-priv static final String |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| private Object | copyBeanAndPopulateWithCandidateValues(FacesContext context, ValueExpression wholeBeanVE, Object wholeBean, String copierType, Map<String, Map<String, Object>> candidate)
|
| private Set | doBeanValidation(Validator beanValidator, Object wholeBeanCopy, Class<?>[] validationGroupArray, ValueExpression wholeBeanVE)
|
| pack-priv static Map | |
| private UIForm | |
| private boolean | |
| private void | |
| private boolean | |
| public void | validate(FacesContext
FacesContext for the request we are processing context, UIComponent UIComponent we are checking for correctness component, Object the value to validate value)Implements jakarta.
Perform the correctness checks implemented by this |
| public void |
| ERROR_MISSING_FORM | back to summary |
|---|---|
| private static final String ERROR_MISSING_FORM | |
| FAILED_FIELD_LEVEL_VALIDATION | back to summary |
|---|---|
| pack-priv static final String FAILED_FIELD_LEVEL_VALIDATION Special value to indicate the proposed value for a property failed field-level validation. This prevents any attempt to perform class level validation. | |
| LOGGER | back to summary |
|---|---|
| private static final Logger LOGGER | |
| MULTI_FIELD_VALIDATION_CANDIDATES | back to summary |
|---|---|
| pack-priv static final String MULTI_FIELD_VALIDATION_CANDIDATES | |
| WholeBeanValidator | back to summary |
|---|---|
| pack-priv WholeBeanValidator() | |
| copyBeanAndPopulateWithCandidateValues | back to summary |
|---|---|
| private Object copyBeanAndPopulateWithCandidateValues(FacesContext context, ValueExpression wholeBeanVE, Object wholeBean, String copierType, Map<String, Map<String, Object>> candidate) | |
| doBeanValidation | back to summary |
|---|---|
| private Set | |
| getMultiFieldValidationCandidates | back to summary |
|---|---|
| pack-priv static Map | |
| getParentForm | back to summary |
|---|---|
| private UIForm getParentForm(UIComponent component) | |
| hasAnyBeanPropertyFailedValidation | back to summary |
|---|---|
| private boolean hasAnyBeanPropertyFailedValidation(FacesContext context, Object wholeBean) | |
| invalidateComponent | back to summary |
|---|---|
| private void invalidateComponent(Map. | |
| isFailedFieldLevelValidation | back to summary |
|---|---|
| private boolean isFailedFieldLevelValidation(Map. | |
| validate | back to summary |
|---|---|
| public void validate(FacesContext context, UIComponent component, Object value) throws ValidatorException Implements jakarta. Doc from jakarta.
Perform the correctness checks implemented by this
For a validator to be fully compliant with Version 2 and later of the specification, it must not fail validation on
| |
| validate | back to summary |
|---|---|
| public void validate(FacesContext context, UIValidateWholeBean component, Object value) throws ValidatorException | |
| Modifier and Type | Field and Description |
|---|---|
| private final Object | |
| private final Map | |
| private final FacesContext |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| pack-priv final Map | |
| private static Object | |
| public VisitResult | visit(VisitContext
the visitContext, UIComponent VisitContext for this tree visit.the component)UIComponent to visitImplements jakarta.
This method is called during component tree visits by |
| base | back to summary |
|---|---|
| private final Object base | |
| candidate | back to summary |
|---|---|
| private final Map<String, Map<String, Object>> candidate | |
| context | back to summary |
|---|---|
| private final FacesContext context | |
| AddRemainingCandidateFieldsCallback | back to summary |
|---|---|
| public AddRemainingCandidateFieldsCallback(final FacesContext context, final Object base) | |
| getCandidate | back to summary |
|---|---|
| pack-priv final Map | |
| getComponentValue | back to summary |
|---|---|
| private static Object getComponentValue(UIComponent component) | |
| visit | back to summary |
|---|---|
| public VisitResult visit(VisitContext visitContext, UIComponent component) Implements jakarta. Doc from jakarta.
This method is called during component tree visits by
| |