throws java.lang.Exception {
List list = new ArrayList();
Collection opportunityCollection = this.getOpportunityDao().findByCriteria(opportunityCriteria);
Iterator iterator = opportunityCollection.iterator();
while (iterator.hasNext()) {
Opportunity opportunity = (Opportunity) iterator.next();
OpportunityVO opportunityVO = this.getOpportunityDao().toOpportunityVO(opportunity);
CustAccountService custAccountService = DataServiceLocator.instance().getCustAccountService();
opportunityVO.setCustAccountVO(custAccountService.toCustAccountVO(opportunity.getCustAccount()));
list.add(opportunityVO);
}
return list;
}