Examples of GetOperation


Examples of br.com.visualmidia.persistence.GetOperation

                    TableItem[] item = checkTable.getCheckTable().getSelection();
                    if (item.length == 0) {
                        setErrorMessage("Voc� deve selecionar pelo menos um cheque.");
                    } else if (item.length == 1) {
                        setErrorMessage("");
                        Operation operation  = ((Operation) system.query(new GetOperation(item[0].getText(1))));
                        PaymentCheck check = (PaymentCheck) operation.getPaymentType();
                        new ObservationCheckDialog(mainPanel.getShell(), check, operation, getMySelf()).open();
                    } else {
                      setErrorMessage("");
                      Map<String, PaymentCheck> checkMap = new HashMap<String, PaymentCheck>();
                      for (TableItem it : item) {
                        Operation operation  = ((Operation) system.query(new GetOperation(it.getText(1))));
                            PaymentCheck check = (PaymentCheck) operation.getPaymentType();
                            checkMap.put(operation.getId(), check);
            }
                      new ObservationCheckDialog(mainPanel.getShell(), checkMap, getMySelf()).open();
                    }
View Full Code Here

Examples of br.com.visualmidia.persistence.GetOperation

  }

  @SuppressWarnings("unchecked")
  private Operation getRelatedOperation(String bankOperationNumber, String description, String value, GDDate date) {
    try {
      Map<String, Operation> operationMap = (Map<String, Operation>) system.query(new GetOperation());

      for (Operation operation : operationMap.values()) {
        if(operation.getAccount().isBankAccount()) {
          if((new GDDate(operation.getDateTime()).equals(date)
              && new Money(operation.getValue()).equals(new Money(value)) )
View Full Code Here

Examples of br.com.visualmidia.persistence.GetOperation

    @SuppressWarnings(value = { "unchecked" })
    public void updateTable(String typeOfFilter, GDDate startDate, GDDate endDate, String selectedLocalization, String nameSearch) {
        checkTable.removeAll();
      Map<String, Operation> operations;
    try {
      operations = (Map<String, Operation>) system.query(new GetOperation());
      if(typeOfFilter.equals("Todos")) {
        for (Operation operation : operations.values()) {
          if (operation.getPaymentType() instanceof PaymentCheck) {
            PaymentCheck check = (PaymentCheck) operation.getPaymentType();
            if ((condition(selectedLocalization, check)) && ((nameSearch.equals("")) ? true : match(check.getResponsable(), nameSearch))) {
View Full Code Here

Examples of br.com.visualmidia.persistence.GetOperation

    @SuppressWarnings("unchecked")
  private void updatePossibleTable() {
        table.removeAll();
        try {
      Map<String, Operation> operationMap = (Map<String, Operation>) system.query(new GetOperation());
      for (Operation operation : operationMap.values()) {
        if(operation.getAccount().isBankAccount() && !operation.isOperationLinked() && (extractBankItem.getAccount() == null ? true : extractBankItem.getAccount().getId().equals(operation.getAccount().getId()))) {
          float operationBeginValue = operation.getValue() - 20;
          float operationEndValue = operation.getValue() + 20;
          float extractBankItemValue = new Money(extractBankItem.getValue()).getFloatValue();
View Full Code Here

Examples of br.com.visualmidia.persistence.GetOperation

   
    @SuppressWarnings("unchecked")
  private void updateExistTable() {
        table.removeAll();
        try {
      Map<String, Operation> operationMap = (Map<String, Operation>) system.query(new GetOperation());
      for (Operation operation : operationMap.values()) {
        if(operation.getAccount().isBankAccount() && !operation.isOperationLinked() && (extractBankItem.getAccount() == null ? true : extractBankItem.getAccount().getId().equals(operation.getAccount().getId()))) {
          TableItem item = new TableItem(table, SWT.NONE);
                 
          item.setText(0, operation.getId());
View Full Code Here

Examples of com.hazelcast.concurrent.atomiclong.operations.GetOperation

        return asyncGet().getSafely();
    }

    @Override
    public InternalCompletableFuture<Long> asyncGet() {
        GetOperation operation = new GetOperation(name);
        return asyncInvoke(operation);
    }
View Full Code Here

Examples of com.hazelcast.concurrent.atomiclong.operations.GetOperation

                    case APPLY:
                        return new ApplyOperation();
                    case COMPARE_AND_SET:
                        return new CompareAndSetOperation();
                    case GET:
                        return new GetOperation();
                    case GET_AND_SET:
                        return new GetAndSetOperation();
                    case GET_AND_ALTER:
                        return new GetAndAlterOperation();
                    case GET_AND_ADD:
View Full Code Here

Examples of com.hazelcast.concurrent.atomicreference.operations.GetOperation

        return asyncGet().getSafely();
    }

    @Override
    public InternalCompletableFuture<E> asyncGet() {
        Operation operation = new GetOperation(name);
        return asyncInvoke(operation, getNodeEngine());
    }
View Full Code Here

Examples of com.hazelcast.concurrent.atomicreference.operations.GetOperation

        super(name);
    }

    @Override
    protected Operation prepareOperation() {
        return new GetOperation(name);
    }
View Full Code Here

Examples of com.hazelcast.concurrent.atomicreference.operations.GetOperation

                    case GET_AND_ALTER:
                        return new GetAndAlterOperation();
                    case GET_AND_SET:
                        return new GetAndSetOperation();
                    case GET:
                        return new GetOperation();
                    case IS_NULL:
                        return new IsNullOperation();
                    case SET_AND_GET:
                        return new SetAndGetOperation();
                    case SET_BACKUP:
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.