]> git.mxchange.org Git - jproduct-lib.git/commitdiff
Continued:
authorRoland Häder <roland@mxchange.org>
Mon, 23 Oct 2017 19:46:52 +0000 (21:46 +0200)
committerRoland Häder <roland@mxchange.org>
Mon, 23 Oct 2017 21:08:37 +0000 (23:08 +0200)
- "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>
src/org/mxchange/jproduct/model/category/AdminCategorySessionBeanRemote.java
src/org/mxchange/jproduct/model/product/AdminProductSessionBeanRemote.java
src/org/mxchange/jproduct/model/product/ProductSessionBeanRemote.java

index e2e00a775ac62e653a2be7805c3aaa3da576a631..50bf98cec6aac236973800e332c43f002a1032b6 100644 (file)
@@ -37,6 +37,6 @@ public interface AdminCategorySessionBeanRemote extends Serializable {
         * <p>
         * @throws CategoryAlreadyAddedException If the category cannot be added
         */
-       Category doAdminAddCategory (final Category category) throws CategoryAlreadyAddedException;
+       Category addProductCategory (final Category category) throws CategoryAlreadyAddedException;
 
 }
index 8c3c179ac7499273b27e80760122efcb9c7061a0..346184c46cb920075db2feb38143d4d4726bc170 100644 (file)
@@ -37,6 +37,6 @@ public interface AdminProductSessionBeanRemote extends Serializable {
         * <p>
         * @throws ProductAlreadyAddedException If something unexpected happened
         */
-       Product doAdminAddProduct (final Product product) throws ProductAlreadyAddedException;
+       Product addGenericProduct (final Product product) throws ProductAlreadyAddedException;
 
 }
index f3ff6913cbe6477ea24ee5fcf2f18f222c0405bb..89b606108d6f9d771073dc0fdd1dac0e1d187f81 100644 (file)
@@ -40,6 +40,6 @@ public interface ProductSessionBeanRemote extends Serializable {
         * <p>
         * @return Only available products
         */
-       List<Product> getAvailableProducts ();
+       List<Product> allAvailableProducts ();
 
 }