package org.mxchange.jshopcore.model.category;
import java.io.Serializable;
-import java.rmi.RemoteException;
-import java.util.Deque;
+import java.util.List;
import javax.ejb.Remote;
/**
* A remote-call interface for the shop
- *
- * @author Roland Haeder
+ * <p>
+ * @author Roland Haeder<roland@mxchange.org>
*/
@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
- *
+ * <p>
* @return All categories
- * @throws java.rmi.RemoteException If anything went wrong
*/
- public Deque<Category> getAllCategories () throws RemoteException;
+ public List<Category> getAllCategories ();
}