|
DataFaucet 1.0 Beta | ||||
| FRAMES | |||||
WEB-INF.cftags.component
datafaucet.system.validator
public class validator
validates active record objects
| Constructor Summary | |
|---|---|
init()
|
|
| Method Summary | |
|---|---|
private any |
formatInvalidData(string content)
|
private any |
getError(string errorType, [string format=''])
|
array |
validate(any datasource, string tableList, struct data)
|
private any |
validateColumn(string content, string type, [boolean nullable='false'], [numeric size='10'], [numeric dec='0'])
|
private boolean |
validate_bigint(string content)
|
private boolean |
validate_bit(string content)
|
private boolean |
validate_bool(string content)
|
private boolean |
validate_boolean(string content)
|
private boolean |
validate_date(string content)
|
private boolean |
validate_dec(string content)
|
private boolean |
validate_decimal(string content)
|
private boolean |
validate_float(string content)
|
private boolean |
validate_int(string content)
|
private boolean |
validate_integer(string content)
|
private boolean |
validate_money(string content)
|
private boolean |
validate_numeric(string content, [numeric size='10'], [numeric dec='0'])
|
private boolean |
validate_real(string content)
|
private boolean |
validate_smallint(string content)
|
private boolean |
validate_timestamp(string content)
|
private boolean |
validate_tinyint(string content)
|
| Methods inherited from class WEB-INF.cftags.component |
|---|
|
| Constructor Detail |
|---|
public init()
| Method Detail |
|---|
private any formatInvalidData(string content)
contentprivate any getError(string errorType, [string format=''])
errorTypeformatpublic array validate(any datasource, string tableList, struct data)
datasourcetableListdataprivate any validateColumn(string content, string type, [boolean nullable='false'], [numeric size='10'], [numeric dec='0'])
contenttypenullablesizedecprivate boolean validate_bigint(string content)
contentprivate boolean validate_bit(string content)
contentprivate boolean validate_bool(string content)
contentprivate boolean validate_boolean(string content)
contentprivate boolean validate_date(string content)
contentprivate boolean validate_dec(string content)
contentprivate boolean validate_decimal(string content)
contentprivate boolean validate_float(string content)
contentprivate boolean validate_int(string content)
contentprivate boolean validate_integer(string content)
contentprivate boolean validate_money(string content)
contentprivate boolean validate_numeric(string content, [numeric size='10'], [numeric dec='0'])
contentsizedecprivate boolean validate_real(string content)
contentprivate boolean validate_smallint(string content)
contentprivate boolean validate_timestamp(string content)
contentprivate boolean validate_tinyint(string content)
content
|
DataFaucet 1.0 Beta | ||||
| FRAMES | |||||