com.sun.ebxml.registry.persistence.rdb
Class RegistryEntryDAO
java.lang.Object
com.sun.ebxml.registry.persistence.rdb.RegistryObjectDAO
com.sun.ebxml.registry.persistence.rdb.RegistryEntryDAO
- Direct Known Subclasses:
- ClassificationSchemeDAO, ExtrinsicObjectDAO, RegistryPackageDAO, ServiceDAO
- public class RegistryEntryDAO
- extends RegistryObjectDAO
Method Summary |
java.lang.String |
getTableName()
|
static java.lang.String |
getTableNameStatic()
|
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 |
updateStatus(org.oasis.ebxml.registry.bindings.rim.User user,
java.sql.Connection connection,
java.util.ArrayList registryObjectIds,
org.oasis.ebxml.registry.bindings.rim.types.StatusType status,
java.util.ArrayList statusUnchanged)
Update the status of specified objects (homogenous collection) to the specified status. |
void |
updateStatusForHeterogeneousObjects(org.oasis.ebxml.registry.bindings.rim.User user,
java.sql.Connection connection,
java.util.ArrayList registryObjectsIds,
org.oasis.ebxml.registry.bindings.rim.types.StatusType status,
org.oasis.ebxml.registry.bindings.rs.RegistryErrorList el)
Update the status of specified objects (heterogeneous collection) to the specified status. |
Methods inherited from class com.sun.ebxml.registry.persistence.rdb.RegistryObjectDAO |
checkAssociationReferences, checkClassificationReferences, checkReferences, delete, generateAuditbleEvent, generateAuditbleEvent, getByIds, getLeafObjectList, getObjectType, getOwner, getOwnersMap, insert, registryObjectExist, registryObjectExist, registryObjectsExist, registryObjectsExist, sortIdsByObjectType, update, update, updateExistingObjects |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RegistryEntryDAO
public RegistryEntryDAO()
getTableNameStatic
public static java.lang.String getTableNameStatic()
getTableName
public java.lang.String getTableName()
- Overrides:
getTableName
in class RegistryObjectDAO
updateStatus
public void updateStatus(org.oasis.ebxml.registry.bindings.rim.User user,
java.sql.Connection connection,
java.util.ArrayList registryObjectIds,
org.oasis.ebxml.registry.bindings.rim.types.StatusType status,
java.util.ArrayList statusUnchanged)
throws RegistryException
- Update the status of specified objects (homogenous collection) to the specified status.
- Parameters:
statusUnchanged
- if an id in registryObjectIds is in this ArrayList, no AuditableEvent
generated for that RegistryEntry
- Throws:
RegistryException
updateStatusForHeterogeneousObjects
public void updateStatusForHeterogeneousObjects(org.oasis.ebxml.registry.bindings.rim.User user,
java.sql.Connection connection,
java.util.ArrayList registryObjectsIds,
org.oasis.ebxml.registry.bindings.rim.types.StatusType status,
org.oasis.ebxml.registry.bindings.rs.RegistryErrorList el)
throws RegistryException
- Update the status of specified objects (heterogeneous collection) to the specified status.
- Throws:
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 RegistryObjectDAO
- Throws:
RegistryException