cgl.fthpis.datastore.jdbc
Class LeaseTable

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

public class LeaseTable
extends java.lang.Object

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

Field Summary
(package private) static java.lang.String deleteObjectLeaseSQL
           
(package private) static java.lang.String insertObjectLeaseSQL
           
(package private) static java.lang.String selectObjectLeaseSQL
           
 
Constructor Summary
LeaseTable()
           
 
Method Summary
static void deleteObjectLease(java.lang.String object_key, java.sql.Connection connection)
          Delete multiple rows from the LEASE table that are assigned to the uddiKey specified.
static void insertObjectLease(Lease lease, java.sql.Connection connection)
           
static void main(java.lang.String[] args)
           
static java.util.Vector selectObjectLease(java.lang.String object_key, java.sql.Connection connection)
          Select all rows from the CONTACT 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

insertObjectLeaseSQL

static java.lang.String insertObjectLeaseSQL

selectObjectLeaseSQL

static java.lang.String selectObjectLeaseSQL

deleteObjectLeaseSQL

static java.lang.String deleteObjectLeaseSQL
Constructor Detail

LeaseTable

public LeaseTable()
Method Detail

insertObjectLease

public static void insertObjectLease(Lease lease,
                                     java.sql.Connection connection)
                              throws java.sql.SQLException
Throws:
java.sql.SQLException

selectObjectLease

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

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

deleteObjectLease

public static void deleteObjectLease(java.lang.String object_key,
                                     java.sql.Connection connection)
                              throws java.sql.SQLException
Delete multiple rows from the LEASE table that are assigned to the uddiKey specified.

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