]> git.mxchange.org Git - jfinancials-ejb.git/commitdiff
Don't cherry-pick:
authorRoland Häder <roland@mxchange.org>
Thu, 16 Apr 2020 20:11:11 +0000 (22:11 +0200)
committerRoland Häder <roland@mxchange.org>
Thu, 16 Apr 2020 20:11:11 +0000 (22:11 +0200)
- renamed allFoos() to fetchAllFoos()

Signed-off-by: Roland Häder <roland@mxchange.org>
src/java/org/mxchange/jfinancials/model/receipt/FinancialReceiptSessionBean.java
src/java/org/mxchange/jfinancials/model/receipt_item/FinancialAdminReceiptItemSessionBean.java
src/java/org/mxchange/jfinancials/model/receipt_item/FinancialReceiptItemSessionBean.java

index e8401f028aa3486bc9b3709864ffd4ff6a21be61..487470266ca0f32a02d1fcf6adf4c85c00373b2d 100644 (file)
@@ -92,7 +92,7 @@ public class FinancialReceiptSessionBean extends BaseFinancialsEnterpriseBean im
 
        @Override
        @SuppressWarnings ("unchecked")
-       public List<BillableReceipt> allReceipts () {
+       public List<BillableReceipt> fetchAllReceipts () {
                // Trace message
                this.getLoggerBeanLocal().logTrace(MessageFormat.format("{0}.allReceipts(): CALLED!", this.getClass().getSimpleName())); //NOI18N
 
@@ -111,7 +111,7 @@ public class FinancialReceiptSessionBean extends BaseFinancialsEnterpriseBean im
 
        @Override
        @SuppressWarnings ("unchecked")
-       public List<BillableReceipt> allUsersReceipts (final User user) {
+       public List<BillableReceipt> fetchAllUsersReceipts (final User user) {
                // Trace message
                this.getLoggerBeanLocal().logTrace(MessageFormat.format("{0}.allUsersReceipts(): user={1} - CALLED!", this.getClass().getSimpleName(), user)); //NOI18N
 
@@ -146,7 +146,7 @@ public class FinancialReceiptSessionBean extends BaseFinancialsEnterpriseBean im
        @Override
        public boolean isReceiptRegistered (final BillableReceipt receipt) {
                // Get all receipts
-               final List<BillableReceipt> receipts = this.allReceipts();
+               final List<BillableReceipt> receipts = this.fetchAllReceipts();
 
                // Is the list empty?
                if (receipts.isEmpty()) {
index 24e4e430c7b5826636acda17c5e67ea2b70ba46d..e3961b54bfe10b7585215cde0a574046b1da4b45 100644 (file)
@@ -131,7 +131,7 @@ public class FinancialAdminReceiptItemSessionBean extends BaseFinancialsProductE
                 * Get all receipt's receipt items. No need to look global as people may
                 * buy the same item again and again ... ;-)
                 */
-               final List<BillableReceiptItem> receiptItems = this.receiptItemBean.allReceiptItems(receiptItem.getItemReceipt());
+               final List<BillableReceiptItem> receiptItems = this.receiptItemBean.fetchReceiptItemsByReceipt(receiptItem.getItemReceipt());
 
                // Loop through all entries
                for (final BillableReceiptItem item : receiptItems) {
index 97a06ed4436f74c7be3e354526ef8c6d962a3656..fe0ede04e8ef24893a2591a7b2102155bde5f55c 100644 (file)
@@ -92,7 +92,7 @@ public class FinancialReceiptItemSessionBean extends BaseFinancialsEnterpriseBea
 
        @Override
        @SuppressWarnings ("unchecked")
-       public List<BillableReceiptItem> allReceiptItems () {
+       public List<BillableReceiptItem> fetchAllReceiptItems () {
                // Trace message
                this.getLoggerBeanLocal().logTrace(MessageFormat.format("{0}.allReceiptItems(): CALLED!", this.getClass().getSimpleName())); //NOI18N
 
@@ -111,7 +111,7 @@ public class FinancialReceiptItemSessionBean extends BaseFinancialsEnterpriseBea
 
        @Override
        @SuppressWarnings ("unchecked")
-       public List<BillableReceiptItem> allReceiptItems (final BillableReceipt receipt) {
+       public List<BillableReceiptItem> fetchReceiptItemsByReceipt (final BillableReceipt receipt) {
                // Trace message
                this.getLoggerBeanLocal().logTrace(MessageFormat.format("{0}.allReceiptItems(): receipt={1} - CALLED!", this.getClass().getSimpleName(), receipt)); //NOI18N
 
@@ -133,7 +133,7 @@ public class FinancialReceiptItemSessionBean extends BaseFinancialsEnterpriseBea
 
        @Override
        @SuppressWarnings ("unchecked")
-       public List<BillableReceiptItem> allUsersReceiptItems (final User user) {
+       public List<BillableReceiptItem> fetchReceiptItemsByUserUser (final User user) {
                // Trace message
                this.getLoggerBeanLocal().logTrace(MessageFormat.format("{0}.allUsersReceiptItems(): user={1} - CALLED!", this.getClass().getSimpleName(), user)); //NOI18N
 
@@ -168,7 +168,7 @@ public class FinancialReceiptItemSessionBean extends BaseFinancialsEnterpriseBea
                 * Get all receipt's receipt items. No need to look global as people may
                 * buy the same item again and again ... ;-)
                 */
-               final List<BillableReceiptItem> receiptItems = this.allReceiptItems(receiptItem.getItemReceipt());
+               final List<BillableReceiptItem> receiptItems = this.fetchReceiptItemsByReceipt(receiptItem.getItemReceipt());
 
                // Loop through all entries
                for (final BillableReceiptItem item : receiptItems) {