public ClinicalNotesLiteVoCollection listClinicalNotesByCareContextAndNoteType(CareContextRefVo careContext, ClinicalNoteType noteType) { ClinicalNotesList impl = (ClinicalNotesList) getDomainImpl(ClinicalNotesListImpl.class); ClinicalNotesFilterVo voFilter = new ClinicalNotesFilterVo(); voFilter.setNoteType(noteType); voFilter.setCareContext(careContext); return impl.listClinicalNoteLite(voFilter); }
public ClinicalNotesLiteVoCollection listClinicalNoteLite(ClinicalNotesFilterVo filter) { DomainFactory factory = getDomainFactory(); if(filter == null) return ClinicalNotesLiteVoAssembler.createClinicalNotesLiteVoCollectionFromClinicalNotes(factory.listDomainObjects(ClinicalNotes.class)); return ClinicalNotesLiteVoAssembler.createClinicalNotesLiteVoCollectionFromClinicalNotes(listDomClinicalNotes(factory, filter)); }