From da8fb16493f09e070d4d34dc0a8fc6bd0c421eb0 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Roland=20H=C3=A4der?= Date: Sun, 24 Nov 2019 05:29:41 +0100 Subject: [PATCH] Please cherry-pick: - renamed BaseFinancialsDatabaseBean to BaseFinancialsEnterpriseBean - also moved it to proper "enterprise" package MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Roland Häder --- .../BaseAddressbookEnterpriseBean.java} | 6 +++--- .../model/addressbook/AddressbookSessionBean.java | 4 ++-- .../shared/SharedAddressbooksSessionBean.java | 4 ++-- .../contact/AddressbookAdminContactSessionBean.java | 4 ++-- .../model/contact/AddressbookContactSessionBean.java | 4 ++-- .../phone/AddressbookAdminContactPhoneSessionBean.java | 4 ++-- .../AddressbookAdminBusinessDataSessionBean.java | 4 ++-- .../basicdata/AddressbookBusinessDataSessionBean.java | 4 ++-- .../AddressbookAdminBranchOfficeSessionBean.java | 4 ++-- .../AddressbookBranchOfficeSessionBean.java | 4 ++-- .../AddressbookAdminDepartmentSessionBean.java | 4 ++-- .../department/AddressbookDepartmentSessionBean.java | 4 ++-- .../employee/AddressbookAdminEmployeeSessionBean.java | 10 +++++----- .../model/employee/AddressbookEmployeeSessionBean.java | 4 ++-- .../AddressbookAdminHeadquartersSessionBean.java | 4 ++-- .../AddressbookHeadquartersSessionBean.java | 4 ++-- .../AddressbookAdminOpeningTimesSessionBean.java | 4 ++-- .../AddressbookOpeningTimesSessionBean.java | 4 ++-- .../data/AddressbookAdminCountrySingletonBean.java | 4 ++-- .../model/data/AddressbookCountrySingletonBean.java | 4 ++-- .../AddressbookAdminMobileProviderSessionBean.java | 4 ++-- .../AddressbookMobileProviderSingletonBean.java | 4 ++-- .../phone/AddressbookAdminPhoneSessionBean.java | 4 ++-- .../phone/AddressbookPhoneSessionBean.java | 5 ++--- .../model/user/AddressbookAdminUserSessionBean.java | 4 ++-- .../model/user/AddressbookUserSessionBean.java | 4 ++-- .../AddressbookUserActivityLogMessageBean.java | 4 ++-- .../activity/AddressbookUserActivitySessionBean.java | 4 ++-- .../AddressbookUserEmailChangeSessionBean.java | 4 ++-- .../AddressbookUserPasswordHistorySessionBean.java | 4 ++-- .../user/login/AddressbookUserLoginSessionBean.java | 4 ++-- .../AddressbookUserRegistrationSessionBean.java | 4 ++-- .../resendlink/AddressbookResendLinkSessionBean.java | 4 ++-- 33 files changed, 70 insertions(+), 71 deletions(-) rename src/java/org/mxchange/addressbook/{database/BaseAddressbookDatabaseBean.java => enterprise/BaseAddressbookEnterpriseBean.java} (99%) diff --git a/src/java/org/mxchange/addressbook/database/BaseAddressbookDatabaseBean.java b/src/java/org/mxchange/addressbook/enterprise/BaseAddressbookEnterpriseBean.java similarity index 99% rename from src/java/org/mxchange/addressbook/database/BaseAddressbookDatabaseBean.java rename to src/java/org/mxchange/addressbook/enterprise/BaseAddressbookEnterpriseBean.java index 2ba523e..95a1c17 100644 --- a/src/java/org/mxchange/addressbook/database/BaseAddressbookDatabaseBean.java +++ b/src/java/org/mxchange/addressbook/enterprise/BaseAddressbookEnterpriseBean.java @@ -59,7 +59,7 @@ import org.mxchange.jusercore.model.user.Users; *

