]> git.mxchange.org Git - jfinancials-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>
Tue, 5 Sep 2017 20:37:42 +0000 (22:37 +0200)
commit465b7a351ac0521fd8d0c80df0054616ed49374e
treeee8937c7931542823eb8c7c7ec636f292b695d3a
parenta28a1b2b74d7a072e95e99302795d6e5452007ec
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/FinancialsAdminContactSessionBean.java
src/java/org/mxchange/jcontacts/contact/FinancialsContactSessionBean.java
src/java/org/mxchange/jcontacts/phone/FinancialsAdminContactPhoneSessionBean.java
src/java/org/mxchange/jcontactsbusiness/basicdata/FinancialsAdminBusinessDataSessionBean.java
src/java/org/mxchange/jcontactsbusiness/basicdata/FinancialsBusinessDataSessionBean.java
src/java/org/mxchange/jcontactsbusiness/branchoffice/FinancialsAdminBranchOfficeSessionBean.java [new file with mode: 0644]
src/java/org/mxchange/jcontactsbusiness/branchoffice/FinancialsBranchOfficeSessionBean.java [new file with mode: 0644]
src/java/org/mxchange/jcontactsbusiness/employee/FinancialsCompanyEmployeeSessionBean.java
src/java/org/mxchange/jcountry/data/FinancialsCountrySingletonBean.java
src/java/org/mxchange/jfinancials/database/BaseFinancialsDatabaseBean.java
src/java/org/mxchange/jphone/phonenumbers/mobileprovider/FinancialsMobileProviderSingletonBean.java
src/java/org/mxchange/jphone/phonenumbers/phone/FinancialsAdminPhoneSessionBean.java
src/java/org/mxchange/jphone/phonenumbers/phone/FinancialsPhoneSessionBean.java
src/java/org/mxchange/jusercore/model/user/FinancialsAdminUserSessionBean.java
src/java/org/mxchange/jusercore/model/user/FinancialsUserSessionBean.java
src/java/org/mxchange/jusercore/model/user/activity/FinancialsUserActivityLogMessageBean.java
src/java/org/mxchange/jusercore/model/user/email_address/FinancialsUserEmailChangeSessionBean.java
src/java/org/mxchange/jusercore/model/user/password_history/FinancialsUserPasswordHistorySessionBean.java
src/java/org/mxchange/juserlogincore/model/user/login/FinancialsUserLoginSessionBean.java
src/java/org/mxchange/juserlogincore/model/user/register/FinancialsUserRegistrationSessionBean.java
src/java/org/mxchange/juserlogincore/model/user/resendlink/FinancialsResendLinkSessionBean.java