...
In order to build a column converter, your the plugin class implementing the IClientPlugin interface (see Implement the plugin interface) also needs to implement the interface IColumnConverterProvider to produce ITypedColumnConverter instances in the getColumnConverters() method. See API docs.
Note |
---|
Note that IColumnConverter is considered to be deprecated, therefore in getColumnConverters() method do return an ITypedColumnConverter array. |
An ITypedColumnConverter has 3 methodsThe interface ITypedColumnConverter declares three methods that need to be implemented:
convertFromObject()
Converts from dataprovider value to db value
convertToObject()
Converts from db value to dataprovider value
type getToObjectType(one of TEXT, INTEGER, NUMBER, DATETIME or MEDIA)
The dataprovider data type (so the resulting type of the convertToObject()).
...
In order to build a column validator, your the plugin class implementing the IClientPlugin interface (see Implement the plugin interface) also needs to implement the interface IColumnValidatorProvider to produce IColumnValidator instances in the getColumnValidators() method. See API docs.
...