From: Roland Häder Date: Thu, 16 Apr 2020 20:11:11 +0000 (+0200) Subject: Don't cherry-pick: X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=e769c662b3f517828affcbdba22806e187a95706;p=jfinancials-ejb.git Don't cherry-pick: - renamed allFoos() to fetchAllFoos() Signed-off-by: Roland Häder --- 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) {