Package br.com.visualmidia.persistence

Examples of br.com.visualmidia.persistence.GetOperationByPersonId


            GDDate finishDate = new GDDate(finishDateText.getText());
           
            if(initialDate.afterDay(finishDate)){
              setErrorMessage("A data inicial deve ser anterior a data final.");
            } else {
              Map<String, Operation> map = (Map<String, Operation>) system.query(new GetOperationByPersonId(system.getLogged().getId()));
              List<Operation> list = new ArrayList<Operation>();
              for (Operation operation : map.values()) {
                if(initialDate.beforeOrEqualsDay(operation.getDateTime()) && finishDate.afterOrEqualsDay(operation.getDateTime()))
                  list.add(operation);
              }
View Full Code Here

TOP

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

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.