]> git.mxchange.org Git - jcustomer-lib.git/commitdiff
Added admin business method
authorRoland Haeder <roland@mxchange.org>
Wed, 9 Sep 2015 09:15:50 +0000 (11:15 +0200)
committerRoland Haeder <roland@mxchange.org>
Wed, 9 Sep 2015 09:16:42 +0000 (11:16 +0200)
Signed-off-by:Roland Häder <roland@mxchange.org>

src/org/mxchange/jshopcore/model/category/CategorySessionBeanRemote.java

index f5f157c50e246d905cfecc28641b0c3c32c9c2a4..a3243bde79c40b4ec2ed4fa466d91d63108bc384 100644 (file)
@@ -29,6 +29,15 @@ import javax.ejb.Remote;
 @Remote
 public interface CategorySessionBeanRemote extends Serializable {
 
+       /**
+        * Adds given category to database. This method is intended to be used in
+        * admin area.
+        *
+        * @param category Category instance
+        * @throws java.rmi.RemoteException If anything went wrong
+        */
+       public void doAdminAddCategory (final Category category) throws RemoteException;
+
        /**
         * Some "getter" for a linked list of all categories
         *