From: Roland Häder <roland@mxchange.org>
Date: Sun, 6 Aug 2017 21:27:53 +0000 (+0200)
Subject: moved to new project jproduct-lib
X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=f95dc4d5323de047743c4bd3f1c60f8cf7dce8d4;p=jshop-lib.git

moved to new project jproduct-lib

Signed-off-by: Roland Häder <roland@mxchange.org>
---

diff --git a/src/org/mxchange/jshopcore/model/category/AdminCategorySessionBeanRemote.java b/src/org/mxchange/jshopcore/model/category/AdminCategorySessionBeanRemote.java
deleted file mode 100644
index dcc2b87..0000000
--- a/src/org/mxchange/jshopcore/model/category/AdminCategorySessionBeanRemote.java
+++ /dev/null
@@ -1,46 +0,0 @@
-/*
- * Copyright (C) 2016, 2017 Roland Häder
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program.  If not, see <http://www.gnu.org/licenses/>.
- */
-package org.mxchange.jshopcore.model.category;
-
-import java.io.Serializable;
-import javax.ejb.Remote;
-import org.mxchange.jproduct.exceptions.CannotAddCategoryException;
-import org.mxchange.jproduct.exceptions.CategoryTitleAlreadyUsedException;
-import org.mxchange.jproduct.model.category.Category;
-
-/**
- * An interface for categories for "ADMIN" role.
- * <p>
- * @author Roland Häder<roland@mxchange.org>
- */
-@Remote
-public interface AdminCategorySessionBeanRemote extends Serializable {
-
-	/**
-	 * Adds given category data from request to database
-	 * <p>
-	 * @param category Category instance
-	 * <p>
-	 * @return Updated category instance
-	 * <p>
-	 * @throws CategoryTitleAlreadyUsedException If the given title is already
-	 * used
-	 * @throws CannotAddCategoryException If the category cannot be added
-	 */
-	Category doAdminAddCategory (final Category category) throws CategoryTitleAlreadyUsedException, CannotAddCategoryException;
-
-}
diff --git a/src/org/mxchange/jshopcore/model/category/CategorySessionBeanRemote.java b/src/org/mxchange/jshopcore/model/category/CategorySessionBeanRemote.java
deleted file mode 100644
index fc1cfa3..0000000
--- a/src/org/mxchange/jshopcore/model/category/CategorySessionBeanRemote.java
+++ /dev/null
@@ -1,39 +0,0 @@
-/*
- * Copyright (C) 2016, 2017 Roland Häder
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program.  If not, see <http://www.gnu.org/licenses/>.
- */
-package org.mxchange.jshopcore.model.category;
-
-import java.io.Serializable;
-import java.util.List;
-import javax.ejb.Remote;
-import org.mxchange.jproduct.model.category.Category;
-
-/**
- * A remote-call interface for the shop
- * <p>
- * @author Roland Häder<roland@mxchange.org>
- */
-@Remote
-public interface CategorySessionBeanRemote extends Serializable {
-
-	/**
-	 * Some "getter" for a linked list of all categories
-	 * <p>
-	 * @return All categories
-	 */
-	List<Category> getAllCategories ();
-
-}
diff --git a/src/org/mxchange/jshopcore/model/product/AdminProductSessionBeanRemote.java b/src/org/mxchange/jshopcore/model/product/AdminProductSessionBeanRemote.java
deleted file mode 100644
index 8e926ff..0000000
--- a/src/org/mxchange/jshopcore/model/product/AdminProductSessionBeanRemote.java
+++ /dev/null
@@ -1,54 +0,0 @@
-/*
- * Copyright (C) 2016, 2017 Roland Häder
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program.  If not, see <http://www.gnu.org/licenses/>.
- */
-package org.mxchange.jshopcore.model.product;
-
-import java.io.Serializable;
-import java.util.List;
-import javax.ejb.Remote;
-import org.mxchange.jproduct.exceptions.CannotAddProductException;
-import org.mxchange.jproduct.exceptions.ProductTitleAlreadyUsedException;
-import org.mxchange.jproduct.model.product.Product;
-
-/**
- * Product interface for "ADMIN" role
- * <p>
- * @author Roland Häder<roland@mxchange.org>
- */
-@Remote
-public interface AdminProductSessionBeanRemote extends Serializable {
-
-	/**
-	 * Some "getter" for a linked list of all products
-	 * <p>
-	 * @return All products
-	 */
-	List<Product> getAllProducts ();
-
-	/**
-	 * Adds given product data from request to database
-	 * <p>
-	 * @param product Product instance
-	 * <p>
-	 * @return Updated product instance
-	 * <p>
-	 * @throws ProductTitleAlreadyUsedException If the given product title is
-	 * already used
-	 * @throws CannotAddProductException If something unexpected happened
-	 */
-	Product doAdminAddProduct (final Product product) throws ProductTitleAlreadyUsedException, CannotAddProductException;
-
-}
diff --git a/src/org/mxchange/jshopcore/model/product/ProductSessionBeanRemote.java b/src/org/mxchange/jshopcore/model/product/ProductSessionBeanRemote.java
deleted file mode 100644
index c77b206..0000000
--- a/src/org/mxchange/jshopcore/model/product/ProductSessionBeanRemote.java
+++ /dev/null
@@ -1,39 +0,0 @@
-/*
- * Copyright (C) 2016, 2017 Roland Häder
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program.  If not, see <http://www.gnu.org/licenses/>.
- */
-package org.mxchange.jshopcore.model.product;
-
-import java.io.Serializable;
-import java.util.List;
-import javax.ejb.Remote;
-import org.mxchange.jproduct.model.product.Product;
-
-/**
- * An interface for non-administrative purposes
- * <p>
- * @author Roland Häder<roland@mxchange.org>
- */
-@Remote
-public interface ProductSessionBeanRemote extends Serializable {
-
-	/**
-	 * Some "getter" for a linked list of only available products
-	 * <p>
-	 * @return Only available products
-	 */
-	List<Product> getAvailableProducts ();
-
-}