abstract fun upload(uploader: Uploader<I>): Unit
Method should process all not synced entities from local storage:
To keep data consistancy you should process all not synced entities - both undeleted and deleted. Event if an entity was created and immediatelly deleted in local shorage it is highly recommended to upload it to the server in "deleted" state, receive from server unique identifier for entity and store it locally for future reference. Especially it is important for entities which are linked to other entities (e.g. for commodities, categories, products, taxes).
See Also