Skip to content

Bulk Create Listener

A registered listener will receive a real-time request for all bulkCreate API requests.

EventHandler<Map> eventHandler = Backendless.Data.of( "TABLE-NAME" ).rt();
eventHandler.addBulkCreateListener( AsyncCallback<List<String>> callback );
EventHandler<T> eventHandler = Backendless.Data.of( T.class ).rt();
eventHandler.addBulkCreateListener( AsyncCallback<List<String> callback );

Return value

The callback delivers a collection of objectId values for the objects saved in the database.

Removing listeners

The method removes all registered listeners for the bulk update event:


Removing a specific listener

This method removes a listener identified by the callback object:

eventHandler.removeBulkCreateListener( AsyncCallback<List<String>> listenerObject );