Package com.devsniper.desktop.customers.service

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


     * Gets customers count from database.
     *
     * @return customers count
     */
    public int getCustomersCount() {
        return new CustomerService().getListWithNamedQuery(Customer.FIND_ALL).size();
    }
View Full Code Here


*/
public class CustomerController extends AbstractDataPageController<Customer> {

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

TOP

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

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.