All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.ebean.delegate.InterceptBulkUpdate Maven / Gradle / Ivy

There is a newer version: 13.7.0
Show newest version
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);
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy