{
final BrowsingResults results = new BrowsingResults( groupId );
if ( !observableRepositoryIds.isEmpty() )
{
final List<String> groups = (List<String>) dao.query( new UniqueGroupIdConstraint( observableRepositoryIds, groupId ) );
final List<String> artifacts =
(List<String>) dao.query( new UniqueArtifactIdConstraint( observableRepositoryIds, groupId ) );
// Remove searched for groupId from groups list.
// Easier to do this here, vs doing it in the SQL query.