01: package com.completex.objective.components.persistency;
02:
03: import com.completex.objective.components.persistency.transact.Transaction;
04:
05: import java.sql.SQLException;
06:
07: /**
08: * Persistency used for inserts only. It is appropriate to store values in files
09: * for example.
10: *
11: * @author Gennady Krizhevsky
12: */
13: public interface InsertPersistency2 {
14: int insert(Transaction transaction,
15: PersistentObject persistentObject) throws SQLException;
16:
17: int insert(Transaction transaction,
18: PersistentObject persistentObject,
19: LifeCycleController controller) throws SQLException;
20: }
|