From: Roland Häder Date: Sun, 24 Nov 2019 04:36:16 +0000 (+0100) Subject: Don't cherry-pick: X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=9cb7e030decaca1beec44af4e1dd86235e2e4dc8;p=jfinancials-ejb.git Don't cherry-pick: - renamed BaseFinancialsDatabaseBean to BaseFinancialsEnterpriseBean - also moved it to proper "enterprise" package Signed-off-by: Roland Häder --- diff --git a/src/java/org/mxchange/jfinancials/model/income/FinancialIncomeSessionBean.java b/src/java/org/mxchange/jfinancials/model/income/FinancialIncomeSessionBean.java index 784f52f..516adb1 100644 --- a/src/java/org/mxchange/jfinancials/model/income/FinancialIncomeSessionBean.java +++ b/src/java/org/mxchange/jfinancials/model/income/FinancialIncomeSessionBean.java @@ -19,7 +19,7 @@ package org.mxchange.jfinancials.model.income; import java.text.MessageFormat; import java.util.Date; import javax.ejb.Stateless; -import org.mxchange.jfinancials.database.BaseFinancialsDatabaseBean; +import org.mxchange.jfinancials.enterprise.BaseFinancialsEnterpriseBean; /** * A stateless bean for general purposes for incomes @@ -27,7 +27,7 @@ import org.mxchange.jfinancials.database.BaseFinancialsDatabaseBean; * @author Roland Häder */ @Stateless (name = "financialIncome", description = "A stateless session bean for handling income.") -public class FinancialIncomeSessionBean extends BaseFinancialsDatabaseBean implements FinancialIncomeSessionBeanRemote { +public class FinancialIncomeSessionBean extends BaseFinancialsEnterpriseBean implements FinancialIncomeSessionBeanRemote { /** * Serial number diff --git a/src/java/org/mxchange/jfinancials/model/receipt/FinancialAdminReceiptSessionBean.java b/src/java/org/mxchange/jfinancials/model/receipt/FinancialAdminReceiptSessionBean.java index f5e1de6..521feef 100644 --- a/src/java/org/mxchange/jfinancials/model/receipt/FinancialAdminReceiptSessionBean.java +++ b/src/java/org/mxchange/jfinancials/model/receipt/FinancialAdminReceiptSessionBean.java @@ -21,7 +21,7 @@ import java.util.Date; import javax.ejb.EJB; import javax.ejb.Stateless; import org.mxchange.jcontactsbusiness.model.employee.Employable; -import org.mxchange.jfinancials.database.BaseFinancialsDatabaseBean; +import org.mxchange.jfinancials.enterprise.BaseFinancialsEnterpriseBean; import org.mxchange.jfinancials.exceptions.receipt.ReceiptAlreadyAddedException; import org.mxchange.jusercore.model.user.User; @@ -31,7 +31,7 @@ import org.mxchange.jusercore.model.user.User; * @author Roland Häder */ @Stateless (name = "adminFinancialReceipt", description = "A stateless session bean for handling receipts.") -public class FinancialAdminReceiptSessionBean extends BaseFinancialsDatabaseBean implements FinancialAdminReceiptSessionBeanRemote { +public class FinancialAdminReceiptSessionBean extends BaseFinancialsEnterpriseBean implements FinancialAdminReceiptSessionBeanRemote { /** * Serial number diff --git a/src/java/org/mxchange/jfinancials/model/receipt/FinancialReceiptSessionBean.java b/src/java/org/mxchange/jfinancials/model/receipt/FinancialReceiptSessionBean.java index 1ebe94c..9de5003 100644 --- a/src/java/org/mxchange/jfinancials/model/receipt/FinancialReceiptSessionBean.java +++ b/src/java/org/mxchange/jfinancials/model/receipt/FinancialReceiptSessionBean.java @@ -22,7 +22,7 @@ import java.util.List; import java.util.Objects; import javax.ejb.Stateless; import javax.persistence.Query; -import org.mxchange.jfinancials.database.BaseFinancialsDatabaseBean; +import org.mxchange.jfinancials.enterprise.BaseFinancialsEnterpriseBean; import org.mxchange.jfinancials.exceptions.receipt.ReceiptAlreadyAddedException; import org.mxchange.jusercore.model.user.User; @@ -32,7 +32,7 @@ import org.mxchange.jusercore.model.user.User; * @author Roland Häder */ @Stateless (name = "financialReceipt", description = "A stateless session bean for handling receipts.") -public class FinancialReceiptSessionBean extends BaseFinancialsDatabaseBean implements FinancialReceiptSessionBeanRemote { +public class FinancialReceiptSessionBean extends BaseFinancialsEnterpriseBean implements FinancialReceiptSessionBeanRemote { /** * Serial number 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 56253f3..ef92ade 100644 --- a/src/java/org/mxchange/jfinancials/model/receipt_item/FinancialAdminReceiptItemSessionBean.java +++ b/src/java/org/mxchange/jfinancials/model/receipt_item/FinancialAdminReceiptItemSessionBean.java @@ -22,7 +22,7 @@ import java.util.List; import javax.ejb.EJB; import javax.ejb.Stateless; import org.mxchange.jcontactsbusiness.model.basicdata.BasicData; -import org.mxchange.jfinancials.database.product.BaseFinancialsProductDatabaseBean; +import org.mxchange.jfinancials.enterprise.product.BaseFinancialsProductEnterpriseBean; import org.mxchange.jfinancials.exceptions.receipt_item.ReceiptItemAlreadyAddedException; /** @@ -31,7 +31,7 @@ import org.mxchange.jfinancials.exceptions.receipt_item.ReceiptItemAlreadyAddedE * @author Roland Häder */ @Stateless (name = "adminFinancialReceiptItem", description = "A stateless session bean for administrative purposes for receipt itemss.") -public class FinancialAdminReceiptItemSessionBean extends BaseFinancialsProductDatabaseBean implements FinancialAdminReceiptItemSessionBeanRemote { +public class FinancialAdminReceiptItemSessionBean extends BaseFinancialsProductEnterpriseBean implements FinancialAdminReceiptItemSessionBeanRemote { /** * Serial number 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 b2b8cf0..97b5677 100644 --- a/src/java/org/mxchange/jfinancials/model/receipt_item/FinancialReceiptItemSessionBean.java +++ b/src/java/org/mxchange/jfinancials/model/receipt_item/FinancialReceiptItemSessionBean.java @@ -21,7 +21,7 @@ import java.util.Date; import java.util.List; import javax.ejb.Stateless; import javax.persistence.Query; -import org.mxchange.jfinancials.database.BaseFinancialsDatabaseBean; +import org.mxchange.jfinancials.enterprise.BaseFinancialsEnterpriseBean; import org.mxchange.jfinancials.exceptions.receipt_item.ReceiptItemAlreadyAddedException; import org.mxchange.jfinancials.model.receipt.BillableReceipt; import org.mxchange.jusercore.model.user.User; @@ -32,7 +32,7 @@ import org.mxchange.jusercore.model.user.User; * @author Roland Häder */ @Stateless (name = "financialReceiptItem", description = "A stateless session bean for handling receipt itemss.") -public class FinancialReceiptItemSessionBean extends BaseFinancialsDatabaseBean implements FinancialReceiptItemSessionBeanRemote { +public class FinancialReceiptItemSessionBean extends BaseFinancialsEnterpriseBean implements FinancialReceiptItemSessionBeanRemote { /** * Serial number