Subversion Repositories bacoAlunos

Rev

Rev 1310 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 1310 Rev 1781
Line 26... Line 26...
26
 * Created at 19/Out/2003 , 11:56:37
26
 * Created at 19/Out/2003 , 11:56:37
27
 *
27
 *
28
 */
28
 */
29
package pt.utl.ist.berserk.storage;
29
package pt.utl.ist.berserk.storage;
30
 
30
 
31
import java.util.List;
-
 
32
 
-
 
33
import pt.utl.ist.berserk.storage.exceptions.StorageException;
31
import pt.utl.ist.berserk.storage.exceptions.StorageException;
34
 
32
 
-
 
33
import java.util.List;
-
 
34
 
35
/**
35
/**
36
 * Specifies the mandatory funcionalities for a Transaction Broker
36
 * Specifies the mandatory funcionalities for a Transaction Broker
37
 * @author Goncalo Luiz gedl [AT] rnl [DOT] ist [DOT] utl [DOT] pt
37
 * @author Goncalo Luiz gedl [AT] rnl [DOT] ist [DOT] utl [DOT] pt
38
 *
38
 *
39
 *
39
 *
40
 * Created at 19/Out/2003 , 11:56:37
40
 * Created at 19/Out/2003 , 11:56:37
41
 *
41
 *
42
 */
42
 */
43
public interface ITransactionBroker
43
public interface ITransactionBroker
44
{
44
{
45
       
45
 
-
 
46
    /**
-
 
47
     * Starts a transaction against the persistence layer
-
 
48
     * @throws StorageException if a problem occurs with the persistence layer
-
 
49
     */
-
 
50
    public boolean isTransactionActive() throws StorageException;
46
        /**
51
        /**
47
         * Starts a transaction against the persistence layer
52
         * Starts a transaction against the persistence layer
48
         * @throws StorageException if a problem occurs with the persistence layer
53
         * @throws StorageException if a problem occurs with the persistence layer
49
         */
54
         */
50
        public void beginTransaction() throws StorageException;
55
        public void beginTransaction() throws StorageException;