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

java.lang.Object
  |
  +--com.sun.ebxml.registry.persistence.rdb.RegistryObjectDAO
        |
        +--com.sun.ebxml.registry.persistence.rdb.RegistryEntryDAO
              |
              +--com.sun.ebxml.registry.persistence.rdb.ExtrinsicObjectDAO

public class ExtrinsicObjectDAO
extends RegistryEntryDAO


Constructor Summary
protected ExtrinsicObjectDAO()
           
 
Method Summary
protected  java.lang.String checkSpecLinkReferences(java.sql.Connection conn, java.lang.String extObjectId)
           
 void delete(org.oasis.ebxml.registry.bindings.rim.User user, java.sql.Connection connection, java.util.ArrayList extObjectsIds)
          Does a bulk delete of a Collection of objects that match the type for this persister.
 java.util.ArrayList extrinsicObjectsExist(java.sql.Connection connection, java.util.ArrayList objectsIds)
          Deprecated. Originally it is used by SQLPersistenceManagerImpl. Now no methods use it.
 java.util.ArrayList getLeafObjectList(java.sql.Connection conn, java.sql.ResultSet rs, org.oasis.ebxml.registry.bindings.query.ResponseOption responseOption, java.util.ArrayList objectRefs)
           
 java.lang.String getTableName()
           
static java.lang.String getTableNameStatic()
           
 void insert(org.oasis.ebxml.registry.bindings.rim.User user, java.sql.Connection connection, java.util.ArrayList extrinsicObjects)
          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, org.oasis.ebxml.registry.bindings.query.ResponseOption responseOption, java.util.ArrayList objectRefs)
           
 void update(org.oasis.ebxml.registry.bindings.rim.User user, java.sql.Connection connection, java.util.ArrayList extrinsicObjects)
          Does a bulk update of a Collection of objects that match the type for this persister.
 void update(org.oasis.ebxml.registry.bindings.rim.User user, java.sql.Connection connection, java.util.ArrayList extrinsicObjects, boolean checkExistence, boolean checkAuthorization)
          Does a bulk update of ArrayList of extrinsicObjects.
 
Methods inherited from class com.sun.ebxml.registry.persistence.rdb.RegistryEntryDAO
updateStatus, updateStatusForHeterogeneousObjects
 
Methods inherited from class com.sun.ebxml.registry.persistence.rdb.RegistryObjectDAO
checkAssociationReferences, checkClassificationReferences, checkReferences, generateAuditbleEvent, generateAuditbleEvent, getByIds, getObjectType, getOwner, getOwnersMap, registryObjectExist, registryObjectExist, registryObjectsExist, registryObjectsExist, sortIdsByObjectType, updateExistingObjects
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ExtrinsicObjectDAO

protected ExtrinsicObjectDAO()
Method Detail

getTableNameStatic

public static java.lang.String getTableNameStatic()

getTableName

public java.lang.String getTableName()
Overrides:
getTableName in class RegistryEntryDAO

insert

public void insert(org.oasis.ebxml.registry.bindings.rim.User user,
                   java.sql.Connection connection,
                   java.util.ArrayList extrinsicObjects)
            throws RegistryException
Does a bulk insert of a Collection of objects that match the type for this persister.

Overrides:
insert in class RegistryObjectDAO
RegistryException

update

public void update(org.oasis.ebxml.registry.bindings.rim.User user,
                   java.sql.Connection connection,
                   java.util.ArrayList extrinsicObjects)
            throws RegistryException
Description copied from class: RegistryObjectDAO
Does a bulk update of a Collection of objects that match the type for this persister. It is for updating the nested objects (i.e. Name, Description, Slot, Classification and ExternalIdentifier. It will firstly delete all the nested objects of each objects in the ArrayList registryObjects, and then inserts the nested objects again.

Overrides:
update in class RegistryObjectDAO
RegistryException

update

public void update(org.oasis.ebxml.registry.bindings.rim.User user,
                   java.sql.Connection connection,
                   java.util.ArrayList extrinsicObjects,
                   boolean checkExistence,
                   boolean checkAuthorization)
            throws RegistryException
Does a bulk update of ArrayList of extrinsicObjects.

Overrides:
update in class RegistryObjectDAO
RegistryException

checkSpecLinkReferences

protected java.lang.String checkSpecLinkReferences(java.sql.Connection conn,
                                                   java.lang.String extObjectId)
                                            throws RegistryException
RegistryException

delete

public void delete(org.oasis.ebxml.registry.bindings.rim.User user,
                   java.sql.Connection connection,
                   java.util.ArrayList extObjectsIds)
            throws RegistryException
Does a bulk delete of a Collection of objects that match the type for this persister.

Overrides:
delete in class RegistryObjectDAO
RegistryException

loadObjectFromResultSet

public void loadObjectFromResultSet(java.sql.Connection conn,
                                    java.lang.Object obj,
                                    java.sql.ResultSet rs,
                                    org.oasis.ebxml.registry.bindings.query.ResponseOption responseOption,
                                    java.util.ArrayList objectRefs)
                             throws RegistryException
Overrides:
loadObjectFromResultSet in class RegistryEntryDAO
RegistryException

getLeafObjectList

public java.util.ArrayList getLeafObjectList(java.sql.Connection conn,
                                             java.sql.ResultSet rs,
                                             org.oasis.ebxml.registry.bindings.query.ResponseOption responseOption,
                                             java.util.ArrayList objectRefs)
                                      throws RegistryException
Overrides:
getLeafObjectList in class RegistryObjectDAO
RegistryException

extrinsicObjectsExist

public java.util.ArrayList extrinsicObjectsExist(java.sql.Connection connection,
                                                 java.util.ArrayList objectsIds)
                                          throws RegistryException
Deprecated. Originally it is used by SQLPersistenceManagerImpl. Now no methods use it.

Return the ArrayList of id of objects which are not ExtrinsicObject

RegistryException


Copyright © 2001-2003 OASIS. All Rights Reserved.