com.vaadin.addon.jpacontainer
Interface BatchableEntityProvider.BatchUpdateCallback<T>

All Superinterfaces:
Serializable
Enclosing interface:
BatchableEntityProvider<T>

public static interface BatchableEntityProvider.BatchUpdateCallback<T>
extends Serializable

Callback interface used by the BatchableEntityProvider.batchUpdate(com.vaadin.addon.jpacontainer.BatchableEntityProvider.BatchUpdateCallback) method.

Since:
1.0
Author:
Petter Holmström (Vaadin Ltd)

Method Summary
 void batchUpdate(MutableEntityProvider<T> batchEnabledEntityProvider)
          Runs the updates using a special batch enabled mutable entity provider.
 

Method Detail

batchUpdate

void batchUpdate(MutableEntityProvider<T> batchEnabledEntityProvider)
Runs the updates using a special batch enabled mutable entity provider.

Parameters:
batchEnabledEntityProvider - a MutableEntityProvider that knows how to handle multiple updates and executes them within a single transaction.


Copyright © 2013 Vaadin Ltd. All rights reserved.