Search in sources :

Example 16 with UiCustomer

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;
}
Also used : UiCustomer(eu.ggnet.dwoss.customer.opi.UiCustomer) Customer(eu.ggnet.dwoss.customer.ee.entity.Customer) OldCustomer(eu.ggnet.dwoss.customer.ee.priv.OldCustomer) UiCustomer(eu.ggnet.dwoss.customer.opi.UiCustomer)

Aggregations

UiCustomer (eu.ggnet.dwoss.customer.opi.UiCustomer)16 SubMonitor (eu.ggnet.dwoss.progress.SubMonitor)8 Document (eu.ggnet.dwoss.redtape.ee.entity.Document)8 DocumentEao (eu.ggnet.dwoss.redtape.ee.eao.DocumentEao)5 Position (eu.ggnet.dwoss.redtape.ee.entity.Position)5 FileJacket (eu.ggnet.dwoss.util.FileJacket)5 File (java.io.File)4 OldCustomer (eu.ggnet.dwoss.customer.ee.priv.OldCustomer)3 UniqueUnitEao (eu.ggnet.dwoss.uniqueunit.ee.eao.UniqueUnitEao)3 CBorder (eu.ggnet.lucidcalc.CBorder)3 CCalcDocument (eu.ggnet.lucidcalc.CCalcDocument)3 CFormat (eu.ggnet.lucidcalc.CFormat)3 CSheet (eu.ggnet.lucidcalc.CSheet)3 STable (eu.ggnet.lucidcalc.STable)3 STableColumn (eu.ggnet.lucidcalc.STableColumn)3 STableModelList (eu.ggnet.lucidcalc.STableModelList)3 TempCalcDocument (eu.ggnet.lucidcalc.TempCalcDocument)3 Ledger (eu.ggnet.dwoss.mandator.api.value.Ledger)2 SageExporterEngine (eu.ggnet.dwoss.redtape.ee.sage.SageExporterEngine)2 Row (eu.ggnet.dwoss.redtape.ee.sage.xml.Row)2