sonatype/nexus-oss — pull request #747 by cwilper (2014-09-24 20:01:08+00:00)
Title: WIP: [NX-715] Query over components and assets

https://issues.sonatype.org/browse/NX-715

just some food for thought at this stage. not set on this, but my initial inclination was to have it return Asset objects for asset queries, and any kind of object for component queries. So you could have a list of MavenComponent objects come back, for example, if that's what you're searching for. Clearly it assumes that a Record-to-DomainObject capability exists somewhere under the hood. And if we go that way, a DomainObject-to-Record mapping would be good too. Similar in spirit to the Orient entityAdapters that have been done.