/build/
/dist/
/*.properties
+/src/test/
\ No newline at end of file
+++ /dev/null
-/*
- * Copyright (C) 2015 Roland Haeder
- *
- * 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.jshopeelib.beans;
-
-import org.mxchange.jcoreee.beans.FrameworkBean;
-
-/**
- * A shop bean interface
- *
- * @author Roland Haeder
- */
-public interface ShopBean extends FrameworkBean {
-}
*/
package org.mxchange.jshopeelib.beans.remote.basket;
+import java.io.Serializable;
import java.rmi.RemoteException;
import java.util.Map;
import javax.ejb.Remote;
import org.mxchange.jshopcore.model.item.AddableBasketItem;
-import org.mxchange.jshopeelib.beans.ShopBean;
/**
* An interface for a basket bean
* @author Roland Haeder
*/
@Remote
-public interface BasketSessionBeanRemote extends ShopBean {
+public interface BasketSessionBeanRemote extends Serializable {
/**
* Adds given item instance to this basket
* @param item Item instance to add
*/
package org.mxchange.jshopeelib.beans.remote.customer;
+import java.io.Serializable;
import javax.ejb.Remote;
-import org.mxchange.jshopeelib.beans.ShopBean;
/**
* An interface for customer beans
* @author Roland Haeder
*/
@Remote
-public interface CustomerSessionBeanRemote extends ShopBean {
+public interface CustomerSessionBeanRemote extends Serializable {
}
*/
package org.mxchange.jshopeelib.beans.remote.data;
+import java.io.Serializable;
import java.util.List;
import javax.ejb.Remote;
import org.mxchange.jcore.model.contact.gender.Gender;
-import org.mxchange.jshopeelib.beans.ShopBean;
/**
* A remote interface for static shop data
* @author Roland Haeder
*/
@Remote
-public interface ShopDataBeanRemote extends ShopBean {
+public interface ShopDataBeanRemote extends Serializable {
/**
* Getter for all genders as array
*/
package org.mxchange.jshopeelib.beans.remote.shop;
+import java.io.Serializable;
import java.rmi.RemoteException;
import java.util.Deque;
-import java.util.Iterator;
import javax.ejb.Remote;
import org.mxchange.jshopcore.exceptions.CategoryTitleAlreadyUsedException;
import org.mxchange.jshopcore.exceptions.ProductTitleAlreadyUsedException;
import org.mxchange.jshopcore.model.category.Category;
import org.mxchange.jshopcore.model.product.Product;
-import org.mxchange.jshopeelib.beans.ShopBean;
/**
* A remote-call interface for the shop
* @author Roland Haeder
*/
@Remote
-public interface ShopSessionBeanRemote extends ShopBean {
-
- /**
- * Some "getter" for an iterator of only available products
- *
- * @return Only available products
- * @throws java.rmi.RemoteException If anything went wrong
- */
- public Iterator<Product> getAvailableProductsIterator () throws RemoteException;
-
- /**
- * Some "getter" for an iterator of all products
- *
- * @return All products
- * @throws java.rmi.RemoteException If anything went wrong
- */
- public Iterator<Product> getAllProductsIterator () throws RemoteException;
-
- /**
- * Some "getter" for an iterator of all categories
- *
- * @return All categories
- * @throws java.rmi.RemoteException If anything went wrong
- */
- public Iterator<Category> getAllCategoriesIterator () throws RemoteException;
+public interface ShopSessionBeanRemote extends Serializable {
/**
* Some "getter" for a linked list of only available products