org.sakaiproject.service.framework.sql.cover
Class SqlService

java.lang.Object
  extended byorg.sakaiproject.service.framework.sql.cover.SqlService

public class SqlService
extends Object

SqlService is a static Cover for the SqlService; see that interface for usage details.

Version:
$Revision: 632 $
Author:
University of Michigan, Sakai Software Development Team

Constructor Summary
SqlService()
           
 
Method Summary
static Connection borrowConnection()
           
static void dbCancel(Connection param0)
           
static List dbRead(Connection param0, String param1, Object[] param2, SqlReader param3)
           
static List dbRead(String param0)
           
static List dbRead(String param0, Object[] param1, SqlReader param2)
           
static void dbReadBinary(Connection param0, String param1, Object[] param2, byte[] param3)
           
static InputStream dbReadBinary(String param0, Object[] param1, boolean param2)
           
static void dbReadBinary(String param0, Object[] param1, byte[] param2)
           
static void dbReadBlobAndUpdate(String param0, byte[] param1)
           
static Connection dbReadLock(String param0, StringBuffer param1)
           
static void dbUpdateCommit(String param0, Object[] param1, String param2, Connection param3)
           
static boolean dbWrite(Connection param0, String param1, Object[] param2)
           
static boolean dbWrite(String param0)
           
static boolean dbWrite(String param0, Object[] param1)
           
static boolean dbWrite(String param0, Object[] param1, String param2)
           
static boolean dbWrite(String param0, String param1)
           
static boolean dbWriteBinary(String param0, Object[] param1, byte[] param2, int param3, int param4)
           
static boolean dbWriteFailQuiet(Connection param0, String param1, Object[] param2)
           
static GregorianCalendar getCal()
           
static SqlService getInstance()
          Access the component instance: special cover only method.
static String getVendor()
           
static void returnConnection(Connection param0)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SqlService

public SqlService()
Method Detail

getInstance

public static SqlService getInstance()
Access the component instance: special cover only method.

Returns:
the component instance.

borrowConnection

public static Connection borrowConnection()
                                   throws SQLException
Throws:
SQLException

returnConnection

public static void returnConnection(Connection param0)

dbRead

public static List dbRead(String param0)

dbRead

public static List dbRead(String param0,
                          Object[] param1,
                          SqlReader param2)

dbRead

public static List dbRead(Connection param0,
                          String param1,
                          Object[] param2,
                          SqlReader param3)

dbReadBinary

public static void dbReadBinary(String param0,
                                Object[] param1,
                                byte[] param2)

dbReadBinary

public static void dbReadBinary(Connection param0,
                                String param1,
                                Object[] param2,
                                byte[] param3)

dbReadBinary

public static InputStream dbReadBinary(String param0,
                                       Object[] param1,
                                       boolean param2)
                                throws ServerOverloadException
Throws:
ServerOverloadException

dbWrite

public static boolean dbWrite(String param0)

dbWrite

public static boolean dbWrite(String param0,
                              String param1)

dbWrite

public static boolean dbWrite(String param0,
                              Object[] param1)

dbWrite

public static boolean dbWrite(Connection param0,
                              String param1,
                              Object[] param2)

dbWrite

public static boolean dbWrite(String param0,
                              Object[] param1,
                              String param2)

dbWriteBinary

public static boolean dbWriteBinary(String param0,
                                    Object[] param1,
                                    byte[] param2,
                                    int param3,
                                    int param4)

dbWriteFailQuiet

public static boolean dbWriteFailQuiet(Connection param0,
                                       String param1,
                                       Object[] param2)

dbReadBlobAndUpdate

public static void dbReadBlobAndUpdate(String param0,
                                       byte[] param1)

dbReadLock

public static Connection dbReadLock(String param0,
                                    StringBuffer param1)

dbUpdateCommit

public static void dbUpdateCommit(String param0,
                                  Object[] param1,
                                  String param2,
                                  Connection param3)

dbCancel

public static void dbCancel(Connection param0)

getCal

public static GregorianCalendar getCal()

getVendor

public static String getVendor()