Examples of saveOrder()


Examples of no.ugland.utransprod.service.OrderManager.saveOrder()

              LazyLoadOrderEnum.ORDER_LINE_ORDER_LINES });
          order
              .setSpecialConcern(order
                  .getOrderLineSpecialConcerns());
          try {
            orderManager.saveOrder(order);
          } catch (ProTransException e) {
            Util.showErrorDialog(window, "Feil", e.getMessage());
            e.printStackTrace();
          }
          counter++;
View Full Code Here

Examples of no.ugland.utransprod.service.OrderManager.saveOrder()

        status = checker.getArticleStatus(order);
        statusMap.put(checker.getArticleName(), status);
        order.setStatus(Util.statusMapToString(statusMap));
        try {
            orderManager.saveOrder(order);
        } catch (ProTransException e) {
            Util.showErrorDialog(window, "Feil", e.getMessage());
            e.printStackTrace();
        }
        return status;
View Full Code Here

Examples of no.ugland.utransprod.service.OrderManager.saveOrder()

      order.setPaidDate(paidDate);
    } else {
      order.setPaidDate(null);
    }
    try {
      orderManager.saveOrder(order);
    } catch (ProTransException e) {
      Util.showErrorDialog(window, "Feil", e.getMessage());
      e.printStackTrace();
    }
    paidVManager.refresh(paidV);
View Full Code Here

Examples of no.ugland.utransprod.service.OrderManager.saveOrder()

    }
    order.addOrderComment(orderComment);
    order.cacheComments();
    orderComment.setDeviation(deviation);
    try {
      orderManager.saveOrder(order);

    } catch (ProTransException e) {
      Util.showErrorDialog(window, "Feil", e.getMessage());
      e.printStackTrace();
    }
View Full Code Here

Examples of no.ugland.utransprod.service.OrderManager.saveOrder()

      order.setHasMissingCollies(1);
    } else {
      order.setHasMissingCollies(0);
    }
    try {
      orderManager.saveOrder(order);
    } catch (ProTransException e) {
      Util.showErrorDialog(window, "Feil", e.getMessage());
      e.printStackTrace();
    }
  }
View Full Code Here

Examples of org.springframework.nanotrader.data.service.TradingService.saveOrder()

    when(tradingService.updateHolding(any(Holding.class))).thenReturn(holding());
    when(tradingService.findAccountProfile(400)).thenReturn(accountProfile());
    when(tradingService.findAccountProfile(NOT_A_VALID_PROFILE)).thenReturn(null);
    when(tradingService.updateAccountProfile(any(Accountprofile.class), any(String.class))).thenReturn(accountProfile());
    when(tradingService.findOrder(eq(999), eq(ACCOUNT_ID))).thenReturn(order());
    when(tradingService.saveOrder(any(Order.class))).thenReturn(null);
    when(tradingService.saveAccountProfile(any(Accountprofile.class))).thenReturn(accountProfile());
    when(tradingService.updateOrder(any(Order.class))).thenReturn(null);
    when(tradingService.findOrdersByStatus(eq(ACCOUNT_ID), any(String.class), any(Integer.class), any(Integer.class))).thenReturn(orders());
    when(tradingService.findOrders(eq(ACCOUNT_ID), any(Integer.class), any(Integer.class))).thenReturn(orders());
    when(tradingService.findQuoteBySymbol(eq(SYMBOL))).thenReturn(quote());
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.