onApplied

open fun onApplied(currentData: JSONObject): JSONObject

Override this method to provide your own implementation of data mutator. Default implementation returns null which causes the mutation to abort.

Return

New contents of the entity that will replace the old contents or null to abort the edit entirely.

Parameters

currentData

Current contents of the entity to modify.