use of eu.ggnet.dwoss.customer.opi.UiCustomer in project dwoss by gg-net.
the class CustomerServiceBean method asUiCustomers.
@Override
public List<UiCustomer> asUiCustomers(String company, String firstName, String lastName, String email, boolean appendWildcard) {
L.debug("asUiCustomers called with company={},firstName={},lastName={},email={},wildcard={}", company, firstName, lastName, email, appendWildcard);
List<UiCustomer> customers = new ArrayList<>();
for (Customer customer : customerEao.find(company, firstName, lastName, email, appendWildcard)) {
customers.add(asUiCustomer(convert(customer)));
}
return customers;
}
Aggregations