public QueryResultList<Entity> findEntities(FieldQuery query) throws ManagedSiteException {
QueryResultList<Representation> results;
try {
results = getYard().findRepresentation(query);
} catch (YardException e) {
throw new ManagedSiteException(e.getMessage(), e);
}
return new QueryResultListImpl<Entity>(results.getQuery(),
new AdaptingIterator<Representation,Entity>(
results.iterator(),
new AdaptingIterator.Adapter<Representation,Entity>() {