cgl.fthpis.datastore.jdbc
Class FindSessionByContextBagQuery

java.lang.Object
  extended bycgl.fthpis.datastore.jdbc.FindSessionByContextBagQuery

public class FindSessionByContextBagQuery
extends java.lang.Object

Author:
Mehmet S. Aktas (maktas@indiana.edu)

Field Summary
(package private) static java.lang.String selectBySessionKeySQL
           
(package private) static java.lang.String selectSQL
           
 
Constructor Summary
FindSessionByContextBagQuery()
           
 
Method Summary
static void main(java.lang.String[] args)
           
static java.util.Vector select_rec(AttributeBag context_bag, java.util.Vector keysIn, org.apache.juddi.datatype.request.FindQualifiers qualifiers, java.sql.Connection connection)
          Select ...
static java.util.Vector select(AttributeBag context_bag, java.util.Vector keysIn, org.apache.juddi.datatype.request.FindQualifiers qualifiers, java.sql.Connection connection)
           
static java.util.Vector selectBySessionKey(java.lang.String sessionKey, java.sql.Connection connection)
          Select all rows from the business_service table for a given BusinessKey.
static void test(java.sql.Connection connection)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

selectSQL

static java.lang.String selectSQL

selectBySessionKeySQL

static java.lang.String selectBySessionKeySQL
Constructor Detail

FindSessionByContextBagQuery

public FindSessionByContextBagQuery()
Method Detail

select_rec

public static java.util.Vector select_rec(AttributeBag context_bag,
                                          java.util.Vector keysIn,
                                          org.apache.juddi.datatype.request.FindQualifiers qualifiers,
                                          java.sql.Connection connection)
                                   throws java.sql.SQLException
Select ...

Parameters:
keysIn -
qualifiers -
connection - JDBC connection
Throws:
java.sql.SQLException

select

public static java.util.Vector select(AttributeBag context_bag,
                                      java.util.Vector keysIn,
                                      org.apache.juddi.datatype.request.FindQualifiers qualifiers,
                                      java.sql.Connection connection)
                               throws java.sql.SQLException
Throws:
java.sql.SQLException

selectBySessionKey

public static java.util.Vector selectBySessionKey(java.lang.String sessionKey,
                                                  java.sql.Connection connection)
                                           throws java.sql.SQLException
Select all rows from the business_service table for a given BusinessKey.

Parameters:
sessionKey - sessionKey
connection - JDBC connection
Throws:
java.sql.SQLException

main

public static void main(java.lang.String[] args)
                 throws java.lang.Exception
Throws:
java.lang.Exception

test

public static void test(java.sql.Connection connection)
                 throws java.lang.Exception
Throws:
java.lang.Exception