public interface CategoryService
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) |
List<CategoryModel> getCategories(int startPage, int itemsPerPage, String sortColumn, String direction)
List<CategoryModel> getCategories(String catalogId, int startPage, int itemsPerPage, String sortColumn, String direction)
List<CategoryModel> getCategories()
List<CategoryModel> getCategories(String catalogId)
Optional<CategoryModel> getCategory(Long categoryId)
Optional<CategoryModel> getCategory(String catalogId, String name)
CategoryModel saveCategory(CategoryModel category)
void deleteCategory(Long categoryId)
Copyright © 2016-2018 Apache Software Foundation. All Rights Reserved.
Apache Logging, Apache Log4j, Apache Log4j Audit, Log4j, Log4j Audit, Apache, the Apache feather logo, the Apache Logging project logo, and the Apache Log4j logo are trademarks of The Apache Software Foundation.