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

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

public class TelephoneNumberDAO
extends java.lang.Object

Version:
Author:
kwalsh

Constructor Summary
protected TelephoneNumberDAO()
           
 
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 telephoneNumbers)
          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)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TelephoneNumberDAO

protected TelephoneNumberDAO()
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 telephoneNumbers)
            throws RegistryException
Does a bulk insert 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.