com.sun.ebxml.registry.persistence.rdb
Class PostalAddressDAO

java.lang.Object
  |
  +--com.sun.ebxml.registry.persistence.rdb.PostalAddressDAO

public class PostalAddressDAO
extends java.lang.Object

Version:
Author:
Farrukh S. Najmi

Constructor Summary
protected PostalAddressDAO()
           
 
Method Summary
 void delete(java.sql.Connection connection, java.util.ArrayList parentIds)
          Does a bulk delete of a Collection of objects that match the type for this persister.
 java.lang.String getTableName()
           
static java.lang.String getTableNameStatic()
           
 void insert(java.sql.Connection connection, java.util.ArrayList registryObjects)
           
 void insert(java.sql.Connection connection, java.lang.String parentId, java.util.ArrayList postalAddresss)
          Does a bulk insert of a Collection of objects that match the type for this persister.
 void loadObjectFromResultSet(java.sql.Connection conn, java.lang.Object obj, java.sql.ResultSet rs)
           
 void update(java.sql.Connection connection, java.lang.String parentId, java.util.ArrayList postalAddresss)
          Does a bulk update of a Collection of objects that match the type for this persister.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PostalAddressDAO

protected PostalAddressDAO()
Method Detail

getTableNameStatic

public static java.lang.String getTableNameStatic()

getTableName

public java.lang.String getTableName()

insert

public void insert(java.sql.Connection connection,
                   java.util.ArrayList registryObjects)
            throws RegistryException
Parameters:
registryObjects - is a ArrayList of Organizations or Users
Throws:
RegistryException - if the RegistryObject is not Organization or User, or it has SQLException when inserting their PostalAddress

insert

public void insert(java.sql.Connection connection,
                   java.lang.String parentId,
                   java.util.ArrayList postalAddresss)
            throws RegistryException
Does a bulk insert of a Collection of objects that match the type for this persister.

RegistryException

update

public void update(java.sql.Connection connection,
                   java.lang.String parentId,
                   java.util.ArrayList postalAddresss)
            throws RegistryException
Does a bulk update of a Collection of objects that match the type for this persister.

RegistryException

delete

public void delete(java.sql.Connection connection,
                   java.util.ArrayList parentIds)
            throws RegistryException
Does a bulk delete of a Collection of objects that match the type for this persister.

RegistryException

loadObjectFromResultSet

public void loadObjectFromResultSet(java.sql.Connection conn,
                                    java.lang.Object obj,
                                    java.sql.ResultSet rs)
                             throws RegistryException
RegistryException


Copyright © 2001-2003 OASIS. All Rights Reserved.