public Collection<Offer> getReservations(ProductTypeID productTypeID, String[] fetchGroups, int maxFetchDepth, ProgressMonitor monitor)
{
monitor.beginTask("Load Reservations", 100);
try {
QueryCollection<AbstractJDOQuery> queryCollection = new QueryCollection<AbstractJDOQuery>(Offer.class);
OfferQuery offerQuery = new OfferQuery();
offerQuery.setReserved(true);
offerQuery.setProductTypeID(productTypeID);
queryCollection.add(offerQuery);
return getOffersByQuery(queryCollection, fetchGroups, maxFetchDepth, new SubProgressMonitor(monitor, 100));
} catch (Exception e) {
throw new RuntimeException(e);
} finally {