new DataStateValidatorListener()
- Source:
Methods
beforeRemove(e, callback)
Occurs before removing a data object and validates object state.
Parameters:
Name | Type | Description |
---|---|---|
e |
DataEventArgs | * | An object that represents the event arguments passed to this operation. |
callback |
function | A callback function that should be called at the end of this operation. The first argument may be an error if any occured. |
- Source:
beforeSave(e, callback)
Occurs before creating or updating a data object and validates object state.
Parameters:
Name | Type | Description |
---|---|---|
e |
DataEventArgs | * | An object that represents the event arguments passed to this operation. |
callback |
function | A callback function that should be called at the end of this operation. The first argument may be an error if any occured. |
- Source: