Uses of Interface
org.zkoss.bind.ValidationContext
-
Packages that use ValidationContext Package Description org.zkoss.bind org.zkoss.bind.impl org.zkoss.bind.sys org.zkoss.bind.validator org.zkoss.clientbind org.zkoss.zkmax.bind -
-
Uses of ValidationContext in org.zkoss.bind
Methods in org.zkoss.bind with parameters of type ValidationContext Modifier and Type Method Description void
Validator. validate(ValidationContext ctx)
-
Uses of ValidationContext in org.zkoss.bind.impl
Classes in org.zkoss.bind.impl that implement ValidationContext Modifier and Type Class Description class
ValidationContextImpl
the default implementation of validation contextMethods in org.zkoss.bind.impl with parameters of type ValidationContext Modifier and Type Method Description void
SaveFormBindingImpl. validate(ValidationContext vctx)
void
SavePropertyBindingImpl. validate(ValidationContext vctx)
-
Uses of ValidationContext in org.zkoss.bind.sys
Methods in org.zkoss.bind.sys with parameters of type ValidationContext Modifier and Type Method Description void
SaveBinding. validate(ValidationContext vctx)
do the validation by validator -
Uses of ValidationContext in org.zkoss.bind.validator
Methods in org.zkoss.bind.validator with parameters of type ValidationContext Modifier and Type Method Description protected void
AbstractValidator. addInvalidMessage(ValidationContext ctx, java.lang.String message)
add a message to validation context, when you call this method, it also set context invalid.protected void
AbstractValidator. addInvalidMessage(ValidationContext ctx, java.lang.String key, java.lang.String message)
add a message to validation context, when you call this method, it also sets context invalid.protected void
AbstractValidator. addInvalidMessage(ValidationContext ctx, java.lang.String key, java.lang.String message, java.lang.Object value)
add a message to validation context, when you call this method, it also sets context invalid.protected void
AbstractValidator. addInvalidMessages(ValidationContext ctx, java.lang.String[] messages)
add multiple messages to validation context, when you call this method, it also sets the context invalid.protected void
AbstractValidator. addInvalidMessages(ValidationContext ctx, java.lang.String key, java.lang.String[] messages)
add multiple messages to validation context, when you call this method, it also sets the context invalid.protected void
AbstractValidator. addInvalidMessages(ValidationContext ctx, java.lang.String key, java.lang.String[] messages, java.lang.Object value)
add multiple messages to validation context, when you call this method, it also sets the context invalid.protected java.lang.Object[]
BeanValidator. getValidationInfo(ValidationContext ctx, java.lang.Object base, java.lang.String property)
Get the bean class of the base object and property to validate.protected void
BeanValidator. handleConstraintViolation(ValidationContext ctx, java.util.Set<javax.validation.ConstraintViolation<?>> violations)
Handle hibernate ConstraintViolation. by default, it add to invalid messages.void
BeanValidator. validate(ValidationContext ctx)
void
CompositeValidator. validate(ValidationContext ctx)
void
DeferredValidator. validate(ValidationContext ctx)
-
Uses of ValidationContext in org.zkoss.clientbind
Methods in org.zkoss.clientbind with parameters of type ValidationContext Modifier and Type Method Description void
ClientSaveFormBindingImpl. validate(ValidationContext vctx)
void
ClientSavePropertyBindingImpl. validate(ValidationContext vctx)
-
Uses of ValidationContext in org.zkoss.zkmax.bind
Methods in org.zkoss.zkmax.bind with parameters of type ValidationContext Modifier and Type Method Description protected java.lang.Class
FormBeanValidator. getBeanClass(ValidationContext ctx, java.lang.Object base)
Get the bean class of the base object.protected java.lang.Object[]
BeanValidator. getValidationInfo(ValidationContext ctx, java.lang.Object base, java.lang.String property)
Get the bean class of the base object and property to validate.protected void
FormBeanValidator. handleConstraintViolation(ValidationContext ctx, java.lang.String key, java.util.Set<javax.validation.ConstraintViolation<?>> violations)
Handle hibernate ConstraintViolation.void
FormBeanValidator. validate(ValidationContext ctx)
-