private void initialize() { ReportTemplateBoRefLiteVoCollection classes = domain.listClassesWithTemplates(); for (int i = 0; i < classes.size(); i++) { form.cmbClass().newRow(classes.get(i).getBusinessObj(), getShortClassname(classes.get(i).getBusinessObj())); } EpisodeofCareShortVoCollection episList = domain.listEpisodeOfCaresByPatient(form.getGlobalContext().Core.getPatientShort()); for (int i = 0; i < episList.size(); i++) { form.cmbEpisodeOfCare().newRow(episList.get(i), getEpisodeOfCareDisplayString(episList.get(i))); } setDefaults(); }
public ReportTemplateBoRefLiteVoCollection listClassesWithTemplates() { return ReportTemplateBoRefLiteVoAssembler.createReportTemplateBoRefLiteVoCollectionFromReportTemplateBoRef( getDomainFactory().find("from ReportTemplateBoRef")).sort(); }