Package br.com.visualmidia.persistence

Examples of br.com.visualmidia.persistence.GetRegistrationStatusByMotive


      parent.setText(5, registration.getEmployee().getName());

      List<String> registrationStatus = registration.getEndStatus();
      if (registrationStatus.size() > 0) {
        try {
          status = (RegistrationStatus) system.query(new GetRegistrationStatusByMotive(registrationStatus.get(0)));
          parent.setText(6, status.getCategory() + ": " + registrationStatus.get(0));
        } catch (Exception e) {
          e.printStackTrace();
        }
      }
View Full Code Here


//                      page.addElement(divLine(posX+410));
                     
                      List<String> registrationStatus = registration.getEndStatus();
                if (registrationStatus.size() > 0) {
                  try {
                    status = (RegistrationStatus) system.query(new GetRegistrationStatusByMotive(registrationStatus.get(0)));
                   
                    page.addElement(insertText((status.getCategory() + ": " + registrationStatus.get(0)), posX+355, 190));
        
                  } catch (Exception e) {
                    e.printStackTrace();
View Full Code Here

   
    protected void buttonPressed(int buttonId) {
        if (buttonId == OK) {
            if(!comboTree.getText().equals("")) {
              try {
                RegistrationStatus status = (RegistrationStatus) system.query(new GetRegistrationStatusByMotive(comboTree.getText()));
               
                MessageBox messageBox = new MessageBox(getShell(), SWT.ICON_QUESTION|SWT.YES|SWT.NO|SWT.CANCEL);
                messageBox.setMessage("Deseja excluir as parcelas em aberto?");
                messageBox.setText("Alerta Gerente Digital!");
                int result = messageBox.open();
View Full Code Here

    }
       
    private boolean checkStatus(String status, List<String> statusList){
        for (String statusTemp : statusList) {
            try {
                RegistrationStatus registrationStatus = (RegistrationStatus) system.query(new GetRegistrationStatusByMotive(statusTemp));
                if (registrationStatus.getCategory().equals(status)) {
                    return true;
                }
            } catch (Exception e) {
                e.printStackTrace();
View Full Code Here

TOP

Related Classes of br.com.visualmidia.persistence.GetRegistrationStatusByMotive

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.