Package br.com.visualmidia.persistence.add

Examples of br.com.visualmidia.persistence.add.AddRegistration


               
                try {
                    String id = (idRegistration == null) ? (String) system.query(new GetRegistrationId()) : idRegistration;
                   
                   
                    system.execute(new AddRegistration(id, ((RegistrationControlCenter) controlCenter).getId(), courseIdList, getAddition(), getDiscounting(), getCourseTotalValue(), new SimpleDateFormat("dd/MM/yyyy").format(new GDDate().getDate()), getDuration(), getParcelList(), true, system.getLogged(), new Money(pontualityDiscountingText.getText())));
                    ((RegistrationControlCenter) controlCenter).loadScreen(((RegistrationControlCenter) controlCenter).getId());
                    close();
                } catch (TransactionDateException e) {
                  setErrorMessage(MessageConstants.TRANSACTION_DATE_EXCEPTION);
                } catch (Exception e) {
View Full Code Here


            IMessageProvider.ERROR);
      } else {
       
        try {
          registration.setParcels(parcelList);
          system.execute(new AddRegistration(registration.getIdRegistration(), parcelList));
          if (registrationParcelPaymentDialog != null) {
            registrationParcelPaymentDialog.updateTable();
          } else {
            registerMachineParcelPayDialog.updateTable();
          }
View Full Code Here

TOP

Related Classes of br.com.visualmidia.persistence.add.AddRegistration

Copyright © 2018 www.massapicom. 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.