io.ebean.delegate.InterceptBulkUpdate Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of ebean-mocker Show documentation
Show all versions of ebean-mocker Show documentation
Ability to set a Mockito mock EbeanServer as 'default' EbeanServer
package io.ebean.delegate;
import io.ebean.CallableSql;
import io.ebean.SqlUpdate;
import io.ebean.Transaction;
import io.ebean.Update;
/**
* Created by rob on 15/07/15.
*/
public interface InterceptBulkUpdate {
void externalModification(String tableName, boolean inserted, boolean updated, boolean deleted);
int execute(SqlUpdate sqlUpdate);
int execute(Update> update);
int execute(Update> update, Transaction t);
int execute(CallableSql callableSql);
int execute(SqlUpdate updSql, Transaction t);
int execute(CallableSql callableSql, Transaction t);
// void bulkUpdate(TxScope scope, TxRunnable r);
//
// void bulkUpdate(TxRunnable r);
//
// T bulkUpdate(TxScope scope, TxCallable c);
//
// T bulkUpdate(TxCallable c);
}