Examples of validateOffer()


Examples of org.nightlabs.jfire.trade.Trader.validateOffer()

          offerIDPrefix, IDGenerator.nextID(Offer.class, offerIDPrefix));

      new OfferLocal(recurringOffer); // OfferLocal registers itself in Offer

      recurringOffer = getPersistenceManager().makePersistent(recurringOffer);
      trader.validateOffer(recurringOffer);

      ProcessDefinitionAssignment processDefinitionAssignment = (ProcessDefinitionAssignment) getPersistenceManager().getObjectById(
          ProcessDefinitionAssignmentID.create(RecurringOffer.class, tradeSide));
      processDefinitionAssignment.createProcessInstance(null, user, recurringOffer);
View Full Code Here

Examples of org.nightlabs.jfire.trade.Trader.validateOffer()

          offerIDPrefix, IDGenerator.nextID(Offer.class, offerIDPrefix));

      new OfferLocal(recurredOffer); // OfferLocal registers itself in Offer

      recurredOffer = getPersistenceManager().makePersistent(recurredOffer);
      trader.validateOffer(recurredOffer);

      // RecurredOffer has the same workflow definition as other offers,
      // thus we persist a workflow from the assignment to Offer.class
      ProcessDefinitionAssignment processDefinitionAssignment = (ProcessDefinitionAssignment) getPersistenceManager().getObjectById(
          ProcessDefinitionAssignmentID.create(Offer.class, tradeSide));
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.