KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > enhydra > shark > api > internal > working > PersistenceInterface


1 package org.enhydra.shark.api.internal.working;
2
3 import org.enhydra.shark.api.SharkTransaction;
4 import org.enhydra.shark.api.TransactionException;
5 /**
6  * Interface that all engine objects that need to be persisted have to implement.
7  * @author Sasa Bojanic
8  * @version 1.0
9  */

10 public interface PersistenceInterface {
11    public void persist(SharkTransaction t) throws TransactionException;
12
13    public void delete(SharkTransaction t) throws TransactionException;
14
15 }
16
Popular Tags