org.apache.lokahi.core.common.interfaces
Interface TMCBroker<T extends Dao>

All Superinterfaces:
ReadOnlyBroker<T>
All Known Implementing Classes:
CachingBroker, DerbyBroker, OracleBroker

public interface TMCBroker<T extends Dao>
extends ReadOnlyBroker<T>

Version:
$Id: TMCBroker.java,v 1.3 2006/03/07 20:18:52 drtobes Exp $
Author:
Stephen Toback

Method Summary
 void blobHack(java.lang.String lockStatement, java.lang.String statement, int id, byte[] blobData)
           
 java.lang.String connectionReport()
           
 boolean delete(java.lang.String statement, java.lang.Object... params)
           
 void modifyRelationship(java.lang.String statement, java.lang.Object... params)
           
 int save(java.lang.String statement, java.lang.Object... params)
           
 void update(java.lang.String statement, java.lang.Object... params)
           
 void useSQL(java.lang.String statement, java.lang.Object... params)
           
 
Methods inherited from interface org.apache.lokahi.core.common.interfaces.ReadOnlyBroker
getObject, getObjects
 

Method Detail

useSQL

void useSQL(java.lang.String statement,
            java.lang.Object... params)
            throws java.sql.SQLException
Throws:
java.sql.SQLException

save

int save(java.lang.String statement,
         java.lang.Object... params)
         throws java.sql.SQLException
Throws:
java.sql.SQLException

delete

boolean delete(java.lang.String statement,
               java.lang.Object... params)
               throws java.sql.SQLException
Throws:
java.sql.SQLException

update

void update(java.lang.String statement,
            java.lang.Object... params)
            throws java.sql.SQLException
Throws:
java.sql.SQLException

modifyRelationship

void modifyRelationship(java.lang.String statement,
                        java.lang.Object... params)
                        throws java.sql.SQLException
Throws:
java.sql.SQLException

blobHack

void blobHack(java.lang.String lockStatement,
              java.lang.String statement,
              int id,
              byte[] blobData)
              throws java.sql.SQLException
Throws:
java.sql.SQLException

connectionReport

java.lang.String connectionReport()