use of org.c4sg.dto.ApplicationDTO in project c4sg-services by Code4SocialGood.
the class ApplicationMapper method getApplicationDtosFromEntities.
public List<ApplicationDTO> getApplicationDtosFromEntities(List<Application> applications) {
List<ApplicationDTO> applicationList = new ArrayList<ApplicationDTO>();
Iterator<Application> applicationIter = applications.iterator();
while (applicationIter.hasNext()) {
Application application = applicationIter.next();
applicationList.add(getApplicationDtoFromEntity(application));
}
return applicationList;
}
Aggregations