| java.lang.Object com.uwyn.rife.site.Validation
All known Subclasses: com.uwyn.rife.engine.testelements.submission.BeanImpl, com.uwyn.rife.database.querymanagers.generic.beans.UniqueBean, com.uwyn.rife.database.querymanagers.generic.beans.BeanImpl, com.uwyn.rife.database.querymanagers.generic.beans.CallbacksSparseBean, com.uwyn.rife.cmf.dam.ContentImage, com.uwyn.rife.site.ConstrainedBeanImpl, com.uwyn.rife.database.querymanagers.generic.beans.CallbacksBean, com.uwyn.rife.cmf.ContentInfo, com.uwyn.rife.engine.testelements.globals.BeanImpl, com.uwyn.rife.cmf.dam.ContentRaw, com.uwyn.rife.scheduler.Task, com.uwyn.rife.scheduler.Taskoption, com.uwyn.rife.cmf.ContentRepository, com.uwyn.rife.database.ConstrainedClass, com.uwyn.rife.engine.testelements.outputs.BeanImpl, com.uwyn.rife.engine.testelements.inputs.BeanImpl, com.uwyn.rife.template.HtmlBeanImpl, com.uwyn.rife.database.BeanImplConstrained,
Validation | public Validation()(Code) | | |
activateValidation | protected void activateValidation()(Code) | | This method is called at least once and maximum once when any method
related to Validated rules, subjects and group or Constrained
properties are used.
By overriding this method, you can thus isolate all the validation
setup code code and don't enforce a performance penalty at each object
construction when doing it in the default constructor.
since: 1.0 |
addConstraint | public void addConstraint(P constrainedProperty)(Code) | | |
addConstraint | public void addConstraint(B constrainedBean)(Code) | | |
countValidationErrors | public int countValidationErrors()(Code) | | |
getConstrainedBean | public B getConstrainedBean()(Code) | | |
getConstrainedProperty | public P getConstrainedProperty(String propertyName)(Code) | | |
hasPropertyConstraint | public boolean hasPropertyConstraint(String name)(Code) | | |
isSubjectValid | public boolean isSubjectValid(String subject)(Code) | | |
limitSubjectErrors | public void limitSubjectErrors(String subject)(Code) | | |
makeSubjectValid | public void makeSubjectValid(String subject)(Code) | | |
resetValidation | public void resetValidation()(Code) | | |
unlimitSubjectErrors | public void unlimitSubjectErrors(String subject)(Code) | | |
validate | public boolean validate()(Code) | | |
validateGroup | public boolean validateGroup(String name)(Code) | | |
|
|