KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > enhydra > pim > business > TransactionContextI


1 /*
2  * Created on May 12, 2005
3  *
4  * TODO To change the template for this generated file go to
5  * Window - Preferences - Java - Code Style - Code Templates
6  */

7 package org.enhydra.pim.business;
8
9 import java.sql.SQLException JavaDoc;
10
11 import com.lutris.appserver.server.sql.DatabaseManagerException;
12
13 /**
14  * @author P.Djojic May 12, 2005 8:50:57 PM
15  *
16  * TODO TransactionContextI
17  */

18 public interface TransactionContextI {
19     
20     public void beginContext(String JavaDoc database) throws DatabaseManagerException, SQLException JavaDoc ;
21     
22     public void releaseContext();
23     
24     public void commitContext() throws SQLException JavaDoc ;
25     
26     public void rollbackContext() throws SQLException JavaDoc ;
27     
28 }
Popular Tags