Examples of OfferQuery


Examples of org.nightlabs.jfire.trade.query.OfferQuery

  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 {
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.