Package br.com.visualmidia.business

Examples of br.com.visualmidia.business.ExtractBankItem


            public void handleEvent(Event event) {
                try {
                    TableItem[] item = table.getSelection();
                    String extractItemId = item[0].getText(0).trim() + " = " + item[0].getText(2).trim() + " = " + item[0].getText(5).replace(",", ".").trim();
                    System.out.println(extractItemId);
                    ExtractBankItem extractItem = (ExtractBankItem) system.query(new GetExtractBankItem(extractItemId));
                   
                    if(new LinkedAccountDialog(getShell(), extractItem).open() == TitleAreaDialog.OK) {
                      updateTable();
                    }
                } catch (Exception e) {
View Full Code Here


    this.date = date;
    this.accountNumberInteger = accountId;
  }

  protected void execute(PrevalentSystem system) throws BusinessException {
    ExtractBankItem extract = new ExtractBankItem(bankOperationNumber, description, value, date);
    extract.setAccount(getAccount(system));
    extract.setAccountNumber(accountNumberStr);
   
    if(relatedOperationId != null) {
      extract.setRelatedOperation(system.getOperations().get(relatedOperationId));
    }
   
    if(relatedIncomingId != null) {
      extract.setRelatedIncoming(system.getIncoming().get(relatedIncomingId));
    }
   
    if(relatedExpenditureId != null) {
      extract.setRelatedExpenditure(system.getExpenditure().get(relatedExpenditureId));
    }
       
    system.getExtractItemMap().put(extract.getId(), extract);
    }
View Full Code Here

TOP

Related Classes of br.com.visualmidia.business.ExtractBankItem

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.