001package com.avaje.ebean.delegate;
002
003import com.avaje.ebean.CallableSql;
004import com.avaje.ebean.SqlUpdate;
005import com.avaje.ebean.Transaction;
006import com.avaje.ebean.Update;
007
008/**
009 * Created by rob on 15/07/15.
010 */
011public interface InterceptBulkUpdate {
012
013  void externalModification(String tableName, boolean inserted, boolean updated, boolean deleted);
014
015  int execute(SqlUpdate sqlUpdate);
016
017  int execute(Update<?> update);
018
019  int execute(Update<?> update, Transaction t);
020
021  int execute(CallableSql callableSql);
022
023  int execute(SqlUpdate updSql, Transaction t);
024
025  int execute(CallableSql callableSql, Transaction t);
026
027//  void bulkUpdate(TxScope scope, TxRunnable r);
028//
029//  void bulkUpdate(TxRunnable r);
030//
031//  <T> T bulkUpdate(TxScope scope, TxCallable<T> c);
032//
033//  <T> T bulkUpdate(TxCallable<T> c);
034}