@Service @Repository @Transactional public class CategoryServiceImpl extends AbstractPagingAndSortingService implements CategoryService
| Constructor and Description |
|---|
CategoryServiceImpl() |
| Modifier and Type | Method and Description |
|---|---|
void |
deleteCategory(Long categoryId) |
List<CategoryModel> |
getCategories() |
List<CategoryModel> |
getCategories(int startPage,
int itemsPerPage,
String sortColumn,
String direction) |
List<CategoryModel> |
getCategories(String catalogId) |
List<CategoryModel> |
getCategories(String catalogId,
int startPage,
int itemsPerPage,
String sortColumn,
String direction) |
Optional<CategoryModel> |
getCategory(Long categoryId) |
Optional<CategoryModel> |
getCategory(String catalogId,
String name) |
CategoryModel |
saveCategory(CategoryModel category) |
createPageRequestpublic List<CategoryModel> getCategories()
getCategories in interface CategoryServicepublic List<CategoryModel> getCategories(String catalogId)
getCategories in interface CategoryServicepublic List<CategoryModel> getCategories(int startPage, int itemsPerPage, String sortColumn, String direction)
getCategories in interface CategoryServicepublic List<CategoryModel> getCategories(String catalogId, int startPage, int itemsPerPage, String sortColumn, String direction)
getCategories in interface CategoryServicepublic Optional<CategoryModel> getCategory(Long categoryId)
getCategory in interface CategoryServicepublic Optional<CategoryModel> getCategory(String catalogId, String name)
getCategory in interface CategoryServicepublic CategoryModel saveCategory(CategoryModel category)
saveCategory in interface CategoryServicepublic void deleteCategory(Long categoryId)
deleteCategory in interface CategoryServiceCopyright © 2016-2018 Apache Software Foundation. All Rights Reserved.
Apache Logging, Apache Log4j, Log4j, Apache, the Apache feather logo, the Apache Logging project logo, and the Apache Log4j logo are trademarks of The Apache Software Foundation.