@Test public void findAll() throws Exception { Iterable<Category> all = categoryService.findAll(); for (Category category : all) { System.err.println(category.toString()); } }
@Override public Iterable<Category> findAll() { return categoryRepository.findAll(); }
CategoryServiceImpl implements CategoryService { @Override public Iterable<Category> findAll() { return categoryRepository.findAll(); } }
CategoryServiceImpl implements CategoryService { @Override public Iterable<Category> findAll() { return categoryRepository.findAll(); }  }
CategoryServiceImpl implements CategoryService { @Override public Iterable<Category> findAll() { return categoryRepository.findAll(); }  @Override void saveCategory(Category category); @Override void insertCategories(Iterable<Category> iterable); @Override void deleteCategoryById(Long id); @Override void updateCategory(Category category); @Override Iterable<Category> findAll(); @Override Category findCategoryById(Long id); @Override Page<Category> findCategoryByPage(Integer starPage, Integer itemNumber); @Override Page<Category> findCategoryByPageAndOrder(Integer starPage, Integer itemNumber); }
CategoryServiceImpl implements CategoryService { @Override public Iterable<Category> findAll() { return categoryRepository.findAll(); }  @Override void saveCategory(Category category); @Override void insertCategories(Iterable<Category> iterable); @Override void deleteCategoryById(Long id); @Override void updateCategory(Category category); @Override Iterable<Category> findAll(); @Override Category findCategoryById(Long id); @Override Page<Category> findCategoryByPage(Integer starPage, Integer itemNumber); @Override Page<Category> findCategoryByPageAndOrder(Integer starPage, Integer itemNumber);  }