From: Roland Haeder Date: Wed, 9 Sep 2015 09:15:50 +0000 (+0200) Subject: Added admin business method X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=639d20468e7e0cedd8670ca6bccb551150045685;p=jshop-lib.git Added admin business method Signed-off-by:Roland Häder --- diff --git a/src/org/mxchange/jshopcore/model/category/CategorySessionBeanRemote.java b/src/org/mxchange/jshopcore/model/category/CategorySessionBeanRemote.java index f5f157c..a3243bd 100644 --- a/src/org/mxchange/jshopcore/model/category/CategorySessionBeanRemote.java +++ b/src/org/mxchange/jshopcore/model/category/CategorySessionBeanRemote.java @@ -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 *