Package com.devsniper.desktop.customers.service

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


     * Gets categories count from database.
     *
     * @return categories count
     */
    public int getCategoriesCount() {
        return new CategoryService().getListWithNamedQuery(Category.FIND_ALL).size();
    }
View Full Code Here


*/
public class CategoryController extends AbstractDataPageController<Category> {

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

     * Gets categories from database.
     *
     * @return categories list
     */
    public List<Category> getCategoriesList() {
        return new CategoryService().getListWithNamedQuery(Category.FIND_ALL);
    }
View Full Code Here

TOP

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

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.