Package br.com.visualmidia.persistence

Examples of br.com.visualmidia.persistence.GetRegistrationByPerson


    @SuppressWarnings("unchecked")
  public void loadScreen(String id) {
        try {
            Person person = (Person) system.query(new GetPerson(id));
            registrations = (List <Registration>) system.query(new GetRegistrationByPerson(person.getId()));
           
            nameText.setText(person.getName());
            idText.setText(person.getId());
           
            updateTable();
View Full Code Here


   
    @SuppressWarnings("unchecked")
  private void loadTableData(Person person) throws Exception {
        studentRegistrationTable.setEnabled(true);
        studentRegistrationTable.removeAll();
        registrations = (List<Registration>) system.query(new GetRegistrationByPerson(person.getId()));
        updateRegistagionTable();

        if (selectedRegistration == null){
          parcelTable.setEnabled(false);
          parcelTable.removeAll();
View Full Code Here

 
  @SuppressWarnings("unchecked")
  private void updateRegistrationTable(Person person) {
        registrationTable.removeAll();
        try {
            List<Registration> registrations = (List<Registration>) system.query(new GetRegistrationByPerson(person.getId()));
           
            for (Registration registration : registrations) {
                if(registration.getEndDate() == null) {
                    TableItem item = new TableItem(registrationTable, SWT.LEFT);
                   
View Full Code Here

TOP

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

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.