private void populateParentNodes(ElectrotherapyTENSShortVoCollection voTENSColl) { if (voTENSColl == null || voTENSColl.size() <= 0 ) return; for(int i=0; i<voTENSColl.size(); i++) { populateParentNode(voTENSColl.get(i)); } }
/** * WDEV-13648 * */ public ElectrotherapyTENSShortVoCollection listElectrotherapyTensByCareContext(CareContextLiteVo voCareContext) { String query = "from ElectrotherapyTENS tens where tens.clinicalContact.careContext.id = :EC"; return ElectrotherapyTENSShortVoAssembler.createElectrotherapyTENSShortVoCollectionFromElectrotherapyTENS(getDomainFactory().find(query, "EC", voCareContext.getID_CareContext())); }