{
Collection<Key> keysForOrg = CollectionUtils.collect(unitsForOrg(org.getKey(), false, true), new KeyBasedData.ToKey());
PersistenceManager pm = PMF.get().getPersistenceManager();
Query query = pm.newQuery(Booking.class);
query.declareImports("import com.google.appengine.api.datastore.Key; import java.util.Collection");
query.setOrdering("name");
query.setFilter("unitKeysParam.contains(unitKey) && eventKey == eventKeyParam");
query.declareParameters("Collection unitKeysParam, Key eventKeyParam");