]> git.mxchange.org Git - jfinancials-lib.git/blobdiff - src/org/mxchange/jfinancials/model/receipt/FinancialReceiptSessionBeanRemote.java
Continued a bit:
[jfinancials-lib.git] / src / org / mxchange / jfinancials / model / receipt / FinancialReceiptSessionBeanRemote.java
index da03bca6181d8c6d3ab20df1a85c8eeb8607884c..f88b019c6667bfcdc34857c3033b6f5aab313775 100644 (file)
@@ -17,7 +17,7 @@
 package org.mxchange.jfinancials.model.receipt;
 
 import java.io.Serializable;
-import java.util.Collection;
+import java.util.List;
 import javax.ejb.Remote;
 import org.mxchange.jfinancials.exceptions.ReceiptAlreadyAddedException;
 import org.mxchange.jusercore.model.user.User;
@@ -31,13 +31,20 @@ import org.mxchange.jusercore.model.user.User;
 public interface FinancialReceiptSessionBeanRemote extends Serializable {
 
        /**
-        * Returns a collection of all user's receipts
+        * Returns a list of all receipts
+        * <p>
+        * @return A list of all user's receipts
+        */
+       List<BillableReceipt> allReceipts ();
+
+       /**
+        * Returns a list of all user's receipts
         * <p>
         * @param user User instance to get all receipts for
         * <p>
-        * @return A collection of all user's receipts
+        * @return A list of all user's receipts
         */
-       Collection<? extends BillableReceipt> allUsersReceipts (final User user);
+       List<BillableReceipt> allUsersReceipts (final User user);
 
        /**
         * Adds given receipt and returns the updated version. If the receipt has