|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.sun.ebxml.registry.persistence.rdb.RegistryObjectDAO
com.sun.ebxml.registry.persistence.rdb.ClassificationNodeDAO
Concept instances are used to define tree structures where each node in the tree is a Concept. Such classificationNode trees constructed with Concepts are used to define classificationNode schemes or ontologies. Note this interface used to be called ClassificationNode.
Constructor Summary | |
protected |
ClassificationNodeDAO()
|
Method Summary | |
protected java.lang.String |
checkClassificationNodeReferences(java.sql.Connection conn,
java.lang.String nodeId)
|
protected java.lang.String |
checkClassificationReferences(java.sql.Connection conn,
java.lang.String nodeId)
|
void |
delete(org.oasis.ebxml.registry.bindings.rim.User user,
java.sql.Connection connection,
java.util.ArrayList nodesIds)
Does a bulk delete of a Collection of objects that match the type for this persister. |
void |
deleteByParentIds(org.oasis.ebxml.registry.bindings.rim.User user,
java.sql.Connection connection,
java.util.ArrayList parentIds)
Does a bulk delete of objects for specified parentIds |
java.lang.String |
generatePath(java.sql.Connection conn,
org.oasis.ebxml.registry.bindings.rim.ClassificationNodeType node)
Generate the path for the specified ClassificationNode. |
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 |
getPathForExistingObject(java.sql.Connection conn,
org.oasis.ebxml.registry.bindings.rim.ObjectRefType ref)
Get the path for a ClassificationNode or ClassificationScheme identified by an ObjectRefType (i.e. |
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 classificationNodes)
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 classificationNodes)
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 classificationNodes,
boolean checkExistence,
boolean checkAuthorization)
Does a bulk update of a ArrayList of ClassificationNode. |
Methods inherited from class com.sun.ebxml.registry.persistence.rdb.RegistryObjectDAO |
checkAssociationReferences, 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 |
protected ClassificationNodeDAO()
Method Detail |
public static java.lang.String getTableNameStatic()
public java.lang.String getTableName()
getTableName
in class RegistryObjectDAO
public void insert(org.oasis.ebxml.registry.bindings.rim.User user, java.sql.Connection connection, java.util.ArrayList classificationNodes) throws RegistryException
insert
in class RegistryObjectDAO
RegistryException
public java.lang.String generatePath(java.sql.Connection conn, org.oasis.ebxml.registry.bindings.rim.ClassificationNodeType node) throws RegistryException
RegistryException
public java.lang.String getPathForExistingObject(java.sql.Connection conn, org.oasis.ebxml.registry.bindings.rim.ObjectRefType ref) throws RegistryException
RegistryException
public void deleteByParentIds(org.oasis.ebxml.registry.bindings.rim.User user, java.sql.Connection connection, java.util.ArrayList parentIds) throws RegistryException
RegistryException
public void update(org.oasis.ebxml.registry.bindings.rim.User user, java.sql.Connection connection, java.util.ArrayList classificationNodes) throws RegistryException
RegistryObjectDAO
update
in class RegistryObjectDAO
RegistryException
public void update(org.oasis.ebxml.registry.bindings.rim.User user, java.sql.Connection connection, java.util.ArrayList classificationNodes, boolean checkExistence, boolean checkAuthorization) throws RegistryException
update
in class RegistryObjectDAO
RegistryException
protected java.lang.String checkClassificationReferences(java.sql.Connection conn, java.lang.String nodeId) throws RegistryException
checkClassificationReferences
in class RegistryObjectDAO
RegistryException
protected java.lang.String checkClassificationNodeReferences(java.sql.Connection conn, java.lang.String nodeId) throws RegistryException
RegistryException
public void delete(org.oasis.ebxml.registry.bindings.rim.User user, java.sql.Connection connection, java.util.ArrayList nodesIds) throws RegistryException
RegistryObjectDAO
delete
in class RegistryObjectDAO
RegistryException
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
loadObjectFromResultSet
in class RegistryObjectDAO
RegistryException
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
getLeafObjectList
in class RegistryObjectDAO
RegistryException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |