/*
- * Copyright (C) 2016, 2017 Roland Häder
+ * Copyright (C) 2016 - 2020 Free Software Foundation
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* <p>
* @throws CategoryAlreadyAddedException If the category cannot be added
*/
- Category doAdminAddCategory (final Category category) throws CategoryAlreadyAddedException;
+ Category addProductCategory (final Category category) throws CategoryAlreadyAddedException;
+
+ /**
+ * Updates product category.
+ * <p>
+ * @param category Category instance
+ * <p>
+ * @return Updated category instance
+ */
+ Category updateProductCategory (final Category category);
}