cgl.fthpis.datastore.jdbc
Class FindServiceByContextBagQuery

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

public class FindServiceByContextBagQuery
extends java.lang.Object

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

Field Summary
(package private) static java.lang.String selectByServiceKeySQL
           
(package private) static java.lang.String selectSQL
           
 
Constructor Summary
FindServiceByContextBagQuery()
           
 
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 selectByServiceKey(java.lang.String serviceKey, 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

selectByServiceKeySQL

static java.lang.String selectByServiceKeySQL
Constructor Detail

FindServiceByContextBagQuery

public FindServiceByContextBagQuery()
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

selectByServiceKey

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

Parameters:
serviceKey - ServiceKey
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