org.apache.juddi.datastore.jdbc
Class PublisherTable

java.lang.Object
  extended by org.apache.juddi.datastore.jdbc.PublisherTable

public class PublisherTable
extends java.lang.Object

Author:
Steve Viens (sviens@apache.org)

Constructor Summary
PublisherTable()
           
 
Method Summary
static void delete(java.lang.String publisherID, java.sql.Connection connection)
          Delete row from the PUBLISHER table.
static void insert(Publisher publisher, java.sql.Connection connection)
          Insert new row into the PUBLISHER table.
static Publisher select(java.lang.String publisherID, java.sql.Connection connection)
          Select one row from the PUBLISHER table.
static void update(Publisher publisher, java.sql.Connection connection)
          Update the PUBLISHER table for a particular PublisherID.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PublisherTable

public PublisherTable()
Method Detail

insert

public static void insert(Publisher publisher,
                          java.sql.Connection connection)
                   throws java.sql.SQLException
Insert new row into the PUBLISHER table.

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

select

public static Publisher select(java.lang.String publisherID,
                               java.sql.Connection connection)
                        throws java.sql.SQLException
Select one row from the PUBLISHER table.

Parameters:
publisherID -
connection - JDBC connection
Returns:
Publisher
Throws:
java.sql.SQLException

delete

public static void delete(java.lang.String publisherID,
                          java.sql.Connection connection)
                   throws java.sql.SQLException
Delete row from the PUBLISHER table.

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

update

public static void update(Publisher publisher,
                          java.sql.Connection connection)
                   throws java.sql.SQLException
Update the PUBLISHER table for a particular PublisherID.

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


Copyright © 2004-2007. All Rights Reserved.