Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 318992 - Support remote cross referencing with a convenient API on the client and SPI on the server for the stores to implement
Summary: Support remote cross referencing with a convenient API on the client and SPI ...
Status: CLOSED FIXED
Alias: None
Product: EMF
Classification: Modeling
Component: cdo.core (show other bugs)
Version: 3.0   Edit
Hardware: All All
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: Eike Stepper CLA
QA Contact: Eike Stepper CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-07-06 06:51 EDT by Eike Stepper CLA
Modified: 2011-08-04 02:22 EDT (History)
0 users

See Also:


Attachments
Adjusted patch from bug 300149 (48.54 KB, patch)
2010-07-06 06:59 EDT, Eike Stepper CLA
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Eike Stepper CLA 2010-07-06 06:51:31 EDT
Cloned from: 300149: Support remote cross referencing with a convenient API on the client and SPI on the server for the stores to implement
https://bugs.eclipse.org/bugs/show_bug.cgi?id=300149

It would be great to extend CDO with the possibility to query all the objects referencing a certain object. The so-called crossreferencing (or xref) functionality. 

Using the model available on the server it is possible to determine for each EClass what queries are needed to retrieve the referencing objects.

A thing to consider is how to handle larger volumes of referencing objects. It is clearly possible that multiple queries are needed to retrieve all cross referencers so it can be difficult to implement paging or sublist behavior. So maybe the client api can pass in a max number of returned objects.

To support xref I think we need:
- an api and convenience method on the client
- a server side api definition 
- implementation of this functionality in each store

Eike and others let me know if you have any comments or feedback on this. 

Thanks!

Martin T.
Comment 1 Eike Stepper CLA 2010-07-06 06:59:40 EDT
Created attachment 173529 [details]
Adjusted patch from bug 300149
Comment 2 Eike Stepper CLA 2010-07-06 07:05:03 EDT
Committed to R3_0_maintenance
Comment 3 Eike Stepper CLA 2011-06-23 04:30:32 EDT
Moving all open enhancement requests to 4.1
Comment 4 Eike Stepper CLA 2011-07-06 02:44:10 EDT
Reverting the previous status change which was accidental.
Comment 5 Eike Stepper CLA 2011-08-04 02:22:33 EDT
According to comment #2 the version should be 3.0.