Examples of GetAppointmentFromRegistration


Examples of br.com.visualmidia.persistence.query.GetAppointmentFromRegistration

    return false;
  }
 
  public String getPresentStatus(Registration registration, GDDate date) {
    try {
      RegistrationAppointment registrationAppointment = (RegistrationAppointment) system.query(new GetAppointmentFromRegistration(registration, date));
      List<Presence> presences = registrationAppointment.getPresence();
     
      for (Presence presence : presences) {
        if(date.getYear() == presence.getDate().getYear() && date.getMonth() == presence.getDate().getMonth() && date.getDayOfMonth() == presence.getDate().getDayOfMonth()  ) {
          return (presence.isPresent() ? "Presente" : "Falta");
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.