From e769c662b3f517828affcbdba22806e187a95706 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Roland=20H=C3=A4der?= Date: Thu, 16 Apr 2020 22:11:11 +0200 Subject: [PATCH] Don't cherry-pick: - renamed allFoos() to fetchAllFoos() MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Roland Häder --- .../model/receipt/FinancialReceiptSessionBean.java | 6 +++--- .../FinancialAdminReceiptItemSessionBean.java | 2 +- .../receipt_item/FinancialReceiptItemSessionBean.java | 8 ++++---- 3 files changed, 8 insertions(+), 8 deletions(-) diff --git a/src/java/org/mxchange/jfinancials/model/receipt/FinancialReceiptSessionBean.java b/src/java/org/mxchange/jfinancials/model/receipt/FinancialReceiptSessionBean.java index e8401f0..4874702 100644 --- a/src/java/org/mxchange/jfinancials/model/receipt/FinancialReceiptSessionBean.java +++ b/src/java/org/mxchange/jfinancials/model/receipt/FinancialReceiptSessionBean.java @@ -92,7 +92,7 @@ public class FinancialReceiptSessionBean extends BaseFinancialsEnterpriseBean im @Override @SuppressWarnings ("unchecked") - public List allReceipts () { + public List 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 allUsersReceipts (final User user) { + public List 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 receipts = this.allReceipts(); + final List receipts = this.fetchAllReceipts(); // Is the list empty? if (receipts.isEmpty()) { diff --git a/src/java/org/mxchange/jfinancials/model/receipt_item/FinancialAdminReceiptItemSessionBean.java b/src/java/org/mxchange/jfinancials/model/receipt_item/FinancialAdminReceiptItemSessionBean.java index 24e4e43..e3961b5 100644 --- a/src/java/org/mxchange/jfinancials/model/receipt_item/FinancialAdminReceiptItemSessionBean.java +++ b/src/java/org/mxchange/jfinancials/model/receipt_item/FinancialAdminReceiptItemSessionBean.java @@ -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 receiptItems = this.receiptItemBean.allReceiptItems(receiptItem.getItemReceipt()); + final List receiptItems = this.receiptItemBean.fetchReceiptItemsByReceipt(receiptItem.getItemReceipt()); // Loop through all entries for (final BillableReceiptItem item : receiptItems) { diff --git a/src/java/org/mxchange/jfinancials/model/receipt_item/FinancialReceiptItemSessionBean.java b/src/java/org/mxchange/jfinancials/model/receipt_item/FinancialReceiptItemSessionBean.java index 97a06ed..fe0ede0 100644 --- a/src/java/org/mxchange/jfinancials/model/receipt_item/FinancialReceiptItemSessionBean.java +++ b/src/java/org/mxchange/jfinancials/model/receipt_item/FinancialReceiptItemSessionBean.java @@ -92,7 +92,7 @@ public class FinancialReceiptItemSessionBean extends BaseFinancialsEnterpriseBea @Override @SuppressWarnings ("unchecked") - public List allReceiptItems () { + public List 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 allReceiptItems (final BillableReceipt receipt) { + public List 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 allUsersReceiptItems (final User user) { + public List 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 receiptItems = this.allReceiptItems(receiptItem.getItemReceipt()); + final List receiptItems = this.fetchReceiptItemsByReceipt(receiptItem.getItemReceipt()); // Loop through all entries for (final BillableReceiptItem item : receiptItems) { -- 2.39.5