Bug 295378 - [repository] IArtifactRepositoryManager should support IQueryable
Summary: [repository] IArtifactRepositoryManager should support IQueryable
Status: RESOLVED FIXED
Alias: None
Product: Equinox
Classification: Eclipse Project
Component: p2 (show other bugs)
Version: 3.6   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: 3.6 M4   Edit
Assignee: P2 Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords: api
Depends on:
Blocks: 295379
  Show dependency tree
 
Reported: 2009-11-17 13:22 EST by Susan McCourt CLA
Modified: 2009-11-24 13:52 EST (History)
3 users (show)

See Also:


Attachments
patch (16.84 KB, patch)
2009-11-17 14:32 EST, Andrew Niefer CLA
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Susan McCourt CLA 2009-11-17 13:22:31 EST
Now that artifact repositories support IQueryable, we should move the IQueryable code in the metadata repository manager up to the abstract repository manager.  

Then, IRepositoryManager can extend IQueryable instead of IMetadataRepositoryManager.
Comment 1 Andrew Niefer CLA 2009-11-17 14:32:11 EST
Created attachment 152422 [details]
patch

Patch makes IRepositoryManager extend IQueryable.  It pulls #query up from MetadataRepositoryManager into AbstractRepositoryManager.  There is a small change there to call the AbstractRepositoryManager#loadRepository(URI, IProgressMonitor, String, int) method.


As a parallel, I also changed IRepository to extend IQueryable instead of the artifact/metadata repos extending it.
Comment 2 Andrew Niefer CLA 2009-11-24 13:52:07 EST
done