private void lisPatientMeetings(PatientMeetingLiteVoCollection voColPatientMeetings) { if (voColPatientMeetings == null) return; voColPatientMeetings.sort(); PatientMeetingLiteVo voPatientMeeting = null; for (int i = 0; i < voColPatientMeetings.size(); i++) { voPatientMeeting = voColPatientMeetings.get(i); grdListRow row = form.grdList().getRows().newRow(); if (voPatientMeeting.getMeetingDateTimeIsNotNull()) row.setColDateTime(voPatientMeeting.getMeetingDateTime().toString()); if (voPatientMeeting.getStatusIsNotNull()) row.setColStatus(voPatientMeeting.getStatus().toString()); if (voPatientMeeting.getMeetingNotesIsNotNull()) row.setColNotes(voPatientMeeting.getMeetingNotes()); if (voPatientMeeting.getMeetingNotesIsNotNull()) row.setColNotesButton(voPatientMeeting.getMeetingNotes()); row.setValue(voPatientMeeting); } }
/** * lists GoalPlanningMeetings */ public PatientMeetingLiteVoCollection lisPatientMeetingsForCareContext(ims.core.admin.vo.CareContextRefVo voRefCareContext) { DomainFactory factory = getDomainFactory(); String hql = " from PatientMeeting m where m.careContext.id = " + voRefCareContext.getID_CareContext(); List lstPatientMeetings = factory.find(hql); return PatientMeetingLiteVoAssembler.createPatientMeetingLiteVoCollectionFromPatientMeeting(lstPatientMeetings).sort(); }