Package com.devsniper.desktop.customers.service

Examples of com.devsniper.desktop.customers.service.CountryService


*/
public class CountryController extends AbstractDataPageController<Country> {

    @Override
    protected AbstractService<Country> createService() {
        return new CountryService();
    }
View Full Code Here


     * Gets countries count from database.
     *
     * @return countries count
     */
    public int getCountriesCount() {
        return new CountryService().getListWithNamedQuery(Country.FIND_ALL).size();
    }
View Full Code Here

                    return I18n.CUSTOMERS.getString("Customer.Form.SelectCountry");
                }
            });
        }

        list.addAll(new CountryService().getListWithNamedQuery(Country.FIND_ALL));

        return list;
    }
View Full Code Here

TOP

Related Classes of com.devsniper.desktop.customers.service.CountryService

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.