* @author Roland Häder */ -public abstract class BaseAddressbookDatabaseBean extends BaseDatabaseBean { +public abstract class BaseAddressbookEnterpriseBean extends BaseDatabaseBean { /** * Serial number @@ -69,7 +69,7 @@ public abstract class BaseAddressbookDatabaseBean extends BaseDatabaseBean { /** * Protected constructor */ - protected BaseAddressbookDatabaseBean () { + protected BaseAddressbookEnterpriseBean () { // Call super constructor super(); } @@ -80,7 +80,7 @@ public abstract class BaseAddressbookDatabaseBean extends BaseDatabaseBean { * @param factoryJndi JNDI name for queue factory * @param queueJndi JNDI name for email queue */ - protected BaseAddressbookDatabaseBean (final String factoryJndi, final String queueJndi) { + protected BaseAddressbookEnterpriseBean (final String factoryJndi, final String queueJndi) { // Call super constructor super(factoryJndi, queueJndi); } diff --git a/src/java/org/mxchange/jaddressbook/model/addressbook/AddressbookSessionBean.java b/src/java/org/mxchange/jaddressbook/model/addressbook/AddressbookSessionBean.java index 285a65b..e8975cc 100644 --- a/src/java/org/mxchange/jaddressbook/model/addressbook/AddressbookSessionBean.java +++ b/src/java/org/mxchange/jaddressbook/model/addressbook/AddressbookSessionBean.java @@ -22,7 +22,7 @@ import java.util.List; import javax.ejb.Stateless; import javax.persistence.NoResultException; import javax.persistence.Query; -import org.mxchange.addressbook.database.BaseAddressbookDatabaseBean; +import org.mxchange.addressbook.enterprise.BaseAddressbookEnterpriseBean; import org.mxchange.addressbook.model.addressbook.AddressbookSessionBeanRemote; import org.mxchange.jaddressbook.exceptions.AddressbookNameAlreadyUsedException; import org.mxchange.jaddressbook.exceptions.AddressbookNotFoundException; @@ -35,7 +35,7 @@ import org.mxchange.jusercore.model.user.User; * @author Roland Häder */ @Stateless (name = "addressbook", description = "A stateless bean for handling Addressbook addressbooks") -public class AddressbookSessionBean extends BaseAddressbookDatabaseBean implements AddressbookSessionBeanRemote { +public class AddressbookSessionBean extends BaseAddressbookEnterpriseBean implements AddressbookSessionBeanRemote { /** * Serial number diff --git a/src/java/org/mxchange/jaddressbookshare/model/addressbook/shared/SharedAddressbooksSessionBean.java b/src/java/org/mxchange/jaddressbookshare/model/addressbook/shared/SharedAddressbooksSessionBean.java index 89a4290..3043e7e 100644 --- a/src/java/org/mxchange/jaddressbookshare/model/addressbook/shared/SharedAddressbooksSessionBean.java +++ b/src/java/org/mxchange/jaddressbookshare/model/addressbook/shared/SharedAddressbooksSessionBean.java @@ -24,7 +24,7 @@ import java.util.Objects; import javax.ejb.Stateless; import javax.persistence.NoResultException; import javax.persistence.Query; -import org.mxchange.addressbook.database.BaseAddressbookDatabaseBean; +import org.mxchange.addressbook.enterprise.BaseAddressbookEnterpriseBean; import org.mxchange.addressbook.model.shared.AddressbookShareSessionBeanRemote; import org.mxchange.jaddressbook.model.addressbook.Addressbook; import org.mxchange.jaddressbookshare.exceptions.UserAlreadySharingAddressbookException; @@ -36,7 +36,7 @@ import org.mxchange.jusercore.model.user.User; * @author Roland Häder */ @Stateless (name = "share", description = "A stateless bean for handling shared addressbooks") -public class SharedAddressbooksSessionBean extends BaseAddressbookDatabaseBean implements AddressbookShareSessionBeanRemote { +public class SharedAddressbooksSessionBean extends BaseAddressbookEnterpriseBean implements AddressbookShareSessionBeanRemote { /** * Serial number diff --git a/src/java/org/mxchange/jcontacts/model/contact/AddressbookAdminContactSessionBean.java b/src/java/org/mxchange/jcontacts/model/contact/AddressbookAdminContactSessionBean.java index 27a86a7..5ffa622 100644 --- a/src/java/org/mxchange/jcontacts/model/contact/AddressbookAdminContactSessionBean.java +++ b/src/java/org/mxchange/jcontacts/model/contact/AddressbookAdminContactSessionBean.java @@ -21,7 +21,7 @@ import java.util.Date; import javax.ejb.Stateless; import javax.persistence.NoResultException; import javax.persistence.Query; -import org.mxchange.addressbook.database.BaseAddressbookDatabaseBean; +import org.mxchange.addressbook.enterprise.BaseAddressbookEnterpriseBean; import org.mxchange.jcontacts.exceptions.ContactAlreadyAddedException; import org.mxchange.jcontacts.exceptions.ContactNotFoundException; @@ -31,7 +31,7 @@ import org.mxchange.jcontacts.exceptions.ContactNotFoundException; * @author Roland Häder */ @Stateless (name = "adminContact", description = "An administrative contact EJB") -public class AddressbookAdminContactSessionBean extends BaseAddressbookDatabaseBean implements AdminContactSessionBeanRemote { +public class AddressbookAdminContactSessionBean extends BaseAddressbookEnterpriseBean implements AdminContactSessionBeanRemote { /** * Serial number diff --git a/src/java/org/mxchange/jcontacts/model/contact/AddressbookContactSessionBean.java b/src/java/org/mxchange/jcontacts/model/contact/AddressbookContactSessionBean.java index 583b1fc..628bd91 100644 --- a/src/java/org/mxchange/jcontacts/model/contact/AddressbookContactSessionBean.java +++ b/src/java/org/mxchange/jcontacts/model/contact/AddressbookContactSessionBean.java @@ -23,7 +23,7 @@ import java.util.Objects; import javax.ejb.Stateless; import javax.persistence.NoResultException; import javax.persistence.Query; -import org.mxchange.addressbook.database.BaseAddressbookDatabaseBean; +import org.mxchange.addressbook.enterprise.BaseAddressbookEnterpriseBean; import org.mxchange.jcontacts.exceptions.ContactNotFoundException; /** @@ -32,7 +32,7 @@ import org.mxchange.jcontacts.exceptions.ContactNotFoundException; * @author Roland Häder */ @Stateless (name = "contact", description = "A bean handling contact data") -public class AddressbookContactSessionBean extends BaseAddressbookDatabaseBean implements ContactSessionBeanRemote { +public class AddressbookContactSessionBean extends BaseAddressbookEnterpriseBean implements ContactSessionBeanRemote { /** * Serial number diff --git a/src/java/org/mxchange/jcontacts/model/phone/AddressbookAdminContactPhoneSessionBean.java b/src/java/org/mxchange/jcontacts/model/phone/AddressbookAdminContactPhoneSessionBean.java index b93841e..d59d5a6 100644 --- a/src/java/org/mxchange/jcontacts/model/phone/AddressbookAdminContactPhoneSessionBean.java +++ b/src/java/org/mxchange/jcontacts/model/phone/AddressbookAdminContactPhoneSessionBean.java @@ -21,7 +21,7 @@ import java.util.Date; import java.util.Objects; import javax.ejb.EJB; import javax.ejb.Stateless; -import org.mxchange.addressbook.database.BaseAddressbookDatabaseBean; +import org.mxchange.addressbook.enterprise.BaseAddressbookEnterpriseBean; import org.mxchange.jcontacts.model.contact.Contact; import org.mxchange.jcontacts.model.contact.ContactSessionBeanRemote; import org.mxchange.jphone.exceptions.phone.PhoneNumberAlreadyLinkedException; @@ -36,7 +36,7 @@ import org.mxchange.jphone.model.phonenumbers.mobile.DialableMobileNumber; * @author Roland Häder */ @Stateless (name = "adminContactPhone", description = "An administrative bean handling contact's phone data") -public class AddressbookAdminContactPhoneSessionBean extends BaseAddressbookDatabaseBean implements AdminContactsPhoneSessionBeanRemote { +public class AddressbookAdminContactPhoneSessionBean extends BaseAddressbookEnterpriseBean implements AdminContactsPhoneSessionBeanRemote { /** * Serial number diff --git a/src/java/org/mxchange/jcontactsbusiness/model/basicdata/AddressbookAdminBusinessDataSessionBean.java b/src/java/org/mxchange/jcontactsbusiness/model/basicdata/AddressbookAdminBusinessDataSessionBean.java index 5570b47..05d7adb 100644 --- a/src/java/org/mxchange/jcontactsbusiness/model/basicdata/AddressbookAdminBusinessDataSessionBean.java +++ b/src/java/org/mxchange/jcontactsbusiness/model/basicdata/AddressbookAdminBusinessDataSessionBean.java @@ -22,7 +22,7 @@ import java.util.List; import java.util.Objects; import javax.ejb.EJB; import javax.ejb.Stateless; -import org.mxchange.addressbook.database.BaseAddressbookDatabaseBean; +import org.mxchange.addressbook.enterprise.BaseAddressbookEnterpriseBean; import org.mxchange.jcontactsbusiness.exceptions.basicdata.BasicDataAlreadyAddedException; import org.mxchange.jcontactsbusiness.model.employee.Employable; import org.mxchange.jcontactsbusiness.model.headquarter.Headquarter; @@ -34,7 +34,7 @@ import org.mxchange.jusercore.model.user.User; * @author Roland Häder */ @Stateless (name = "adminBasicCompanyData", description = "An administrative statless bean for handling business data (all)") -public class AddressbookAdminBusinessDataSessionBean extends BaseAddressbookDatabaseBean implements AdminBasicCompanyDataSessionBeanRemote { +public class AddressbookAdminBusinessDataSessionBean extends BaseAddressbookEnterpriseBean implements AdminBasicCompanyDataSessionBeanRemote { /** * Serial number diff --git a/src/java/org/mxchange/jcontactsbusiness/model/basicdata/AddressbookBusinessDataSessionBean.java b/src/java/org/mxchange/jcontactsbusiness/model/basicdata/AddressbookBusinessDataSessionBean.java index 2be6f91..1ca10a2 100644 --- a/src/java/org/mxchange/jcontactsbusiness/model/basicdata/AddressbookBusinessDataSessionBean.java +++ b/src/java/org/mxchange/jcontactsbusiness/model/basicdata/AddressbookBusinessDataSessionBean.java @@ -20,7 +20,7 @@ import java.text.MessageFormat; import java.util.List; import javax.ejb.Stateless; import javax.persistence.Query; -import org.mxchange.addressbook.database.BaseAddressbookDatabaseBean; +import org.mxchange.addressbook.enterprise.BaseAddressbookEnterpriseBean; /** * A stateless session bean for business data @@ -28,7 +28,7 @@ import org.mxchange.addressbook.database.BaseAddressbookDatabaseBean; * @author Roland Häder */ @Stateless (name = "basicCompanyData", description = "A general statless bean for handling business data (all)") -public class AddressbookBusinessDataSessionBean extends BaseAddressbookDatabaseBean implements BasicCompanyDataSessionBeanRemote { +public class AddressbookBusinessDataSessionBean extends BaseAddressbookEnterpriseBean implements BasicCompanyDataSessionBeanRemote { /** * Serial number diff --git a/src/java/org/mxchange/jcontactsbusiness/model/branchoffice/AddressbookAdminBranchOfficeSessionBean.java b/src/java/org/mxchange/jcontactsbusiness/model/branchoffice/AddressbookAdminBranchOfficeSessionBean.java index 5597caf..3fc9ba6 100644 --- a/src/java/org/mxchange/jcontactsbusiness/model/branchoffice/AddressbookAdminBranchOfficeSessionBean.java +++ b/src/java/org/mxchange/jcontactsbusiness/model/branchoffice/AddressbookAdminBranchOfficeSessionBean.java @@ -21,7 +21,7 @@ import java.util.Date; import java.util.List; import javax.ejb.EJB; import javax.ejb.Stateless; -import org.mxchange.addressbook.database.BaseAddressbookDatabaseBean; +import org.mxchange.addressbook.enterprise.BaseAddressbookEnterpriseBean; import org.mxchange.jcontactsbusiness.exceptions.branchoffice.BranchOfficeAlreadyAddedException; import org.mxchange.jcontactsbusiness.model.basicdata.BasicData; import org.mxchange.jcontactsbusiness.model.opening_time.OpeningTime; @@ -34,7 +34,7 @@ import org.mxchange.jusercore.model.user.User; * @author Roland Häder */ @Stateless (name = "adminBranchOffice", description = "An administrative statless bean for handling branch office data (all)") -public class AddressbookAdminBranchOfficeSessionBean extends BaseAddressbookDatabaseBean implements AdminBranchOfficeSessionBeanRemote { +public class AddressbookAdminBranchOfficeSessionBean extends BaseAddressbookEnterpriseBean implements AdminBranchOfficeSessionBeanRemote { /** * Serial number diff --git a/src/java/org/mxchange/jcontactsbusiness/model/branchoffice/AddressbookBranchOfficeSessionBean.java b/src/java/org/mxchange/jcontactsbusiness/model/branchoffice/AddressbookBranchOfficeSessionBean.java index c09b8be..4209f13 100644 --- a/src/java/org/mxchange/jcontactsbusiness/model/branchoffice/AddressbookBranchOfficeSessionBean.java +++ b/src/java/org/mxchange/jcontactsbusiness/model/branchoffice/AddressbookBranchOfficeSessionBean.java @@ -20,7 +20,7 @@ import java.text.MessageFormat; import java.util.List; import javax.ejb.Stateless; import javax.persistence.Query; -import org.mxchange.addressbook.database.BaseAddressbookDatabaseBean; +import org.mxchange.addressbook.enterprise.BaseAddressbookEnterpriseBean; /** * A stateless session bean for general branch office purposes @@ -28,7 +28,7 @@ import org.mxchange.addressbook.database.BaseAddressbookDatabaseBean; * @author Roland Häder */ @Stateless (name = "branchOffice", description = "A general statless bean for handling branch office data (all)") -public class AddressbookBranchOfficeSessionBean extends BaseAddressbookDatabaseBean implements BranchOfficeSessionBeanRemote { +public class AddressbookBranchOfficeSessionBean extends BaseAddressbookEnterpriseBean implements BranchOfficeSessionBeanRemote { /** * Serial number diff --git a/src/java/org/mxchange/jcontactsbusiness/model/department/AddressbookAdminDepartmentSessionBean.java b/src/java/org/mxchange/jcontactsbusiness/model/department/AddressbookAdminDepartmentSessionBean.java index b95556d..55bc8bd 100644 --- a/src/java/org/mxchange/jcontactsbusiness/model/department/AddressbookAdminDepartmentSessionBean.java +++ b/src/java/org/mxchange/jcontactsbusiness/model/department/AddressbookAdminDepartmentSessionBean.java @@ -24,7 +24,7 @@ import javax.ejb.Stateless; import org.mxchange.jcontactsbusiness.exceptions.department.DepartmentAlreadyAddedException; import org.mxchange.jcontactsbusiness.model.basicdata.BasicData; import org.mxchange.jcontactsbusiness.model.branchoffice.BranchOffice; -import org.mxchange.addressbook.database.BaseAddressbookDatabaseBean; +import org.mxchange.addressbook.enterprise.BaseAddressbookEnterpriseBean; import org.mxchange.jcontactsbusiness.model.employee.Employable; import org.mxchange.jcontactsbusiness.model.headquarter.Headquarter; import org.mxchange.jusercore.model.user.User; @@ -35,7 +35,7 @@ import org.mxchange.jusercore.model.user.User; * @author Roland Häder */ @Stateless (name = "adminDepartment", description = "An administrative statless bean for handling department data (all)") -public class AddressbookAdminDepartmentSessionBean extends BaseAddressbookDatabaseBean implements AdminDepartmentSessionBeanRemote { +public class AddressbookAdminDepartmentSessionBean extends BaseAddressbookEnterpriseBean implements AdminDepartmentSessionBeanRemote { /** * Serial number diff --git a/src/java/org/mxchange/jcontactsbusiness/model/department/AddressbookDepartmentSessionBean.java b/src/java/org/mxchange/jcontactsbusiness/model/department/AddressbookDepartmentSessionBean.java index e8dea68..d86f4df 100644 --- a/src/java/org/mxchange/jcontactsbusiness/model/department/AddressbookDepartmentSessionBean.java +++ b/src/java/org/mxchange/jcontactsbusiness/model/department/AddressbookDepartmentSessionBean.java @@ -20,7 +20,7 @@ import java.text.MessageFormat; import java.util.List; import javax.ejb.Stateless; import javax.persistence.Query; -import org.mxchange.addressbook.database.BaseAddressbookDatabaseBean; +import org.mxchange.addressbook.enterprise.BaseAddressbookEnterpriseBean; /** * A stateless session bean for general department purposes @@ -28,7 +28,7 @@ import org.mxchange.addressbook.database.BaseAddressbookDatabaseBean; * @author Roland Häder */ @Stateless (name = "department", description = "A general statless bean for handling branch office data (all)") -public class AddressbookDepartmentSessionBean extends BaseAddressbookDatabaseBean implements DepartmentSessionBeanRemote { +public class AddressbookDepartmentSessionBean extends BaseAddressbookEnterpriseBean implements DepartmentSessionBeanRemote { /** * Serial number diff --git a/src/java/org/mxchange/jcontactsbusiness/model/employee/AddressbookAdminEmployeeSessionBean.java b/src/java/org/mxchange/jcontactsbusiness/model/employee/AddressbookAdminEmployeeSessionBean.java index 15ab736..a61e25f 100644 --- a/src/java/org/mxchange/jcontactsbusiness/model/employee/AddressbookAdminEmployeeSessionBean.java +++ b/src/java/org/mxchange/jcontactsbusiness/model/employee/AddressbookAdminEmployeeSessionBean.java @@ -20,13 +20,13 @@ import java.text.MessageFormat; import java.util.Date; import javax.ejb.EJB; import javax.ejb.Stateless; -import org.mxchange.addressbook.database.BaseAddressbookDatabaseBean; +import org.mxchange.addressbook.enterprise.BaseAddressbookEnterpriseBean; import org.mxchange.jcontacts.model.contact.Contact; import org.mxchange.jcontactsbusiness.exceptions.employee.EmployeeAlreadyAddedException; import org.mxchange.jcontactsbusiness.model.branchoffice.BranchOffice; import org.mxchange.jcontactsbusiness.model.department.Department; import org.mxchange.jcontactsbusiness.model.headquarter.Headquarter; -import org.mxchange.jcontactsbusiness.model.jobposition.JobPosition; +import org.mxchange.jcontactsbusiness.model.jobposition.HireableJobPosition; import org.mxchange.jphone.model.phonenumbers.mobile.DialableMobileNumber; import org.mxchange.jphone.model.phonenumbers.mobileprovider.MobileProvider; import org.mxchange.jusercore.model.user.User; @@ -37,7 +37,7 @@ import org.mxchange.jusercore.model.user.User; * @author Roland Häder */ @Stateless (name = "adminEmployee", description = "An administrative statless bean for handling company employees") -public class AddressbookAdminEmployeeSessionBean extends BaseAddressbookDatabaseBean implements AdminEmployeeSessionBeanRemote { +public class AddressbookAdminEmployeeSessionBean extends BaseAddressbookEnterpriseBean implements AdminEmployeeSessionBeanRemote { /** * Serial number @@ -177,9 +177,9 @@ public class AddressbookAdminEmployeeSessionBean extends BaseAddressbookDatabase } // Is headquarter set? - if (employee.getEmployeeJobPosition() instanceof JobPosition) { + if (employee.getEmployeeJobPosition() instanceof HireableJobPosition) { // Then make it managed - final JobPosition jobPosition = this.createManaged(employee.getEmployeeJobPosition()); + final HireableJobPosition jobPosition = this.createManaged(employee.getEmployeeJobPosition()); // Set it back employee.setEmployeeJobPosition(jobPosition); diff --git a/src/java/org/mxchange/jcontactsbusiness/model/employee/AddressbookEmployeeSessionBean.java b/src/java/org/mxchange/jcontactsbusiness/model/employee/AddressbookEmployeeSessionBean.java index 56b25f1..89fdadb 100644 --- a/src/java/org/mxchange/jcontactsbusiness/model/employee/AddressbookEmployeeSessionBean.java +++ b/src/java/org/mxchange/jcontactsbusiness/model/employee/AddressbookEmployeeSessionBean.java @@ -20,7 +20,7 @@ import java.text.MessageFormat; import java.util.List; import javax.ejb.Stateless; import javax.persistence.Query; -import org.mxchange.addressbook.database.BaseAddressbookDatabaseBean; +import org.mxchange.addressbook.enterprise.BaseAddressbookEnterpriseBean; /** * A stateless bean for general purposes for company employees. @@ -28,7 +28,7 @@ import org.mxchange.addressbook.database.BaseAddressbookDatabaseBean; * @author Roland Häder */ @Stateless (name = "employee", description = "A general statless bean for handling company employees") -public class AddressbookEmployeeSessionBean extends BaseAddressbookDatabaseBean implements EmployeeSessionBeanRemote { +public class AddressbookEmployeeSessionBean extends BaseAddressbookEnterpriseBean implements EmployeeSessionBeanRemote { /** * Serial number diff --git a/src/java/org/mxchange/jcontactsbusiness/model/headquarter/AddressbookAdminHeadquartersSessionBean.java b/src/java/org/mxchange/jcontactsbusiness/model/headquarter/AddressbookAdminHeadquartersSessionBean.java index a90afda..88261ac 100644 --- a/src/java/org/mxchange/jcontactsbusiness/model/headquarter/AddressbookAdminHeadquartersSessionBean.java +++ b/src/java/org/mxchange/jcontactsbusiness/model/headquarter/AddressbookAdminHeadquartersSessionBean.java @@ -24,7 +24,7 @@ import javax.ejb.Stateless; import org.mxchange.jcontactsbusiness.exceptions.headquarter.HeadquarterAlreadyAddedException; import org.mxchange.jcontactsbusiness.model.opening_time.OpeningTime; import org.mxchange.jcountry.model.data.Country; -import org.mxchange.addressbook.database.BaseAddressbookDatabaseBean; +import org.mxchange.addressbook.enterprise.BaseAddressbookEnterpriseBean; import org.mxchange.jusercore.model.user.User; /** @@ -33,7 +33,7 @@ import org.mxchange.jusercore.model.user.User; * @author Roland Häder */ @Stateless (name = "adminHeadquarter", description = "An administrative statless bean for handling branch office data (all)") -public class AddressbookAdminHeadquarterSessionBean extends BaseAddressbookDatabaseBean implements AdminHeadquarterSessionBeanRemote { +public class AddressbookAdminHeadquarterSessionBean extends BaseAddressbookEnterpriseBean implements AdminHeadquarterSessionBeanRemote { /** * Serial number diff --git a/src/java/org/mxchange/jcontactsbusiness/model/headquarter/AddressbookHeadquartersSessionBean.java b/src/java/org/mxchange/jcontactsbusiness/model/headquarter/AddressbookHeadquartersSessionBean.java index 2565557..a309bd0 100644 --- a/src/java/org/mxchange/jcontactsbusiness/model/headquarter/AddressbookHeadquartersSessionBean.java +++ b/src/java/org/mxchange/jcontactsbusiness/model/headquarter/AddressbookHeadquartersSessionBean.java @@ -21,7 +21,7 @@ import java.text.MessageFormat; import java.util.List; import javax.ejb.Stateless; import javax.persistence.Query; -import org.mxchange.addressbook.database.BaseAddressbookDatabaseBean; +import org.mxchange.addressbook.enterprise.BaseAddressbookEnterpriseBean; import org.mxchange.jcontactsbusiness.model.headquarter.HeadquarterSessionBeanRemote; /** @@ -30,7 +30,7 @@ import org.mxchange.jcontactsbusiness.model.headquarter.HeadquarterSessionBeanRe * @author Roland Häder */ @Stateless (name = "headquarter", description = "A general statless bean for handling headquarter data (all)") -public class AddressbookHeadquarterSessionBean extends BaseAddressbookDatabaseBean implements HeadquarterSessionBeanRemote { +public class AddressbookHeadquarterSessionBean extends BaseAddressbookEnterpriseBean implements HeadquarterSessionBeanRemote { /** * Serial number diff --git a/src/java/org/mxchange/jcontactsbusiness/model/opening_time/AddressbookAdminOpeningTimesSessionBean.java b/src/java/org/mxchange/jcontactsbusiness/model/opening_time/AddressbookAdminOpeningTimesSessionBean.java index 0935f56..24de287 100644 --- a/src/java/org/mxchange/jcontactsbusiness/model/opening_time/AddressbookAdminOpeningTimesSessionBean.java +++ b/src/java/org/mxchange/jcontactsbusiness/model/opening_time/AddressbookAdminOpeningTimesSessionBean.java @@ -19,7 +19,7 @@ package org.mxchange.jcontactsbusiness.model.opening_time; import java.text.MessageFormat; import java.util.Date; import javax.ejb.Stateless; -import org.mxchange.addressbook.database.BaseAddressbookDatabaseBean; +import org.mxchange.addressbook.enterprise.BaseAddressbookEnterpriseBean; /** * A stateless session bean for administrative opening times purposes @@ -27,7 +27,7 @@ import org.mxchange.addressbook.database.BaseAddressbookDatabaseBean; * @author Roland Häder */ @Stateless (name = "adminOpeningTimes", description = "An administrative statless bean for handling opening times") -public class AddressbookAdminOpeningTimesSessionBean extends BaseAddressbookDatabaseBean implements AdminOpeningTimeSessionBeanRemote { +public class AddressbookAdminOpeningTimesSessionBean extends BaseAddressbookEnterpriseBean implements AdminOpeningTimeSessionBeanRemote { /** * Serial number diff --git a/src/java/org/mxchange/jcontactsbusiness/model/opening_time/AddressbookOpeningTimesSessionBean.java b/src/java/org/mxchange/jcontactsbusiness/model/opening_time/AddressbookOpeningTimesSessionBean.java index 5546004..44cf877 100644 --- a/src/java/org/mxchange/jcontactsbusiness/model/opening_time/AddressbookOpeningTimesSessionBean.java +++ b/src/java/org/mxchange/jcontactsbusiness/model/opening_time/AddressbookOpeningTimesSessionBean.java @@ -20,7 +20,7 @@ import java.text.MessageFormat; import java.util.List; import javax.ejb.Stateless; import javax.persistence.Query; -import org.mxchange.addressbook.database.BaseAddressbookDatabaseBean; +import org.mxchange.addressbook.enterprise.BaseAddressbookEnterpriseBean; /** * A stateless session bean for general opening times purposes @@ -28,7 +28,7 @@ import org.mxchange.addressbook.database.BaseAddressbookDatabaseBean; * @author Roland Häder */ @Stateless (name = "openingTimes", description = "A general statless bean for handling branch office data (all)") -public class AddressbookOpeningTimesSessionBean extends BaseAddressbookDatabaseBean implements OpeningTimeSessionBeanRemote { +public class AddressbookOpeningTimesSessionBean extends BaseAddressbookEnterpriseBean implements OpeningTimeSessionBeanRemote { /** * Serial number diff --git a/src/java/org/mxchange/jcountry/model/data/AddressbookAdminCountrySingletonBean.java b/src/java/org/mxchange/jcountry/model/data/AddressbookAdminCountrySingletonBean.java index ab5be18..484605e 100644 --- a/src/java/org/mxchange/jcountry/model/data/AddressbookAdminCountrySingletonBean.java +++ b/src/java/org/mxchange/jcountry/model/data/AddressbookAdminCountrySingletonBean.java @@ -22,7 +22,7 @@ import javax.ejb.Stateless; import javax.persistence.NoResultException; import javax.persistence.Query; import org.mxchange.jcountry.exceptions.CountryAlreadyAddedException; -import org.mxchange.addressbook.database.BaseAddressbookDatabaseBean; +import org.mxchange.addressbook.enterprise.BaseAddressbookEnterpriseBean; /** * A stateless EJB for administrative country purposes @@ -30,7 +30,7 @@ import org.mxchange.addressbook.database.BaseAddressbookDatabaseBean; * @author Roland Häder */ @Stateless (name = "adminCountry", description = "A stateless session-scoped bean for administrative country purposes") -public class AddressbookAdminCountrySingletonBean extends BaseAddressbookDatabaseBean implements AdminCountrySessionBeanRemote { +public class AddressbookAdminCountrySingletonBean extends BaseAddressbookEnterpriseBean implements AdminCountrySessionBeanRemote { /** * Serial number diff --git a/src/java/org/mxchange/jcountry/model/data/AddressbookCountrySingletonBean.java b/src/java/org/mxchange/jcountry/model/data/AddressbookCountrySingletonBean.java index 148f828..99ff1d6 100644 --- a/src/java/org/mxchange/jcountry/model/data/AddressbookCountrySingletonBean.java +++ b/src/java/org/mxchange/jcountry/model/data/AddressbookCountrySingletonBean.java @@ -21,7 +21,7 @@ import java.util.List; import javax.ejb.Singleton; import javax.ejb.Startup; import javax.persistence.Query; -import org.mxchange.addressbook.database.BaseAddressbookDatabaseBean; +import org.mxchange.addressbook.enterprise.BaseAddressbookEnterpriseBean; /** * A singleton EJB for country informations @@ -30,7 +30,7 @@ import org.mxchange.addressbook.database.BaseAddressbookDatabaseBean; */ @Startup @Singleton (name = "country", description = "A singleton session-scoped bean for country informations") -public class AddressbookCountrySingletonBean extends BaseAddressbookDatabaseBean implements CountrySingletonBeanRemote { +public class AddressbookCountrySingletonBean extends BaseAddressbookEnterpriseBean implements CountrySingletonBeanRemote { /** * Serial number diff --git a/src/java/org/mxchange/jphone/model/phonenumbers/mobileprovider/AddressbookAdminMobileProviderSessionBean.java b/src/java/org/mxchange/jphone/model/phonenumbers/mobileprovider/AddressbookAdminMobileProviderSessionBean.java index 316f80f..59d1f2f 100644 --- a/src/java/org/mxchange/jphone/model/phonenumbers/mobileprovider/AddressbookAdminMobileProviderSessionBean.java +++ b/src/java/org/mxchange/jphone/model/phonenumbers/mobileprovider/AddressbookAdminMobileProviderSessionBean.java @@ -19,7 +19,7 @@ package org.mxchange.jphone.model.phonenumbers.mobileprovider; import java.text.MessageFormat; import java.util.Date; import javax.ejb.Stateless; -import org.mxchange.addressbook.database.BaseAddressbookDatabaseBean; +import org.mxchange.addressbook.enterprise.BaseAddressbookEnterpriseBean; import org.mxchange.jphone.exceptions.mobileprovider.MobileProviderAlreadyAddedException; /** @@ -28,7 +28,7 @@ import org.mxchange.jphone.exceptions.mobileprovider.MobileProviderAlreadyAddedE * @author Roland Häder */ @Stateless (name = "adminMobileProvider", description = "A singleton session-scoped bean for mobile provider informations, admin-edition") -public class AddressbookAdminMobileProviderSessionBean extends BaseAddressbookDatabaseBean implements AdminMobileProviderSessionBeanRemote { +public class AddressbookAdminMobileProviderSessionBean extends BaseAddressbookEnterpriseBean implements AdminMobileProviderSessionBeanRemote { /** * Serial number diff --git a/src/java/org/mxchange/jphone/model/phonenumbers/mobileprovider/AddressbookMobileProviderSingletonBean.java b/src/java/org/mxchange/jphone/model/phonenumbers/mobileprovider/AddressbookMobileProviderSingletonBean.java index 145c927..d377b4a 100644 --- a/src/java/org/mxchange/jphone/model/phonenumbers/mobileprovider/AddressbookMobileProviderSingletonBean.java +++ b/src/java/org/mxchange/jphone/model/phonenumbers/mobileprovider/AddressbookMobileProviderSingletonBean.java @@ -21,7 +21,7 @@ import java.util.List; import javax.ejb.Singleton; import javax.ejb.Startup; import javax.persistence.Query; -import org.mxchange.addressbook.database.BaseAddressbookDatabaseBean; +import org.mxchange.addressbook.enterprise.BaseAddressbookEnterpriseBean; /** * A singleton EJB for mobile provider informations @@ -30,7 +30,7 @@ import org.mxchange.addressbook.database.BaseAddressbookDatabaseBean; */ @Startup @Singleton (name = "mobileProvider", description = "A singleton session-scoped bean for SMS provider informations") -public class AddressbookMobileProviderSingletonBean extends BaseAddressbookDatabaseBean implements MobileProviderSingletonBeanRemote { +public class AddressbookMobileProviderSingletonBean extends BaseAddressbookEnterpriseBean implements MobileProviderSingletonBeanRemote { /** * Serial number diff --git a/src/java/org/mxchange/jphone/model/phonenumbers/phone/AddressbookAdminPhoneSessionBean.java b/src/java/org/mxchange/jphone/model/phonenumbers/phone/AddressbookAdminPhoneSessionBean.java index d8c33ac..2d8ac9f 100644 --- a/src/java/org/mxchange/jphone/model/phonenumbers/phone/AddressbookAdminPhoneSessionBean.java +++ b/src/java/org/mxchange/jphone/model/phonenumbers/phone/AddressbookAdminPhoneSessionBean.java @@ -19,7 +19,7 @@ package org.mxchange.jphone.model.phonenumbers.phone; import java.text.MessageFormat; import java.util.Date; import javax.ejb.Stateless; -import org.mxchange.addressbook.database.BaseAddressbookDatabaseBean; +import org.mxchange.addressbook.enterprise.BaseAddressbookEnterpriseBean; import org.mxchange.jphone.model.phonenumbers.fax.DialableFaxNumber; import org.mxchange.jphone.model.phonenumbers.fax.FaxNumbers; import org.mxchange.jphone.model.phonenumbers.landline.DialableLandLineNumber; @@ -33,7 +33,7 @@ import org.mxchange.jphone.model.phonenumbers.mobile.MobileNumbers; * @author Roland Häder */ @Stateless (name = "adminPhone", description = "An administrative bean handling phone data") -public class AddressbookAdminPhoneSessionBean extends BaseAddressbookDatabaseBean implements AdminPhoneSessionBeanRemote { +public class AddressbookAdminPhoneSessionBean extends BaseAddressbookEnterpriseBean implements AdminPhoneSessionBeanRemote { /** * Serial number diff --git a/src/java/org/mxchange/jphone/model/phonenumbers/phone/AddressbookPhoneSessionBean.java b/src/java/org/mxchange/jphone/model/phonenumbers/phone/AddressbookPhoneSessionBean.java index 94f5d68..a937bde 100644 --- a/src/java/org/mxchange/jphone/model/phonenumbers/phone/AddressbookPhoneSessionBean.java +++ b/src/java/org/mxchange/jphone/model/phonenumbers/phone/AddressbookPhoneSessionBean.java @@ -20,8 +20,7 @@ import java.text.MessageFormat; import java.util.List; import javax.ejb.Stateless; import javax.persistence.Query; -import org.mxchange.addressbook.database.BaseAddressbookDatabaseBean; -import org.mxchange.jphone.exceptions.PhoneEntityNotFoundException; +import org.mxchange.addressbook.enterprise.BaseAddressbookEnterpriseBean; import org.mxchange.jphone.model.phonenumbers.fax.DialableFaxNumber; import org.mxchange.jphone.model.phonenumbers.fax.FaxNumber; import org.mxchange.jphone.model.phonenumbers.landline.DialableLandLineNumber; @@ -35,7 +34,7 @@ import org.mxchange.jphone.model.phonenumbers.mobile.MobileNumber; * @author Roland Häder */ @Stateless (name = "phone", description = "A bean handling phone data") -public class AddressbookPhoneSessionBean extends BaseAddressbookDatabaseBean implements PhoneSessionBeanRemote { +public class AddressbookPhoneSessionBean extends BaseAddressbookEnterpriseBean implements PhoneSessionBeanRemote { /** * Serial number diff --git a/src/java/org/mxchange/jusercore/model/user/AddressbookAdminUserSessionBean.java b/src/java/org/mxchange/jusercore/model/user/AddressbookAdminUserSessionBean.java index dc1d482..cbf7dbd 100644 --- a/src/java/org/mxchange/jusercore/model/user/AddressbookAdminUserSessionBean.java +++ b/src/java/org/mxchange/jusercore/model/user/AddressbookAdminUserSessionBean.java @@ -20,7 +20,7 @@ import java.text.MessageFormat; import java.util.Date; import javax.ejb.EJB; import javax.ejb.Stateless; -import org.mxchange.addressbook.database.BaseAddressbookDatabaseBean; +import org.mxchange.addressbook.enterprise.BaseAddressbookEnterpriseBean; import org.mxchange.jcontacts.model.contact.Contact; import org.mxchange.jusercore.exceptions.EmailAddressAlreadyRegisteredException; import org.mxchange.jusercore.exceptions.UserNameAlreadyRegisteredException; @@ -37,7 +37,7 @@ import org.mxchange.juserlogincore.model.user.register.UserRegistrationSessionBe * @author Roland Häder */ @Stateless (name = "adminUser", description = "A bean handling the user data") -public class AddressbookAdminUserSessionBean extends BaseAddressbookDatabaseBean implements AdminUserSessionBeanRemote { +public class AddressbookAdminUserSessionBean extends BaseAddressbookEnterpriseBean implements AdminUserSessionBeanRemote { /** * Serial number diff --git a/src/java/org/mxchange/jusercore/model/user/AddressbookUserSessionBean.java b/src/java/org/mxchange/jusercore/model/user/AddressbookUserSessionBean.java index c3e5822..3de16e2 100644 --- a/src/java/org/mxchange/jusercore/model/user/AddressbookUserSessionBean.java +++ b/src/java/org/mxchange/jusercore/model/user/AddressbookUserSessionBean.java @@ -25,7 +25,7 @@ import javax.ejb.Stateless; import javax.persistence.NoResultException; import javax.persistence.PersistenceException; import javax.persistence.Query; -import org.mxchange.addressbook.database.BaseAddressbookDatabaseBean; +import org.mxchange.addressbook.enterprise.BaseAddressbookEnterpriseBean; import org.mxchange.jcontacts.model.contact.Contact; import org.mxchange.jcontacts.model.contact.Contacts; import org.mxchange.jphone.model.phonenumbers.fax.DialableFaxNumber; @@ -49,7 +49,7 @@ import org.mxchange.juserlogincore.model.user.register.UserRegistrationSessionBe * @author Roland Häder */ @Stateless (name = "user", description = "A bean handling the user data") -public class AddressbookUserSessionBean extends BaseAddressbookDatabaseBean implements UserSessionBeanRemote { +public class AddressbookUserSessionBean extends BaseAddressbookEnterpriseBean implements UserSessionBeanRemote { /** * Serial number diff --git a/src/java/org/mxchange/jusercore/model/user/activity/AddressbookUserActivityLogMessageBean.java b/src/java/org/mxchange/jusercore/model/user/activity/AddressbookUserActivityLogMessageBean.java index 333a907..68bd4a4 100644 --- a/src/java/org/mxchange/jusercore/model/user/activity/AddressbookUserActivityLogMessageBean.java +++ b/src/java/org/mxchange/jusercore/model/user/activity/AddressbookUserActivityLogMessageBean.java @@ -24,7 +24,7 @@ import javax.jms.JMSException; import javax.jms.Message; import javax.jms.MessageListener; import javax.jms.ObjectMessage; -import org.mxchange.addressbook.database.BaseAddressbookDatabaseBean; +import org.mxchange.addressbook.enterprise.BaseAddressbookEnterpriseBean; import org.mxchange.jusercore.model.user.User; /** @@ -46,7 +46,7 @@ import org.mxchange.jusercore.model.user.User; ) } ) -public class AddressbookUserActivityLogMessageBean extends BaseAddressbookDatabaseBean implements MessageListener { +public class AddressbookUserActivityLogMessageBean extends BaseAddressbookEnterpriseBean implements MessageListener { /** * Serial number diff --git a/src/java/org/mxchange/jusercore/model/user/activity/AddressbookUserActivitySessionBean.java b/src/java/org/mxchange/jusercore/model/user/activity/AddressbookUserActivitySessionBean.java index c6baf94..cf54b96 100644 --- a/src/java/org/mxchange/jusercore/model/user/activity/AddressbookUserActivitySessionBean.java +++ b/src/java/org/mxchange/jusercore/model/user/activity/AddressbookUserActivitySessionBean.java @@ -23,7 +23,7 @@ import javax.ejb.Stateless; import javax.jms.JMSException; import javax.jms.ObjectMessage; import javax.persistence.Query; -import org.mxchange.addressbook.database.BaseAddressbookDatabaseBean; +import org.mxchange.addressbook.enterprise.BaseAddressbookEnterpriseBean; import org.mxchange.jusercore.model.user.User; /** @@ -32,7 +32,7 @@ import org.mxchange.jusercore.model.user.User; * @author Roland Häder */ @Stateless (name = "userActivity", description = "A stateless, session-scored user-activity bean.") -public class AddressbookUserActivitySessionBean extends BaseAddressbookDatabaseBean implements UserActivityLogSessionBeanRemote { +public class AddressbookUserActivitySessionBean extends BaseAddressbookEnterpriseBean implements UserActivityLogSessionBeanRemote { /** * Serial number diff --git a/src/java/org/mxchange/jusercore/model/user/email_address/AddressbookUserEmailChangeSessionBean.java b/src/java/org/mxchange/jusercore/model/user/email_address/AddressbookUserEmailChangeSessionBean.java index 391737f..0b3bec7 100644 --- a/src/java/org/mxchange/jusercore/model/user/email_address/AddressbookUserEmailChangeSessionBean.java +++ b/src/java/org/mxchange/jusercore/model/user/email_address/AddressbookUserEmailChangeSessionBean.java @@ -24,7 +24,7 @@ import javax.ejb.EJBException; import javax.ejb.Stateless; import javax.persistence.NoResultException; import javax.persistence.Query; -import org.mxchange.addressbook.database.BaseAddressbookDatabaseBean; +import org.mxchange.addressbook.enterprise.BaseAddressbookEnterpriseBean; import org.mxchange.jusercore.model.email_address.ChangeableEmailAddress; import org.mxchange.jusercore.model.email_address.EmailAddressChange; import org.mxchange.jusercore.model.user.UserSessionBeanRemote; @@ -36,7 +36,7 @@ import org.mxchange.juserlogincore.login.UserLoginUtils; * @author Roland Häder */ @Stateless (name = "userEmailChange", description = "A bean handling user email changes") -public class AddressbookUserEmailChangeSessionBean extends BaseAddressbookDatabaseBean implements UserEmailChangeSessionBeanRemote { +public class AddressbookUserEmailChangeSessionBean extends BaseAddressbookEnterpriseBean implements UserEmailChangeSessionBeanRemote { /** * Serial number diff --git a/src/java/org/mxchange/jusercore/model/user/password_history/AddressbookUserPasswordHistorySessionBean.java b/src/java/org/mxchange/jusercore/model/user/password_history/AddressbookUserPasswordHistorySessionBean.java index cbfa84c..7734e09 100644 --- a/src/java/org/mxchange/jusercore/model/user/password_history/AddressbookUserPasswordHistorySessionBean.java +++ b/src/java/org/mxchange/jusercore/model/user/password_history/AddressbookUserPasswordHistorySessionBean.java @@ -20,7 +20,7 @@ import java.text.MessageFormat; import java.util.List; import javax.ejb.Stateless; import javax.persistence.Query; -import org.mxchange.addressbook.database.BaseAddressbookDatabaseBean; +import org.mxchange.addressbook.enterprise.BaseAddressbookEnterpriseBean; import org.mxchange.jusercore.model.user.User; /** @@ -29,7 +29,7 @@ import org.mxchange.jusercore.model.user.User; * @author Roland Häder */ @Stateless (name = "userPasswordHistory", description = "A stateless EJB for user's password history. This bean does return the full user's password history and not limited. The application then needs to limit it to it's purpose.") -public class AddressbookUserPasswordHistorySessionBean extends BaseAddressbookDatabaseBean implements UserPasswordHistorySessionBeanRemote { +public class AddressbookUserPasswordHistorySessionBean extends BaseAddressbookEnterpriseBean implements UserPasswordHistorySessionBeanRemote { /** * Serial number diff --git a/src/java/org/mxchange/juserlogincore/model/user/login/AddressbookUserLoginSessionBean.java b/src/java/org/mxchange/juserlogincore/model/user/login/AddressbookUserLoginSessionBean.java index 8db7dcd..4c239d5 100644 --- a/src/java/org/mxchange/juserlogincore/model/user/login/AddressbookUserLoginSessionBean.java +++ b/src/java/org/mxchange/juserlogincore/model/user/login/AddressbookUserLoginSessionBean.java @@ -19,7 +19,7 @@ package org.mxchange.juserlogincore.model.user.login; import java.text.MessageFormat; import javax.ejb.EJB; import javax.ejb.Stateless; -import org.mxchange.addressbook.database.BaseAddressbookDatabaseBean; +import org.mxchange.addressbook.enterprise.BaseAddressbookEnterpriseBean; import org.mxchange.jusercore.exceptions.UserNotFoundException; import org.mxchange.jusercore.exceptions.UserStatusLockedException; import org.mxchange.jusercore.exceptions.UserStatusUnconfirmedException; @@ -37,7 +37,7 @@ import org.mxchange.juserlogincore.model.user.register.UserRegistrationSessionBe * @author Roland Häder */ @Stateless (name = "userLogin", description = "A bean handling the user login for Addressbook project") -public class AddressbookUserLoginSessionBean extends BaseAddressbookDatabaseBean implements UserLoginSessionBeanRemote { +public class AddressbookUserLoginSessionBean extends BaseAddressbookEnterpriseBean implements UserLoginSessionBeanRemote { /** * Serial number diff --git a/src/java/org/mxchange/juserlogincore/model/user/register/AddressbookUserRegistrationSessionBean.java b/src/java/org/mxchange/juserlogincore/model/user/register/AddressbookUserRegistrationSessionBean.java index 3d96a74..e0a01aa 100644 --- a/src/java/org/mxchange/juserlogincore/model/user/register/AddressbookUserRegistrationSessionBean.java +++ b/src/java/org/mxchange/juserlogincore/model/user/register/AddressbookUserRegistrationSessionBean.java @@ -22,7 +22,7 @@ import javax.ejb.EJB; import javax.ejb.Stateless; import javax.persistence.NoResultException; import javax.persistence.Query; -import org.mxchange.addressbook.database.BaseAddressbookDatabaseBean; +import org.mxchange.addressbook.enterprise.BaseAddressbookEnterpriseBean; import org.mxchange.jcontacts.model.contact.Contact; import org.mxchange.jusercore.exceptions.EmailAddressAlreadyRegisteredException; import org.mxchange.jusercore.exceptions.UserNameAlreadyRegisteredException; @@ -38,7 +38,7 @@ import org.mxchange.juserlogincore.login.UserLoginUtils; * @author Roland Häder */ @Stateless (name = "userRegistration", description = "A bean handling the user registration") -public class AddressbookUserRegistrationSessionBean extends BaseAddressbookDatabaseBean implements UserRegistrationSessionBeanRemote { +public class AddressbookUserRegistrationSessionBean extends BaseAddressbookEnterpriseBean implements UserRegistrationSessionBeanRemote { /** * Serial number diff --git a/src/java/org/mxchange/juserlogincore/model/user/resendlink/AddressbookResendLinkSessionBean.java b/src/java/org/mxchange/juserlogincore/model/user/resendlink/AddressbookResendLinkSessionBean.java index 9e34760..e8bbba6 100644 --- a/src/java/org/mxchange/juserlogincore/model/user/resendlink/AddressbookResendLinkSessionBean.java +++ b/src/java/org/mxchange/juserlogincore/model/user/resendlink/AddressbookResendLinkSessionBean.java @@ -20,7 +20,7 @@ import java.text.MessageFormat; import java.util.Locale; import javax.ejb.EJB; import javax.ejb.Stateless; -import org.mxchange.addressbook.database.BaseAddressbookDatabaseBean; +import org.mxchange.addressbook.enterprise.BaseAddressbookEnterpriseBean; import org.mxchange.jusercore.exceptions.UserNotFoundException; import org.mxchange.jusercore.exceptions.UserStatusConfirmedException; import org.mxchange.jusercore.exceptions.UserStatusLockedException; @@ -36,7 +36,7 @@ import org.mxchange.juserlogincore.model.user.register.UserRegistrationSessionBe * @author Roland Häder */ @Stateless (name = "userResendConfirmationLink", description = "A bean resending confirmation links") -public class AddressbookResendLinkSessionBean extends BaseAddressbookDatabaseBean implements ResendLinkSessionBeanRemote { +public class AddressbookResendLinkSessionBean extends BaseAddressbookEnterpriseBean implements ResendLinkSessionBeanRemote { /** * Serial number -- 2.39.5