Class Validator
java.lang.Object
com.echothree.util.server.validation.Validator
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected org.apache.commons.logging.Log
getLog()
void
setCurrency
(Currency currency) validate
(BaseForm form, List<FieldDefinition> fieldDefinitions) validateField
(BaseForm form, FieldDefinition fieldDefinition) Returns An ArrayList if there are errors found, otherwise null.void
validateLimits
(Messages formValidationMessages, BaseForm form) static String
validateLong
(String fieldValue) void
validateOptions
(Messages formValidationMessages, BaseForm form) void
validatePreferredClobMimeTypeName
(Messages formValidationMessages, BaseForm form) static String
validateUnsignedLong
(String unsignedLong)
-
Field Details
-
ERROR_REQUIRED_FIELD
- See Also:
-
ERROR_MINIMUM_LENGTH
- See Also:
-
ERROR_MAXIMUM_LENGTH
- See Also:
-
ERROR_MINIMUM_VALUE
- See Also:
-
ERROR_MAXIMUM_VALUE
- See Also:
-
ERROR_NO_VALUE_ALLOWED
- See Also:
-
ERROR_UNKOWN_CURRENCY_ISO_NAME
- See Also:
-
ERROR_UNKOWN_VENDOR_NAME
- See Also:
-
ERROR_INTERNAL_ERROR
- See Also:
-
ERROR_INVALID_FORMAT
- See Also:
-
ERROR_INVALID_OPTION
- See Also:
-
ERROR_INVALID_LIMIT
- See Also:
-
fieldTypes
-
-
Constructor Details
-
Validator
Creates a new instance of Validator
-
-
Method Details
-
getBaseCommand
-
getAccountingControl
-
getPartyControl
-
getUserControl
-
getVendorControl
-
getLog
-
getCurrency
-
setCurrency
-
validateField
Returns An ArrayList if there are errors found, otherwise null.- Returns:
- An ArrayList if there are errors found, otherwise null
-
validatePreferredClobMimeTypeName
-
validateOptions
-
validateLong
-
validateUnsignedLong
-
validateLimits
-
validate
-