de.janrufmonitor.repository.db
Interface IDatabaseHandler

All Known Subinterfaces:
ICallDatabaseHandler, ICallerDatabaseHandler
All Known Implementing Classes:
AbstractCallDatabaseHandler, AbstractCallerDatabaseHandler, AbstractDatabaseHandler, AbstractMultiPhoneCallerDatabaseHandler, HsqldbCallDatabaseHandler, HsqldbCallerDatabaseHandler, HsqldbMultiPhoneCallerDatabaseHandler

public interface IDatabaseHandler


Method Summary
 void commit()
           
 void connect()
           
 void disconnect()
           
 boolean isConnected()
           
 boolean isKeepAlive()
           
 void rollback()
           
 void setCommitCount(int c)
           
 void setKeepAlive(boolean keep)
           
 

Method Detail

isConnected

boolean isConnected()
                    throws SQLException
Throws:
SQLException

connect

void connect()
             throws SQLException,
                    ClassNotFoundException
Throws:
SQLException
ClassNotFoundException

commit

void commit()
            throws SQLException
Throws:
SQLException

rollback

void rollback()
              throws SQLException
Throws:
SQLException

disconnect

void disconnect()
                throws SQLException
Throws:
SQLException

setCommitCount

void setCommitCount(int c)

isKeepAlive

boolean isKeepAlive()

setKeepAlive

void setKeepAlive(boolean keep)


Copyright © 2010 by Thilo Brandt. All Rights Reserved.