]> git.mxchange.org Git - pizzaservice-ejb.git/commit
Please cherry-pick:
authorRoland Häder <roland@mxchange.org>
Tue, 5 Sep 2017 20:03:36 +0000 (22:03 +0200)
committerRoland Häder <roland@mxchange.org>
Sat, 9 Sep 2017 11:33:30 +0000 (13:33 +0200)
commita3140d42785b4e68882455699a9008d2cf27b5fc
tree899c29d233bb01f7a323c46c81a97ef6785fb2ec
parenta0691b423b5148752ea7261dbdef51f68f7c5264
Please cherry-pick:
- added new stateless session beans for administrative and general purposes for
  branch office data and implemented business methods
- moved allCompanyBasicData() to general bean as this is a general business method
- also had to switch EJB references (maybe one day lookup="" is required again?)
- added private method isContactFound() to check if contact is already registered
  or not there
- this method is now used to throw proper checked exceptions (which in turn your
  application must catch)
- implemented business method allCompanyBasicData()
- renamed getAllContacts() -> allContacts() as this is actually no getter
  following naming-convention
- renamed getUserNameList() -> allUserNames() for same reason
- in fillUserData() added more checks on parameter 'user' as usual in many
  places, including ifUserExists() and throw checked (wanted) exception if not
  found in persistence provider
- added 'final' whereever possible, better optimization
- used not NULL when not needed, allowing more 'final' to be set
- updated persistence unit (new namespace for branch office entity)
- relicensed under Affero GPLv3 (no change to e.g. MIT will happen)
- added TODOs

Signed-off-by: Roland Häder <roland@mxchange.org>
23 files changed:
docs/COPYING.software
src/conf/persistence.xml
src/java/org/mxchange/jcontacts/contact/PizzaAdminContactSessionBean.java
src/java/org/mxchange/jcontacts/contact/PizzaContactSessionBean.java
src/java/org/mxchange/jcontacts/phone/PizzaAdminContactPhoneSessionBean.java
src/java/org/mxchange/jcontactsbusiness/basicdata/PizzaAdminBusinessDataSessionBean.java
src/java/org/mxchange/jcontactsbusiness/basicdata/PizzaBusinessDataSessionBean.java
src/java/org/mxchange/jcontactsbusiness/branchoffice/PizzaAdminBranchOfficeSessionBean.java [new file with mode: 0644]
src/java/org/mxchange/jcontactsbusiness/branchoffice/PizzaBranchOfficeSessionBean.java [new file with mode: 0644]
src/java/org/mxchange/jcontactsbusiness/employee/PizzaCompanyEmployeeSessionBean.java
src/java/org/mxchange/jcountry/data/PizzaCountrySingletonBean.java
src/java/org/mxchange/jphone/phonenumbers/mobileprovider/PizzaMobileProviderSingletonBean.java
src/java/org/mxchange/jphone/phonenumbers/phone/PizzaAdminPhoneSessionBean.java
src/java/org/mxchange/jphone/phonenumbers/phone/PizzaPhoneSessionBean.java
src/java/org/mxchange/jusercore/model/user/PizzaAdminUserSessionBean.java
src/java/org/mxchange/jusercore/model/user/PizzaUserSessionBean.java
src/java/org/mxchange/jusercore/model/user/activity/PizzaUserActivityLogMessageBean.java
src/java/org/mxchange/jusercore/model/user/email_address/PizzaUserEmailChangeSessionBean.java
src/java/org/mxchange/jusercore/model/user/password_history/PizzaUserPasswordHistorySessionBean.java
src/java/org/mxchange/juserlogincore/model/user/login/PizzaUserLoginSessionBean.java
src/java/org/mxchange/juserlogincore/model/user/register/PizzaUserRegistrationSessionBean.java
src/java/org/mxchange/juserlogincore/model/user/resendlink/PizzaResendLinkSessionBean.java
src/java/org/mxchange/pizzaaplication/database/BasePizzaDatabaseBean.java