From: Roland Häder Date: Fri, 7 Oct 2022 18:05:28 +0000 (+0200) Subject: updated references X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=9cd293e2f1cc114f694ef7a157ac63ede523845e;p=jfinancials-war.git updated references Signed-off-by: Roland Häder --- diff --git a/src/java/org/mxchange/jfinancials/beans/financial/model/receipt/action/FinancialAdminReceiptActionWebViewBean.java b/src/java/org/mxchange/jfinancials/beans/financial/model/receipt/action/FinancialAdminReceiptActionWebViewBean.java index 651ad94c..2efe2a48 100644 --- a/src/java/org/mxchange/jfinancials/beans/financial/model/receipt/action/FinancialAdminReceiptActionWebViewBean.java +++ b/src/java/org/mxchange/jfinancials/beans/financial/model/receipt/action/FinancialAdminReceiptActionWebViewBean.java @@ -41,7 +41,7 @@ import org.mxchange.jfinancials.exceptions.receipt.ReceiptNotFoundException; import org.mxchange.jfinancials.model.receipt.BillableReceipt; import org.mxchange.jfinancials.model.receipt.FinancialAdminReceiptSessionBeanRemote; import org.mxchange.jfinancials.model.receipt.FinancialReceipt; -import org.mxchange.jfinancials.model.receipt.Receipts; +import org.mxchange.jfinancials.model.utils.ReceiptUtils; import org.mxchange.jproduct.model.payment.PaymentType; import org.mxchange.jusercore.model.user.User; @@ -550,7 +550,7 @@ public class FinancialAdminReceiptActionWebViewBean extends BaseFinancialsBean i } // Copy all data - Receipts.copyReceiptData(receipt, this.getCurrentReceipt()); + ReceiptUtils.copyReceiptData(receipt, this.getCurrentReceipt()); // Create updated receipt instance final BillableReceipt updatedReceipt; diff --git a/src/java/org/mxchange/jfinancials/beans/financial/model/receipt/list/FinancialsReceiptListWebViewBean.java b/src/java/org/mxchange/jfinancials/beans/financial/model/receipt/list/FinancialsReceiptListWebViewBean.java index c0df5edc..344138fd 100644 --- a/src/java/org/mxchange/jfinancials/beans/financial/model/receipt/list/FinancialsReceiptListWebViewBean.java +++ b/src/java/org/mxchange/jfinancials/beans/financial/model/receipt/list/FinancialsReceiptListWebViewBean.java @@ -35,7 +35,7 @@ import org.mxchange.jfinancials.events.receipt.updated.ObservableReceiptUpdatedE import org.mxchange.jfinancials.exceptions.receipt.ReceiptNotFoundException; import org.mxchange.jfinancials.model.receipt.BillableReceipt; import org.mxchange.jfinancials.model.receipt.FinancialReceiptSessionBeanRemote; -import org.mxchange.jfinancials.model.receipt.Receipts; +import org.mxchange.jfinancials.model.utils.ReceiptUtils; /** * A view-scoped bean for receipt lists @@ -151,7 +151,7 @@ public class FinancialsReceiptListWebViewBean extends BaseFinancialsBean impleme // Is the same id? if (Objects.equals(receipt.getReceiptId(), event.getReceipt().getReceiptId())) { // Yes, same primary key found, then copy all elements - Receipts.copyReceiptData(event.getReceipt(), receipt); + ReceiptUtils.copyReceiptData(event.getReceipt(), receipt); // Mark as found, break loop isFound = true; diff --git a/src/java/org/mxchange/jfinancials/beans/financial/model/receipt_item/action/FinancialAdminReceiptItemActionWebRequestBean.java b/src/java/org/mxchange/jfinancials/beans/financial/model/receipt_item/action/FinancialAdminReceiptItemActionWebRequestBean.java index 9a674f5c..87c13e0c 100644 --- a/src/java/org/mxchange/jfinancials/beans/financial/model/receipt_item/action/FinancialAdminReceiptItemActionWebRequestBean.java +++ b/src/java/org/mxchange/jfinancials/beans/financial/model/receipt_item/action/FinancialAdminReceiptItemActionWebRequestBean.java @@ -40,7 +40,7 @@ import org.mxchange.jfinancials.model.receipt.BillableReceipt; import org.mxchange.jfinancials.model.receipt_item.BillableReceiptItem; import org.mxchange.jfinancials.model.receipt_item.FinancialAdminReceiptItemSessionBeanRemote; import org.mxchange.jfinancials.model.receipt_item.FinancialReceiptItem; -import org.mxchange.jfinancials.model.receipt_item.ReceiptItems; +import org.mxchange.jfinancials.model.utils.ReceiptItemUtils; import org.mxchange.jproduct.model.product.Product; /** @@ -513,7 +513,7 @@ public class FinancialAdminReceiptItemActionWebRequestBean extends BaseFinancial } // Copy all data - ReceiptItems.copyReceiptItemData(receiptItem, this.getCurrentReceiptItem()); + ReceiptItemUtils.copyReceiptItemData(receiptItem, this.getCurrentReceiptItem()); // Create updated receipt instance final BillableReceiptItem updatedReceiptItem; diff --git a/src/java/org/mxchange/jfinancials/beans/financial/model/receipt_item/list/FinancialsReceiptItemListWebViewBean.java b/src/java/org/mxchange/jfinancials/beans/financial/model/receipt_item/list/FinancialsReceiptItemListWebViewBean.java index 5b63e2c4..541dcf05 100644 --- a/src/java/org/mxchange/jfinancials/beans/financial/model/receipt_item/list/FinancialsReceiptItemListWebViewBean.java +++ b/src/java/org/mxchange/jfinancials/beans/financial/model/receipt_item/list/FinancialsReceiptItemListWebViewBean.java @@ -37,7 +37,7 @@ import org.mxchange.jfinancials.events.receipt_item.updated.ObservableAdminRecei import org.mxchange.jfinancials.exceptions.receipt_item.ReceiptItemNotFoundException; import org.mxchange.jfinancials.model.receipt_item.BillableReceiptItem; import org.mxchange.jfinancials.model.receipt_item.FinancialReceiptItemSessionBeanRemote; -import org.mxchange.jfinancials.model.receipt_item.ReceiptItems; +import org.mxchange.jfinancials.model.utils.ReceiptItemUtils; import org.mxchange.juserlogincore.events.login.ObservableUserLoggedInEvent; /** @@ -311,7 +311,7 @@ public class FinancialsReceiptItemListWebViewBean extends BaseFinancialsBean imp // Loop over all for (final BillableReceiptItem item : this.getAllReceiptItems()) { // Is the same? - if (ReceiptItems.isSameReceiptItem(item, receiptItem)) { + if (ReceiptItemUtils.isSameReceiptItem(item, receiptItem)) { // Yes, found it alreadyAdded = true; break;