Bug 96200 - Need a public API to extract database meta data during drag n drop of db explorer tables
Need a public API to extract database meta data during drag n drop of db expl...
Status: RESOLVED FIXED
Product: db
Classification: Unclassified
Component: Code
5.x
All All
: P1 (vote)
: 6.x
Assigned To: Andrei Badea
issues@db
http://www.glassfishwiki.org/jbiwiki/...
: API
: 96265 (view as bug list)
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2007-02-21 18:48 UTC by yeskay
Modified: 2007-06-17 10:57 UTC (History)
3 users (show)

See Also:
Issue Type: ENHANCEMENT
:


Attachments
Proposed change (52.87 KB, text/plain)
2007-06-14 22:10 UTC, Andrei Badea
Details

Note You need to log in before you can comment on or make changes to this bug.
Description yeskay 2007-02-21 18:48:36 UTC
Use of DatabaseMetaDataTransfer$Table class is restricted and can be used only
with implementation dependency. The components of Java CAPS product are making
use of this class for providing "drag n drop of DBExplorer Tables" feature. It
is essential for these components to have access to this class through a public
API. Atleast as a temporary solution, these components should be provided Friend
Access to this module.
Comment 1 Andrei Badea 2007-02-22 10:22:16 UTC
*** Issue 96265 has been marked as a duplicate of this issue. ***
Comment 2 Andrei Badea 2007-02-22 10:23:38 UTC
Should be done for 6.0.
Comment 3 yeskay 2007-03-28 13:21:27 UTC
Making the bug as P1.
Comment 4 Andrei Badea 2007-06-14 21:53:13 UTC
I propose moving the database object DnD API (currently a friend API in the db/dbapi module) to the public API of the
Database Explorer in the db module.
Comment 5 Andrei Badea 2007-06-14 22:10:29 UTC
Created attachment 43741 [details]
Proposed change
Comment 6 Andrei Badea 2007-06-17 10:55:29 UTC
Integrated.

Checking in db/apichanges.xml;
/cvs/db/apichanges.xml,v  <--  apichanges.xml
new revision: 1.5; previous revision: 1.4
done
Checking in db/arch.xml;
/cvs/db/arch.xml,v  <--  arch.xml
new revision: 1.14; previous revision: 1.13
done
Checking in db/dbapi/arch.xml;
/cvs/db/dbapi/arch.xml,v  <--  arch.xml
new revision: 1.4; previous revision: 1.3
done
Checking in db/dbapi/nbproject/project.xml;
/cvs/db/dbapi/nbproject/project.xml,v  <--  project.xml
new revision: 1.6; previous revision: 1.5
done
Removing db/dbapi/src/org/netbeans/modules/db/api/explorer/DatabaseMetaDataTransfer.java;
/cvs/db/dbapi/src/org/netbeans/modules/db/api/explorer/DatabaseMetaDataTransfer.java,v  <--  DatabaseMetaDataTransfer.java
new revision: delete; previous revision: 1.4
done
Checking in db/dbapi/src/org/netbeans/modules/dbapi/resources/layer.xml;
/cvs/db/dbapi/src/org/netbeans/modules/dbapi/resources/layer.xml,v  <--  layer.xml
new revision: 1.3; previous revision: 1.2
done
Removing db/dbapi/test/unit/src/org/netbeans/modules/db/api/explorer/DbMetaDataTransferProviderImplTest.java;
/cvs/db/dbapi/test/unit/src/org/netbeans/modules/db/api/explorer/DbMetaDataTransferProviderImplTest.java,v  <-- 
DbMetaDataTransferProviderImplTest.java
new revision: delete; previous revision: 1.2
done
Checking in db/nbproject/project.properties;
/cvs/db/nbproject/project.properties,v  <--  project.properties
new revision: 1.23; previous revision: 1.22
done
RCS file: /cvs/db/src/org/netbeans/api/db/explorer/DatabaseMetaDataTransfer.java,v
done
Checking in db/src/org/netbeans/api/db/explorer/DatabaseMetaDataTransfer.java;
/cvs/db/src/org/netbeans/api/db/explorer/DatabaseMetaDataTransfer.java,v  <--  DatabaseMetaDataTransfer.java
initial revision: 1.1
done
RCS file: /cvs/db/src/org/netbeans/modules/db/explorer/DatabaseMetaDataTransferAccessor.java,v
done
Checking in db/src/org/netbeans/modules/db/explorer/DatabaseMetaDataTransferAccessor.java;
/cvs/db/src/org/netbeans/modules/db/explorer/DatabaseMetaDataTransferAccessor.java,v  <-- 
DatabaseMetaDataTransferAccessor.java
initial revision: 1.1
done
Checking in db/src/org/netbeans/modules/db/explorer/nodes/ColumnNode.java;
/cvs/db/src/org/netbeans/modules/db/explorer/nodes/ColumnNode.java,v  <--  ColumnNode.java
new revision: 1.23; previous revision: 1.22
done
Checking in db/src/org/netbeans/modules/db/explorer/nodes/ConnectionNode.java;
/cvs/db/src/org/netbeans/modules/db/explorer/nodes/ConnectionNode.java,v  <--  ConnectionNode.java
new revision: 1.41; previous revision: 1.40
done
Checking in db/src/org/netbeans/modules/db/explorer/nodes/TableNode.java;
/cvs/db/src/org/netbeans/modules/db/explorer/nodes/TableNode.java,v  <--  TableNode.java
new revision: 1.29; previous revision: 1.28
done
Checking in db/src/org/netbeans/modules/db/explorer/nodes/ViewNode.java;
/cvs/db/src/org/netbeans/modules/db/explorer/nodes/ViewNode.java,v  <--  ViewNode.java
new revision: 1.22; previous revision: 1.21
done
Checking in db/test/unit/src/org/netbeans/modules/db/explorer/nodes/ColumnNodeTest.java;
/cvs/db/test/unit/src/org/netbeans/modules/db/explorer/nodes/ColumnNodeTest.java,v  <--  ColumnNodeTest.java
new revision: 1.2; previous revision: 1.1
done
Checking in db/test/unit/src/org/netbeans/modules/db/explorer/nodes/ConnectionNodeTest.java;
/cvs/db/test/unit/src/org/netbeans/modules/db/explorer/nodes/ConnectionNodeTest.java,v  <--  ConnectionNodeTest.java
new revision: 1.2; previous revision: 1.1
done
Checking in db/test/unit/src/org/netbeans/modules/db/explorer/nodes/TableNodeTest.java;
/cvs/db/test/unit/src/org/netbeans/modules/db/explorer/nodes/TableNodeTest.java,v  <--  TableNodeTest.java
new revision: 1.5; previous revision: 1.4
done
RCS file: /cvs/db/test/unit/src/org/netbeans/modules/db/explorer/nodes/ViewNodeTest.java,v
done
Checking in db/test/unit/src/org/netbeans/modules/db/explorer/nodes/ViewNodeTest.java;
/cvs/db/test/unit/src/org/netbeans/modules/db/explorer/nodes/ViewNodeTest.java,v  <--  ViewNodeTest.java
initial revision: 1.1
done
Comment 7 Andrei Badea 2007-06-17 10:57:27 UTC
Updated the known NetBeans clients to use the public API.

