public ClinicListVoCollection listLocationsMin(LocationType locType) { DomainFactory factory = getDomainFactory(); ClinicListVoCollection voCollReturn = new ClinicListVoCollection(); List lstClinics = factory.find("from Location l where l.type = :type and l.isActive= :isActive and l.isVirtual= :isVirtual", new String[]{"type", "isActive", "isVirtual"}, new Object[]{getDomLookup(locType), Boolean.TRUE, Boolean.FALSE});//wdev-2730 for (Iterator iter = lstClinics.iterator(); iter.hasNext();) { Location doLocation = (Location) iter.next(); ClinicListVo voBaseList = new ClinicListVo(); voBaseList.setSingleID(doLocation.getId()); voBaseList.setBoolValue(doLocation.isIsActive()); voBaseList.setName(doLocation.getName()); voBaseList.setDescription(doLocation.getExtCode(TaxonomyType.PAS.getId())); voCollReturn.add(voBaseList); } return voCollReturn; }