Bug 295378

Summary: [repository] IArtifactRepositoryManager should support IQueryable
Product: [Eclipse Project] Equinox Reporter: Susan McCourt <susan>
Component: p2Assignee: P2 Inbox <equinox.p2-inbox>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: aniefer, irbull, john.arthorne
Version: 3.6Keywords: api
Target Milestone: 3.6 M4   
Hardware: PC   
OS: Windows XP   
Whiteboard:
Bug Depends on:    
Bug Blocks: 295379    
Attachments:
Description Flags
patch none

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