Package no.ugland.utransprod.service

Examples of no.ugland.utransprod.service.OverviewManager.saveObject()


    if (!refreshing) {
      OverviewManager overviewManager = (OverviewManager) ModelUtil
          .getBean(packable.getManagerName());
      if (!defaultColliesGenerated()) {
        packable.setDefaultColliesGenerated(1);
        overviewManager.saveObject(packable);
        List<Colli> collies = packable.getColliList();
        List<OrderLine> orderLines = packable.getOrderLineList();
        Colli tmpColli;

        tmpColli = new Colli(null,
View Full Code Here


              }
            }
          }
        }
       
        overviewManager.saveObject(packable);
        setPackable(packable, null);
      }
    }
  }
View Full Code Here

      abstractOrderModel.setColliesDone(0);

    }

    try {
      overviewManager.saveObject(abstractOrderModel.getObject());
    } catch (ProTransException e) {
      Util.showErrorDialog(window, "Feil",
          "Ordre er oppdatert av noen andre, oppdater f�r lagring");
      e.printStackTrace();
    } catch (HibernateOptimisticLockingFailureException e) {
View Full Code Here

        .getBean();

    OverviewManager overviewManager = (OverviewManager) ModelUtil
        .getBean(abstractOrderModel.getManagerName());
    try {
      overviewManager.saveObject(abstractOrderModel.getObject());
    } catch (ProTransException e) {
      Util.showErrorDialog(window, "Feil", e.getMessage());
      e.printStackTrace();
    }
    if (orderSelectionList.hasSelection()) {
View Full Code Here

          newOrderLine.setAttributeInfo(newOrderLine
              .getAttributesAsString());
          try {
            managerRepository.getOrderLineManager().saveOrderLine(
                newOrderLine);
            overviewManager.saveObject(abstractOrderModel
                .getObject());
            abstractOrderModel.addOrderLine(newOrderLine);
            ownOrderLineList.add(newOrderLine);
          } catch (ProTransException e) {
            Util.showErrorDialog(window, "Feil", e.getMessage());
View Full Code Here

          ownOrderLineList.remove(orderLine);

          abstractOrderModel.removeOrderLine(orderLine);
          abstractOrderModel.viewToModel();
          try {
            overviewManager.saveObject(abstractOrderModel
                .getObject());
          } catch (ProTransException e) {
            Util.showErrorDialog(window, "Feil", e.getMessage());
            e.printStackTrace();
          }
View Full Code Here

        }
        if (abstractOrderModel.isDonePackage()) {
          abstractOrderModel.setOrderComplete(Util.getCurrentDate());
        }
        try {
          overviewManager.saveObject(abstractOrderModel.getObject());
        } catch (ProTransException e) {
          Util.showErrorDialog(window, "Feil", e.getMessage());
          e.printStackTrace();
        }
        setSums();
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.