From 639d20468e7e0cedd8670ca6bccb551150045685 Mon Sep 17 00:00:00 2001 From: Roland Haeder Date: Wed, 9 Sep 2015 11:15:50 +0200 Subject: [PATCH] =?utf8?q?Added=20admin=20business=20method=20Signed-off-b?= =?utf8?q?y:Roland=20H=C3=A4der=20?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- .../model/category/CategorySessionBeanRemote.java | 9 +++++++++ 1 file changed, 9 insertions(+) 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 * -- 2.39.5