- renamed BaseFinancialsProductDatabaseBean to BaseFinancialsProductEnterpriseBean
- also moved it to proper "enterprise" package
Signed-off-by: Roland Häder <roland@mxchange.org>
import java.util.Objects;
import javax.ejb.EJB;
import javax.ejb.Stateless;
-import org.mxchange.jfinancials.database.product.BaseFinancialsProductDatabaseBean;
+import org.mxchange.jfinancials.enterprise.product.BaseFinancialsProductEnterpriseBean;
import org.mxchange.jproduct.exceptions.category.CategoryAlreadyAddedException;
/**
* @author Roland Häder<roland@mxchange.org>
*/
@Stateless (name = "adminCategory", description = "An administrative stateless session bean for product categories.")
-public class FinancialsAdminProductCategorySessionBean extends BaseFinancialsProductDatabaseBean implements AdminCategorySessionBeanRemote {
+public class FinancialsAdminProductCategorySessionBean extends BaseFinancialsProductEnterpriseBean implements AdminCategorySessionBeanRemote {
/**
* Serial number
import java.util.List;
import javax.ejb.Stateless;
import javax.persistence.Query;
-import org.mxchange.jfinancials.database.BaseFinancialsDatabaseBean;
+import org.mxchange.jfinancials.enterprise.BaseFinancialsEnterpriseBean;
/**
* A general stateless session bean for product categories.
* @author Roland Häder<roland@mxchange.org>
*/
@Stateless (name = "category", description = "A general stateless session bean for product categories.")
-public class FinancialsProductCategorySessionBean extends BaseFinancialsDatabaseBean implements CategorySessionBeanRemote {
+public class FinancialsProductCategorySessionBean extends BaseFinancialsEnterpriseBean implements CategorySessionBeanRemote {
/**
* Serial number
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.jproduct.exceptions.product.ProductAlreadyAddedException;
import org.mxchange.jproduct.exceptions.product.ProductNotFoundException;
import org.mxchange.jproduct.model.category.Category;
* @author Roland Häder<roland@mxchange.org>
*/
@Stateless (name = "adminProduct", description = "A stateless session bean for general purposes for generic products.")
-public class FinancialsAdminGenericProductSessionBean extends BaseFinancialsProductDatabaseBean implements AdminProductSessionBeanRemote {
+public class FinancialsAdminGenericProductSessionBean extends BaseFinancialsProductEnterpriseBean implements AdminProductSessionBeanRemote {
/**
* Serial number
import java.util.List;
import javax.ejb.Stateless;
import javax.persistence.Query;
-import org.mxchange.jfinancials.database.BaseFinancialsDatabaseBean;
+import org.mxchange.jfinancials.enterprise.BaseFinancialsEnterpriseBean;
/**
* A general stateless session bean for generic products.
* @author Roland Häder<roland@mxchange.org>
*/
@Stateless (name = "product", description = "A general stateless session bean for generic products.")
-public class FinancialsGenericProductSessionBean extends BaseFinancialsDatabaseBean implements ProductSessionBeanRemote {
+public class FinancialsGenericProductSessionBean extends BaseFinancialsEnterpriseBean implements ProductSessionBeanRemote {
/**
* Serial number