|
Project Wonder 5.0 | |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objecter.directtoweb.delegates.ERDQueryValidationDelegate
er.directtoweb.delegates.ERDQueryValidationDelegate.DefaultQueryValidationDelegate
public static class ERDQueryValidationDelegate.DefaultQueryValidationDelegate
A "default" implementation of a query validation delegate, which simply validates each key in the query page's display group against validation definitions from the D2W rules.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class er.directtoweb.delegates.ERDQueryValidationDelegate |
---|
ERDQueryValidationDelegate.DefaultQueryValidationDelegate, ERDQueryValidationDelegate.ErrorKeys, ERDQueryValidationDelegate.ValidationKeys |
Field Summary |
---|
Fields inherited from class er.directtoweb.delegates.ERDQueryValidationDelegate |
---|
d2wContext |
Constructor Summary | |
---|---|
ERDQueryValidationDelegate.DefaultQueryValidationDelegate()
|
Method Summary | |
---|---|
void |
validateQueryValues(ERD2WQueryPage sender)
Validates the query input values from the query page's display group. |
void |
validateValueForQueryKey(java.lang.Object value,
java.lang.String key)
Validates the value of a particular key in the query dictionary. |
Methods inherited from class er.directtoweb.delegates.ERDQueryValidationDelegate |
---|
d2wContext, hasValidationDefinitionForKey, propertyKeyFromDisplayGroupKey, validateNumericValueForKey, validateQuery, validateStringValueForKey |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ERDQueryValidationDelegate.DefaultQueryValidationDelegate()
Method Detail |
---|
public void validateQueryValues(ERD2WQueryPage sender)
ERDQueryValidationDelegate
validateQueryValues
in class ERDQueryValidationDelegate
sender
- query page whose inputs to validatepublic void validateValueForQueryKey(java.lang.Object value, java.lang.String key) throws com.webobjects.foundation.NSValidation.ValidationException
value
- to validatekey
- of the property to validate
NSValidation.ValidationException
- when the validation fails
|
Last updated: Tue, Feb 21, 2017 05:45 PM CET | |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |