|
Expresso 5-6 | ||||||||||
| PREV NEXT | FRAMES NO FRAMES | ||||||||||
| Packages that use ErrorCollection | |
| com.jcorporate.expresso.core.controller | This package contains the object defining the "Controller" object, an important component of Expresso that should be used to encapsulate all user interaction sequences. |
| com.jcorporate.expresso.services.controller.ui | Objects that provide an automatic user interface rendering capability to the system |
| Uses of ErrorCollection in com.jcorporate.expresso.core.controller |
| Methods in com.jcorporate.expresso.core.controller that return ErrorCollection | |
ErrorCollection |
ControllerRequest.getErrorCollection()
Returns the Error collection that exists in the current session. |
ErrorCollection |
ControllerResponse.getErrors()
Retrieve the error collection for this response |
ErrorCollection |
State.getErrors()
Returns the errors collection of this current request and current state. |
ErrorCollection |
StateForm.validate(ControllerRequest request)
|
ErrorCollection |
DefaultForm.validate(ControllerRequest request)
|
| Methods in com.jcorporate.expresso.core.controller with parameters of type ErrorCollection | |
void |
ControllerRequest.validateDBObject(DBObject oneObject,
ErrorCollection ec)
Convenience method that retrieves parameters/field values and populates a specified db object. |
void |
ControllerRequest.validateDBField(String dbFieldName,
DBObject oneObject,
ErrorCollection ec)
Convenience method that retrieves the validates against that one database object field. |
void |
ControllerRequest.validateField(String dbFieldName,
String reqFieldName,
DBObject oneObject,
ErrorCollection ec)
Convenience method that retrieves the validates against that one database object field. |
void |
ControllerResponse.autoValidate(String checkClassName,
ErrorCollection errorCollection)
AutoValidate is a quick way to validate the fields of a specified dbobj. |
void |
ControllerResponse.autoValidate(String checkClassName,
ErrorCollection errorCollection,
Vector requiredFields)
AutoValidate is a quick way to validate the fields of a specified dbobj. |
void |
ControllerResponse.saveErrors(ErrorCollection errorCollection)
This method saves an ErrorCollection object to the request attributes collection. |
void |
ControllerResponse.validate(ValidationSet validSet,
ErrorCollection errorCollection)
Deprecated. See ControllerRequest.validateDBObject instead.... |
protected void |
State.autoValidate(String checkClassName,
ErrorCollection errorCollection)
AutoValidate is a quick way to validate the fields of a specified dbobj. |
protected void |
State.autoValidate(String checkClassName,
ErrorCollection errorCollection,
Vector requiredFields)
AutoValidate is a quick way to validate the fields of a specified dbobj. |
protected void |
State.saveErrors(ErrorCollection e)
Deprecated. 3/4/04 [v5.5] Use response.saveErrors instead. |
| Uses of ErrorCollection in com.jcorporate.expresso.services.controller.ui |
| Methods in com.jcorporate.expresso.services.controller.ui with parameters of type ErrorCollection | |
DataObject |
AutoControllerElement.parseBlock(ControllerRequest request,
DataObject oneObject,
ErrorCollection ec)
Convienence method if you only expect one DBObject to be returned from a particular form. |
DataObject |
AutoControllerElement.parseDBObject(ControllerRequest request,
DataObject oneObject,
ErrorCollection ec)
Convienence method if you only expect one DBObject to be returned from a particular form, and unlike the ParseBlock, there is no DBOBject name prefix attached to the parameter names. |
DataObject |
AutoControllerElement.parseDBObject(ControllerRequest request,
DataObject oneObject,
ErrorCollection ec,
boolean validate)
|
DataObject[] |
AutoControllerElement.parseBlocks(ControllerRequest request,
DataObject[] theObjects,
ErrorCollection ec)
Parses the appropriate DBObject from the block. |
String |
AutoControllerElement.parseSingleInput(ControllerRequest request,
DataObject dbobj,
String fieldName,
String parameterName,
ErrorCollection ec)
Takes the Controller Request and appropriately parses a string for a particular field. |
DataObject |
DefaultAutoElement.parseBlock(ControllerRequest request,
DataObject oneObject,
ErrorCollection ec)
Convienence method if you only expect one DBObject to be returned from a particular form. |
DataObject[] |
DefaultAutoElement.parseBlocks(ControllerRequest request,
DataObject[] theObjects,
ErrorCollection ec)
Parses the appropriate DBObject from the block. |
DataObject |
DefaultAutoElement.parseDBObject(ControllerRequest request,
DataObject oneObject,
ErrorCollection ec,
boolean validate)
Parses a dbobject |
DataObject |
DefaultAutoElement.parseDBObject(ControllerRequest request,
DataObject oneObject,
ErrorCollection ec)
Convienence method if you only expect one DBObject to be returned from a particular form, and unlike the ParseBlock, there is no DBOBject name prefix attached to the parameter names. |
String |
DefaultAutoElement.parseSingleInput(ControllerRequest request,
DataObject dbobj,
String fieldName,
String parameterName,
ErrorCollection ec)
Takes the Controller Request and appropriately parses a string for a particular field. |
|
Expresso 5-6 | ||||||||||
| PREV NEXT | FRAMES NO FRAMES | ||||||||||