]> git.mxchange.org Git - jfinancials-war.git/commitdiff
updated references
authorRoland Häder <roland@mxchange.org>
Fri, 7 Oct 2022 18:05:28 +0000 (20:05 +0200)
committerRoland Häder <roland@mxchange.org>
Fri, 7 Oct 2022 18:05:28 +0000 (20:05 +0200)
Signed-off-by: Roland Häder <roland@mxchange.org>
src/java/org/mxchange/jfinancials/beans/financial/model/receipt/action/FinancialAdminReceiptActionWebViewBean.java
src/java/org/mxchange/jfinancials/beans/financial/model/receipt/list/FinancialsReceiptListWebViewBean.java
src/java/org/mxchange/jfinancials/beans/financial/model/receipt_item/action/FinancialAdminReceiptItemActionWebRequestBean.java
src/java/org/mxchange/jfinancials/beans/financial/model/receipt_item/list/FinancialsReceiptItemListWebViewBean.java

index 651ad94cda861be96087b5b433c30b842fae402e..2efe2a489a35ef7469135271aa82a9bb3b24fee1 100644 (file)
@@ -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;
index c0df5edc3b3e1ddb6a046401f1cd3c630e385639..344138fdc6806417b94873094883a296200ee1b0 100644 (file)
@@ -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;
index 9a674f5c0449e745365fdd106e8239fe20b20879..87c13e0cea1a2adc77b561220a13fd2ac636d007 100644 (file)
@@ -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;
index 5b63e2c4c706698e273e9802f8aad876c2a28a64..541dcf05ddfadc4e7ea32d6c1102274d0af0f880 100644 (file)
@@ -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;