]> git.mxchange.org Git - jshop-lib.git/blobdiff - src/org/mxchange/jshopcore/model/category/CategorySessionBeanRemote.java
Moved admin method to admin interface
[jshop-lib.git] / src / org / mxchange / jshopcore / model / category / CategorySessionBeanRemote.java
index 875a094d1fc79a6107a576ed5b321fe11e794544..5194f4a1a9e00bd50158e608a0f8c9a0d58ea927 100644 (file)
@@ -19,8 +19,6 @@ package org.mxchange.jshopcore.model.category;
 import java.io.Serializable;
 import java.util.Deque;
 import javax.ejb.Remote;
-import org.mxchange.jshopcore.exceptions.CannotAddCategoryException;
-import org.mxchange.jshopcore.exceptions.CategoryTitleAlreadyUsedException;
 
 /**
  * A remote-call interface for the shop
@@ -30,16 +28,6 @@ import org.mxchange.jshopcore.exceptions.CategoryTitleAlreadyUsedException;
 @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 org.mxchange.jshopcore.exceptions.CategoryTitleAlreadyUsedException If the given category title is already used
-        * @throws org.mxchange.jshopcore.exceptions.CannotAddCategoryException If the category cannot be added
-        */
-       public void doAdminAddCategory (final Category category) throws CategoryTitleAlreadyUsedException, CannotAddCategoryException;
-
        /**
         * Some "getter" for a linked list of all categories
         *