Signed-off-by:Roland Häder <roland@mxchange.org>
@Remote
public interface ProductSessionBeanRemote extends Serializable {
+ /**
+ * Adds given product to database. This method is typically used in admin
+ * area.
+ * @param product Product instance to add
+ */
+ public void doAdminAddProduct (final Product product);
+
+ /**
+ * Some "getter" for all products. This method is typically used in admin
+ * area.
+ * @return A Deque of all products
+ * @throws java.rmi.RemoteException If anything went wrong
+ */
+ public Deque<Product> getAllProducts () throws RemoteException;
+
/**
* Some "getter" for a linked list of only available products
*