- "get" is for pure getters, better use "all" for this kind method of methods
- "doAdminFoo" is old way, just "addSomeFoo()" is fine
Signed-off-by: Roland Häder <roland@mxchange.org>
* <p>
* @throws CategoryAlreadyAddedException If the category cannot be added
*/
- Category doAdminAddCategory (final Category category) throws CategoryAlreadyAddedException;
+ Category addProductCategory (final Category category) throws CategoryAlreadyAddedException;
}
* <p>
* @throws ProductAlreadyAddedException If something unexpected happened
*/
- Product doAdminAddProduct (final Product product) throws ProductAlreadyAddedException;
+ Product addGenericProduct (final Product product) throws ProductAlreadyAddedException;
}
* <p>
* @return Only available products
*/
- List<Product> getAvailableProducts ();
+ List<Product> allAvailableProducts ();
}