Checking in form/j2ee/nbproject/project.xml;
/cvs/form/j2ee/nbproject/project.xml,v  <--  project.xml
new revision: 1.4; previous revision: 1.3
done
Checking in form/j2ee/src/org/netbeans/modules/form/j2ee/DBColumnDrop.java;
/cvs/form/j2ee/src/org/netbeans/modules/form/j2ee/DBColumnDrop.java,v  <--  DBColumnDrop.java
new revision: 1.10; previous revision: 1.9
done
Checking in form/j2ee/src/org/netbeans/modules/form/j2ee/DBConnectionDrop.java;
/cvs/form/j2ee/src/org/netbeans/modules/form/j2ee/DBConnectionDrop.java,v  <--  DBConnectionDrop.java
new revision: 1.3; previous revision: 1.2
done
Checking in form/j2ee/src/org/netbeans/modules/form/j2ee/DBTableDrop.java;
/cvs/form/j2ee/src/org/netbeans/modules/form/j2ee/DBTableDrop.java,v  <--  DBTableDrop.java
new revision: 1.12; previous revision: 1.11
done
Checking in form/j2ee/src/org/netbeans/modules/form/j2ee/J2EEComponentDropProvider.java;
/cvs/form/j2ee/src/org/netbeans/modules/form/j2ee/J2EEComponentDropProvider.java,v  <--  J2EEComponentDropProvider.java
new revision: 1.3; previous revision: 1.2
done
Checking in enterprise/dataintegrator/eTLEditor/nbproject/project.xml;
/cvs/enterprise/dataintegrator/eTLEditor/nbproject/project.xml,v  <--  project.xml
new revision: 1.4; previous revision: 1.3
done
Checking in enterprise/dataintegrator/eTLEditor/src/org/netbeans/modules/sql/framework/ui/graph/impl/GraphView.java;
/cvs/enterprise/dataintegrator/eTLEditor/src/org/netbeans/modules/sql/framework/ui/graph/impl/GraphView.java,v  <-- 
GraphView.java
new revision: 1.3; previous revision: 1.2
done
Checking in
enterprise/dataintegrator/eTLEditor/src/org/netbeans/modules/sql/framework/ui/view/graph/BasicSQLGraphController.java;
/cvs/enterprise/dataintegrator/eTLEditor/src/org/netbeans/modules/sql/framework/ui/view/graph/BasicSQLGraphController.java,v
 <--  BasicSQLGraphController.java
new revision: 1.3; previous revision: 1.2
done
Checking in visualweb/dataconnectivity/nbproject/project.xml;
/cvs/visualweb/dataconnectivity/nbproject/project.xml,v  <--  project.xml
new revision: 1.13; previous revision: 1.12
done
Checking in
visualweb/dataconnectivity/src/org/netbeans/modules/visualweb/dataconnectivity/model/DatasourceTransferManager.java;
/cvs/visualweb/dataconnectivity/src/org/netbeans/modules/visualweb/dataconnectivity/model/DatasourceTransferManager.java,v
 <--  DatasourceTransferManager.java
new revision: 1.12; previous revision: 1.11
done


By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2012, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo