The adapter's array of request for this changeset.
Prepare and return the save data for an entity change-set.
The adapter calls this method for each entity in the change-set, after it has prepared a "change request" for that object.
The method can do anything to the request but it must return a valid, non-null request.
The object representing the adapter's request to save this entity.
The entity-to-be-save as it is in cache
The zero-based index of this entity in the change-set array
The potentially revised request.
Generated using TypeDoc
Last chance to change anything about the 'requests' array after it has been built with requests for all of the entities-to-be-saved.
The 'requests' array is the same as 'saveBundle.entities' in many implementations
This method can do anything to the array including add and remove requests. It's up to you to ensure that server will accept the requests array data as valid.
Returned value is ignored.
this.done = function (requests) { // alter the array of requests representing the entire change-set // based on the saveContext and saveBundle };
done