]> git.mxchange.org Git - jfinancials-ejb.git/log
jfinancials-ejb.git
4 years agoDon't cherry-pick:
Roland Häder [Sat, 18 Apr 2020 13:51:38 +0000 (15:51 +0200)]
Don't cherry-pick:
- updated JARs have new copyFooData() method names

Signed-off-by: Roland Häder <roland@mxchange.org>
4 years agoProduct-only:
Roland Häder [Sat, 18 Apr 2020 13:51:24 +0000 (15:51 +0200)]
Product-only:
- updated JARs have new copyFooData() method names

Signed-off-by: Roland Häder <roland@mxchange.org>
4 years agoPlease cherry-pick:
Roland Häder [Sat, 18 Apr 2020 13:50:44 +0000 (15:50 +0200)]
Please cherry-pick:
- updated JARs have new copyFooData() method names

Signed-off-by: Roland Häder <roland@mxchange.org>
4 years agoDon't cherry-pick:
Roland Häder [Thu, 16 Apr 2020 20:11:11 +0000 (22:11 +0200)]
Don't cherry-pick:
- renamed allFoos() to fetchAllFoos()

Signed-off-by: Roland Häder <roland@mxchange.org>
4 years agoPlease cherry-pick:
Roland Häder [Thu, 16 Apr 2020 20:09:49 +0000 (22:09 +0200)]
Please cherry-pick:
- method names have been updated in business opening times

Signed-off-by: Roland Häder <roland@mxchange.org>
4 years agoProduct-only:
Roland Häder [Thu, 16 Apr 2020 20:08:31 +0000 (22:08 +0200)]
Product-only:
- renamed allFoos() to fetchAllFoos()

Signed-off-by: Roland Häder <roland@mxchange.org>
4 years agoPlease cherry-pick:
Roland Häder [Thu, 16 Apr 2020 20:04:23 +0000 (22:04 +0200)]
Please cherry-pick:
- renamed allFoos() to fetchAllFoos()
- cleanup of deprecated/no longer needed business methods as fetchAllFoos() can
  be used instead
- splitted mobile number relevant business methods into separate EJB, this
  allows better load-balancing on servers with many CPU cores
- UserLoginSessionBean is now superflous and can be removed

Signed-off-by: Roland Häder <roland@mxchange.org>
4 years agoPlease cherry-pick:
Roland Häder [Tue, 14 Apr 2020 08:03:54 +0000 (10:03 +0200)]
Please cherry-pick:
- updated jphone-core.jar requires now some new getter/setter names like
  getMobileEntryUpdated(), setContactEntry<Created|Updated>() and many more

Signed-off-by: Roland Häder <roland@mxchange.org>
4 years agoPlease cherry-pick:
Roland Häder [Wed, 8 Apr 2020 22:39:04 +0000 (00:39 +0200)]
Please cherry-pick:
- rewrote to AllContacts + iteration of whole list to avoid SearchContact JPQL

Signed-off-by: Roland Häder <roland@mxchange.org>
4 years agoDon't cherry-pick:
Roland Häder [Wed, 8 Apr 2020 15:42:17 +0000 (17:42 +0200)]
Don't cherry-pick:
- introduced BaseFinancialsProjectEnterpriseBean which holds some
  project-specific protected methods
- implemented business method updateReceipt()

Signed-off-by: Roland Häder <roland@mxchange.org>
4 years agoPlease cherry-pick:
Roland Häder [Wed, 1 Apr 2020 18:20:51 +0000 (20:20 +0200)]
Please cherry-pick:
- rewrote to avoid local Iterator<Foo> instance

Signed-off-by: Roland Häder <roland@mxchange.org>
4 years agoPlease cherry-pick:
Roland Häder [Wed, 1 Apr 2020 17:29:24 +0000 (19:29 +0200)]
Please cherry-pick:
- no need for SearchCountryByCodeI18nKey anymore when you can use AllCountries
  plus Objects.equals()

Signed-off-by: Roland Häder <roland@mxchange.org>
4 years agoUpdated jar(s)
Roland Häder [Mon, 16 Mar 2020 04:28:34 +0000 (05:28 +0100)]
Updated jar(s)

Signed-off-by: Roland Häder <roland@mxchange.org>
4 years agoPlease repeat:
Roland Häder [Tue, 10 Mar 2020 13:25:10 +0000 (14:25 +0100)]
Please repeat:
- need to remove dependency to *-mailer-ejb as *-mailer-lib is enough

Signed-off-by: Roland Häder <roland@mxchange.org>
4 years agoPlease cherry-pick/fix:
Roland Häder [Tue, 3 Mar 2020 12:10:00 +0000 (13:10 +0100)]
Please cherry-pick/fix:
- don't reference any EJB projects here, might be some strange
 leftover from last Christmas? ;-)

Signed-off-by: Roland Häder <roland@mxchange.org>
4 years agoPlese repeat:
Roland Häder [Sat, 15 Feb 2020 12:00:38 +0000 (13:00 +0100)]
Plese repeat:
- removed wrong juser-core dependency, it should be only a file/JAR reference

Signed-off-by: Roland Häder <roland@mxchange.org>
4 years agoUpdated jar(s)
Roland Häder [Thu, 6 Feb 2020 21:24:14 +0000 (22:24 +0100)]
Updated jar(s)

Signed-off-by: Roland Häder <roland@mxchange.org>
4 years agoremoved invalid juser-core reference
Roland Häder [Thu, 6 Feb 2020 20:20:35 +0000 (21:20 +0100)]
removed invalid juser-core reference

Signed-off-by: Roland Häder <roland@mxchange.org>
4 years agoPlease cherry-pick:
Roland Häder [Tue, 4 Feb 2020 21:51:43 +0000 (22:51 +0100)]
Please cherry-pick:
- having nothing created is best and most secure choice, then accidentally no
  data is lost and you have to re-enable this when you want to (re-)create your
  database layout.

Signed-off-by: Roland Häder <roland@mxchange.org>
4 years agoDon't cherry-pick:
Roland Häder [Sat, 1 Feb 2020 02:08:48 +0000 (03:08 +0100)]
Don't cherry-pick:
- removed no longer existing JobPosition import
- removed duplicate method

Signed-off-by: Roland Häder <roland@mxchange.org>
4 years agoUpdated jar(s)
Roland Häder [Sat, 1 Feb 2020 01:31:23 +0000 (02:31 +0100)]
Updated jar(s)

Signed-off-by: Roland Häder <roland@mxchange.org>
4 years agoUpdated jar(s)
Roland Häder [Wed, 15 Jan 2020 16:57:00 +0000 (17:57 +0100)]
Updated jar(s)

Signed-off-by: Roland Häder <roland@mxchange.org>
4 years agoUpdated copyright year
Roland Häder [Wed, 15 Jan 2020 15:14:01 +0000 (16:14 +0100)]
Updated copyright year

Signed-off-by: Roland Häder <roland@mxchange.org>
4 years agoUpdated copyright year
Roland Häder [Wed, 15 Jan 2020 10:46:25 +0000 (11:46 +0100)]
Updated copyright year

Signed-off-by: Roland Häder <roland@mxchange.org>
4 years agoUpdated jar(s)
Roland Häder [Tue, 14 Jan 2020 23:31:19 +0000 (00:31 +0100)]
Updated jar(s)

Signed-off-by: Roland Häder <roland@mxchange.org>
4 years agoProduct-only:
Roland Häder [Sun, 24 Nov 2019 04:38:26 +0000 (05:38 +0100)]
Product-only:
- renamed/moved file

Signed-off-by: Roland Häder <roland@mxchange.org>
4 years agoPlease cherry-pick/repeat:
Roland Häder [Sun, 24 Nov 2019 04:37:31 +0000 (05:37 +0100)]
Please cherry-pick/repeat:
- renamed/moved file

Signed-off-by: Roland Häder <roland@mxchange.org>
4 years agoDon't cherry-pick:
Roland Häder [Sun, 24 Nov 2019 04:36:16 +0000 (05:36 +0100)]
Don't cherry-pick:
- renamed BaseFinancialsDatabaseBean to BaseFinancialsEnterpriseBean
- also moved it to proper "enterprise" package

Signed-off-by: Roland Häder <roland@mxchange.org>
4 years agoProduct-only:
Roland Häder [Sun, 24 Nov 2019 04:34:21 +0000 (05:34 +0100)]
Product-only:
- renamed BaseFinancialsProductDatabaseBean to BaseFinancialsProductEnterpriseBean
- also moved it to proper "enterprise" package

Signed-off-by: Roland Häder <roland@mxchange.org>
4 years agoPlease cherry-pick:
Roland Häder [Sun, 24 Nov 2019 04:29:41 +0000 (05:29 +0100)]
Please cherry-pick:
- renamed BaseFinancialsDatabaseBean to BaseFinancialsEnterpriseBean
- also moved it to proper "enterprise" package

Signed-off-by: Roland Häder <roland@mxchange.org>
5 years agoUpdated jar(s)
Roland Häder [Wed, 26 Jun 2019 17:48:21 +0000 (19:48 +0200)]
Updated jar(s)

Signed-off-by: Roland Häder <roland@mxchange.org>
5 years agoContinued:
Roland Häder [Wed, 26 Jun 2019 03:29:57 +0000 (05:29 +0200)]
Continued:
- added *.copyAll() invocation for having all entity properties being
  "copied"
- updated log messages with correct method name
- updated TODOs

Signed-off-by: Roland Häder <roland@mxchange.org>
5 years agoUpdated jar(s)
Roland Häder [Tue, 12 Mar 2019 13:27:26 +0000 (14:27 +0100)]
Updated jar(s)

Signed-off-by: Roland Häder <roland@mxchange.org>
5 years agoPlease cherry-pick:
Roland Häder [Mon, 28 Jan 2019 17:07:22 +0000 (18:07 +0100)]
Please cherry-pick:
- added missing JAR(s)

5 years agoUpdated jar(s)
Roland Häder [Sat, 22 Dec 2018 01:30:00 +0000 (02:30 +0100)]
Updated jar(s)

Signed-off-by: Roland Häder <roland@mxchange.org>
5 years agoPlease cherry-pick:
Roland Häder [Fri, 21 Dec 2018 18:56:25 +0000 (19:56 +0100)]
Please cherry-pick:
- parameter of this exception has changed, needs to be direct company (short)
  name now, not full BasicData instance

Signed-off-by: Roland Häder <roland@mxchange.org>
5 years agoPlease cherry-pick:
Roland Häder [Fri, 21 Dec 2018 14:10:12 +0000 (15:10 +0100)]
Please cherry-pick:
- companyShortName is now mandatory, while companyName (full name) is optional
- but if companyName is set, check it as well, if it doesn't exist

Signed-off-by: Roland Häder <roland@mxchange.org>
5 years agoProduct-only:
Roland Häder [Wed, 19 Dec 2018 19:13:54 +0000 (20:13 +0100)]
Product-only:
- implemented newly added method updatedProductCategory()

Signed-off-by: Roland Häder <roland@mxchange.org>
6 years agoPlease cherry-pick:
Roland Häder [Fri, 22 Jun 2018 21:33:27 +0000 (23:33 +0200)]
Please cherry-pick:
- was old-lost content from my PHP project "mailer"

Signed-off-by: Roland Häder <roland@mxchange.org>
6 years agoPlease cherry-pick:
Roland Häder [Sat, 16 Jun 2018 13:18:54 +0000 (15:18 +0200)]
Please cherry-pick:
- updated copyright to the FSF

Signed-off-by: Roland Häder <roland@mxchange.org>
6 years agoProduct-only:
Roland Häder [Sat, 16 Jun 2018 13:17:55 +0000 (15:17 +0200)]
Product-only:
- added mergeProductData()
- implemented updateProductData()

Signed-off-by: Roland Häder <roland@mxchange.org>
6 years agoDon't cherry-pick:
Roland Häder [Sat, 24 Mar 2018 22:21:57 +0000 (23:21 +0100)]
Don't cherry-pick:
- income.incomeSingleAmount is now BigDecimal, need to invoke doubleValue() on
  it as direct comparison is not possible

Signed-off-by: Roland Häder <roland@mxchange.org>
6 years agoPlease cherry-pick:
Roland Häder [Sat, 24 Mar 2018 22:20:53 +0000 (23:20 +0100)]
Please cherry-pick:
- updated reference UserUtils to Users

Signed-off-by: Roland Häder <roland@mxchange.org>
6 years agoPlease cherry-pick:
Roland Häder [Sun, 18 Mar 2018 21:25:50 +0000 (22:25 +0100)]
Please cherry-pick:
- ContactUtils was renamed to Contacts to follow naming-convention
- fixed copy-paste mistake for headquarters instance, was BasicData
- also employeePosition was renamed to employeeJobPosition

Signed-off-by: Roland Häder <roland@mxchange.org>
6 years agoDon't cherry-pick:
Roland Häder [Tue, 13 Mar 2018 22:21:16 +0000 (23:21 +0100)]
Don't cherry-pick:
- updated persistence.xml with new entities (bonus cards and such)
- added (not done with with this commit) new project dependencies, like
  juser-activity-lib, jcustomer-core and jcustomer-lib
- implemented protected methodsfor creating managed instances of Product
- receipt items now reference an "item manufacturer" which is a BasicData
  instance
- discounts may be added multiple times, so never consider them as being added
- ignore more string for internationalization
- changed copyright to Free Software Foundation

Signed-off-by: Roland Häder <roland@mxchange.org>
6 years agoPlease cherry-pick/rename:
Roland Häder [Tue, 13 Mar 2018 22:05:44 +0000 (23:05 +0100)]
Please cherry-pick/rename:
- Headquarter is enough for bean name (please rename)
- removed some no longer recommended business methods
- removed no longer used private methods
- made some local variables final which helps the Java compiler in optimization
  of resulting byte-code
- added session EJB for user activity
- other improvements (?)
- changed copyright to Free Software Foundation

Signed-off-by: Roland Häder <roland@mxchange.org>
7 years agoPlease cherry-pick:
Roland Häder [Wed, 1 Nov 2017 21:53:22 +0000 (22:53 +0100)]
Please cherry-pick:
- ops, wrong name, "s" needs to be added to EJB name

Signed-off-by: Roland Häder <roland@mxchange.org>
7 years agoMaybe cherry-pick:
Roland Häder [Wed, 1 Nov 2017 21:37:17 +0000 (22:37 +0100)]
Maybe cherry-pick:
- renamed <product|category>Title to <product|category>I18nKey

Signed-off-by: Roland Häder <roland@mxchange.org>
7 years agoPlease cherry-pick:
Roland Häder [Wed, 1 Nov 2017 21:35:35 +0000 (22:35 +0100)]
Please cherry-pick:
- added EJBs for headquarters entity, general and administrative
- added method for updating all "phone created" timestamps in above entity
- renamed entity class name in persistence.xml

Signed-off-by: Roland Häder <roland@mxchange.org>
7 years agoMaybe cherry-pick:
Roland Häder [Sun, 29 Oct 2017 22:56:40 +0000 (23:56 +0100)]
Maybe cherry-pick:
- i18n key is localizable, not the direct category title

Signed-off-by: Roland Häder <roland@mxchange.org>
7 years agoMaybe cherry-pick:
Roland Häder [Sat, 28 Oct 2017 18:25:39 +0000 (20:25 +0200)]
Maybe cherry-pick:
- added check for product's manufacturer/producer instance which is a BasicData
  implementation
- if it is set, it will be turned into a managed instance for preventing
  double-persisting

Signed-off-by: Roland Häder <roland@mxchange.org>
7 years agoMaybe cherry-pick:
Roland Häder [Mon, 23 Oct 2017 21:11:35 +0000 (23:11 +0200)]
Maybe cherry-pick:
- added EJBs for product categories and generic products, each with general and
  administrative purposes
- implemented all methods
- added generic jproduct-core specific, abstract class with first method
  "createManaged(category)"

Signed-off-by: Roland Häder <roland@mxchange.org>
7 years agoPlease cherry-pick:
Roland Häder [Tue, 17 Oct 2017 23:36:09 +0000 (01:36 +0200)]
Please cherry-pick:
- renamed more from Company to Business (jcontacts-business-core was the name
  of the project anyway)

Signed-off-by: Roland Häder <roland@mxchange.org>
7 years agoDon't cherry-pick:
Roland Häder [Tue, 17 Oct 2017 23:29:34 +0000 (01:29 +0200)]
Don't cherry-pick:
- renamed package to fit other projects

Signed-off-by: Roland Häder <roland@mxchange.org>
7 years agoDon't cherry-pick:
Roland Häder [Tue, 17 Oct 2017 21:41:17 +0000 (23:41 +0200)]
Don't cherry-pick:
- added EJBs for administrative and general purposes for receipt items
- implemented all business methods

Signed-off-by: Roland Häder <roland@mxchange.org>
7 years agoPlease cherry-pick:
Roland Häder [Tue, 17 Oct 2017 20:42:13 +0000 (22:42 +0200)]
Please cherry-pick:
- renamed named query

Signed-off-by: Roland Häder <roland@mxchange.org>
7 years agoDon't cherry-pick:
Roland Häder [Tue, 17 Oct 2017 20:34:29 +0000 (22:34 +0200)]
Don't cherry-pick:
- fixed imports

Signed-off-by: Roland Häder <roland@mxchange.org>
7 years agoPlease cherry-pick:
Roland Häder [Tue, 17 Oct 2017 20:33:22 +0000 (22:33 +0200)]
Please cherry-pick:
- removed find*ById() method + fixed interface name(s)

Signed-off-by: Roland Häder <roland@mxchange.org>
7 years agoPlease cherry-pick:
Roland Häder [Tue, 17 Oct 2017 20:30:29 +0000 (22:30 +0200)]
Please cherry-pick:
- renamed employee as there will be no other employees
- added administrative country EJB due to remote interface separation
- removed find*ById() as this was causing load on EJB container which can be
  prevented by application's JCache
- fixed persistence unit as entities have been moved

Signed-off-by: Roland Häder <roland@mxchange.org>
7 years agoMaybe repeat:
Roland Häder [Sat, 14 Oct 2017 13:39:58 +0000 (15:39 +0200)]
Maybe repeat:
- added new dependency jproduct-lib JAR as receipt items will have a reference
  to GenericProduct entity

Signed-off-by: Roland Häder <roland@mxchange.org>
7 years agoDon't cherry-pick:
Roland Häder [Sat, 14 Oct 2017 13:38:58 +0000 (15:38 +0200)]
Don't cherry-pick:
- fixed imports as an own package 'receipt' has been added
- fixed entity class name in persistence unit

Signed-off-by: Roland Häder <roland@mxchange.org>
7 years agoPlease cherry-pick:
Roland Häder [Sat, 14 Oct 2017 13:32:51 +0000 (15:32 +0200)]
Please cherry-pick:
- added createManaged() methods for BranchOffice and HeadquartersData entities
- added helper method setAllOpeningTimesCreated() which sets "created" entity
  property of all opening times
- renamed EJB [admin]companyEmployee to only plain [admin]employee (enough),
  remember to write the "e" upper-case in adminEmployee
- added EJB for opening times
- added EJB for departments
- updated persistence unit with new entity class' name

Signed-off-by: Roland Häder <roland@mxchange.org>
7 years agoPlease cherry-pick:
Roland Häder [Sun, 24 Sep 2017 13:34:12 +0000 (15:34 +0200)]
Please cherry-pick:
- renamed setAllContactPhoneEntriesCreated() -> setAllPhoneEntriesCreated()
- added similar methods for company basic data and branch offices
- also their phone number's created timestamps must be set prior persisting

Signed-off-by: Roland Häder <roland@mxchange.org>
7 years agoDon't cherry-pick:
Roland Häder [Sat, 23 Sep 2017 12:09:37 +0000 (14:09 +0200)]
Don't cherry-pick:
- added lookup attribute to @EJB annotation as some lookup did not work as
  expected and this is "guranteed" to work (if you have the right JNDI name,
  of course)
- plus all these EJBs can now be more distributed over separate EJB modules
  allowing a distributed operation over several data centers, awsome words,
  right? ;-)

Signed-off-by: Roland Häder <roland@mxchange.org>
7 years agoPlease repeat/cherry-pick:
Roland Häder [Sat, 23 Sep 2017 12:06:24 +0000 (14:06 +0200)]
Please repeat/cherry-pick:
- added lookup attribute to @EJB annotation as some lookup did not work as
  expected and this is "guranteed" to work (if you have the right JNDI name,
  of course)
- plus all these EJBs can now be more distributed over separate EJB modules
  allowing a distributed operation over several data centers, awsome words,
  right? ;-)
- sorted members in base database bean

Signed-off-by: Roland Häder <roland@mxchange.org>
7 years agoDon't cherry-pick:
Roland Häder [Fri, 22 Sep 2017 22:21:32 +0000 (00:21 +0200)]
Don't cherry-pick:
- need to change java.util.Calendar (bye bye) to java.util.Date in favour of
  PrimeFaces' p:calendar [!] tag

Signed-off-by: Roland Häder <roland@mxchange.org>
7 years agoPlease cherry-pick:
Roland Häder [Fri, 22 Sep 2017 22:20:50 +0000 (00:20 +0200)]
Please cherry-pick:
- need to change java.util.Calendar (bye bye) to java.util.Date in favour of
  PrimeFaces' p:calendar [!] tag

Signed-off-by: Roland Häder <roland@mxchange.org>
7 years agoDon't cherry-pick:
Roland Häder [Fri, 22 Sep 2017 21:06:03 +0000 (23:06 +0200)]
Don't cherry-pick:
- ops, added missing list size to format() parameter list

Signed-off-by: Roland Häder <roland@mxchange.org>
7 years agoDon't cherry-pick:
Roland Häder [Tue, 19 Sep 2017 20:36:12 +0000 (22:36 +0200)]
Don't cherry-pick:
- added EJB for receipts with all current business methods implemented

Signed-off-by: Roland Häder <roland@mxchange.org>
7 years agoPlease cherry-pick:
Roland Häder [Tue, 19 Sep 2017 20:35:27 +0000 (22:35 +0200)]
Please cherry-pick:
- implemented business method findBranchOfficeById()
- fixed mobileProvider EJB name (which is part of portable name)

Signed-off-by: Roland Häder <roland@mxchange.org>
7 years agoPlease cherry-pick:
Roland Häder [Tue, 12 Sep 2017 23:14:39 +0000 (01:14 +0200)]
Please cherry-pick:
- fixed imports, new class names

Signed-off-by: Roland Häder <roland@mxchange.org>
7 years agoPlease cherry-pick:
Roland Häder [Sun, 10 Sep 2017 18:01:03 +0000 (20:01 +0200)]
Please cherry-pick:
- added more 'final' where possible, it is fine here as they are local variables

Signed-off-by: Roland Häder <roland@mxchange.org>
7 years agoPlease cherry-pick:
Roland Häder [Sun, 10 Sep 2017 13:58:45 +0000 (15:58 +0200)]
Please cherry-pick:
- cleaned up imports
- fixed EJB names

Signed-off-by: Roland Häder <roland@mxchange.org>
7 years agoMaybe cherry-pick:
Roland Häder [Sat, 9 Sep 2017 15:47:52 +0000 (17:47 +0200)]
Maybe cherry-pick:
- removed unused imports as the EJB is now in same package
- prevented possible NPE on checking contact.getContactId() < 1

Signed-off-by: Roland Häder <roland@mxchange.org>
7 years agoPlease cherry-pick:
Roland Häder [Sat, 9 Sep 2017 12:49:54 +0000 (14:49 +0200)]
Please cherry-pick:
- re-package season has started: now all core project's entity packages do
  always have following format: tld.domain.project.model.foo.SomeFoo;
- also fixed persistence unit

Signed-off-by: Roland Häder <roland@mxchange.org>
7 years agoPlease cherry-pick:
Roland Häder [Sat, 9 Sep 2017 12:18:10 +0000 (14:18 +0200)]
Please cherry-pick:
- introduced isSameCompanyNameAdded() which encapsulates checking for if a
  company name has already been used. This is, together with the thrown checked
  exception a last effort to prevent bad bad SqlException or any other
  "low-level" exception as they are more severage than this.
- thumb of a rule: always pre-validate if all conditions are met (return "okay")
  prior doing risky things where uncontrolled exceptions may be thrown.
- make company-owner (User), founder (Employee) and contact person (dito)
  managed before persisting the whole BasicData instance as this makes sure that
  no duplicates will end up in database

Signed-off-by: Roland Häder <roland@mxchange.org>
7 years agoPlease cherry-pick:
Roland Häder [Sat, 9 Sep 2017 11:35:31 +0000 (13:35 +0200)]
Please cherry-pick:
- removed explicit flush() on entity manager as this hurts performance + may
  cause trouble when other entities (concurrently) are not "ready to be flushed)
- implemented addBranchOffice() + added missing public constructor
- added private method isBranchOfficeFound() which uses the general EJB for
  retrieving whole branch office list
- added protected getManaged() for Contact and Country instances
- renamed companyDataId -> basicDataId

Signed-off-by: Roland Häder <roland@mxchange.org>
7 years agoPlease cherry-pick:
Roland Häder [Tue, 5 Sep 2017 20:03:36 +0000 (22:03 +0200)]
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>
7 years agoPlease cherry-pick:
Roland Häder [Sat, 26 Aug 2017 22:17:51 +0000 (00:17 +0200)]
Please cherry-pick:
- renamed method

Signed-off-by: Roland Häder <roland@mxchange.org>
7 years agoPlease cherry-pick/rename:
Roland Häder [Sat, 26 Aug 2017 22:02:17 +0000 (00:02 +0200)]
Please cherry-pick/rename:
- added admin/general company employee session bean and implemented all methods
- implemented isCompanyNameUsed() and used dependency injection for injecting
  other EJB

Signed-off-by: Roland Häder <roland@mxchange.org>
7 years agoPre cherry-pick: jcontacts-business-core/lib has changed again ...
Roland Häder [Sat, 19 Aug 2017 18:57:47 +0000 (20:57 +0200)]
Pre cherry-pick: jcontacts-business-core/lib has changed again ...

Signed-off-by: Roland Häder <roland@mxchange.org>
7 years agoupdated jar(s)
Roland Häder [Sat, 19 Aug 2017 18:56:42 +0000 (20:56 +0200)]
updated jar(s)

Signed-off-by: Roland Häder <roland@mxchange.org>
7 years agoupdated project properties file ... strange, again
Roland Häder [Sat, 19 Aug 2017 13:39:51 +0000 (15:39 +0200)]
updated project properties file ... strange, again

Signed-off-by: Roland Häder <roland@mxchange.org>
7 years agoupdated jar(s)
Roland Häder [Fri, 18 Aug 2017 22:45:27 +0000 (00:45 +0200)]
updated jar(s)

Signed-off-by: Roland Häder <roland@mxchange.org>
7 years agoupdated jar(s)
Roland Häder [Fri, 18 Aug 2017 21:03:09 +0000 (23:03 +0200)]
updated jar(s)

Signed-off-by: Roland Häder <roland@mxchange.org>
7 years agoupdated jar(s)
Roland Häder [Thu, 17 Aug 2017 20:51:36 +0000 (22:51 +0200)]
updated jar(s)

Signed-off-by: Roland Häder <roland@mxchange.org>
7 years agoupdated persistence unit
Roland Häder [Thu, 17 Aug 2017 20:45:58 +0000 (22:45 +0200)]
updated persistence unit

Signed-off-by: Roland Häder <roland@mxchange.org>
7 years agoupdated jar(s)
Roland Häder [Thu, 17 Aug 2017 20:45:14 +0000 (22:45 +0200)]
updated jar(s)

Signed-off-by: Roland Häder <roland@mxchange.org>
7 years agoupdated jar(s)
Roland Häder [Thu, 17 Aug 2017 20:10:11 +0000 (22:10 +0200)]
updated jar(s)

Signed-off-by: Roland Häder <roland@mxchange.org>
7 years agoupdated jar(s)
Roland Häder [Tue, 15 Aug 2017 20:51:35 +0000 (22:51 +0200)]
updated jar(s)

Signed-off-by: Roland Häder <roland@mxchange.org>
7 years agoAlso needs to be moved as jcontact-business-core has changed (good convention).
Roland Häder [Thu, 10 Aug 2017 20:47:54 +0000 (22:47 +0200)]
Also needs to be moved as jcontact-business-core has changed (good convention).

Signed-off-by: Roland Häder <roland@mxchange.org>
7 years agoupdated jar(s)
Roland Häder [Thu, 10 Aug 2017 19:47:53 +0000 (21:47 +0200)]
updated jar(s)

Signed-off-by: Roland Häder <roland@mxchange.org>
7 years agoupdated jar(s)
Roland Häder [Sun, 6 Aug 2017 21:22:37 +0000 (23:22 +0200)]
updated jar(s)

Signed-off-by: Roland Häder <roland@mxchange.org>
7 years agoupdated jar(s)
Roland Häder [Sun, 6 Aug 2017 19:45:15 +0000 (21:45 +0200)]
updated jar(s)

Signed-off-by: Roland Häder <roland@mxchange.org>
7 years agoupdated jar(s)
Roland Häder [Sat, 5 Aug 2017 13:22:04 +0000 (15:22 +0200)]
updated jar(s)

Signed-off-by: Roland Häder <roland@mxchange.org>
7 years agoupdated jar(s)
Roland Häder [Mon, 31 Jul 2017 20:31:32 +0000 (22:31 +0200)]
updated jar(s)

Signed-off-by: Roland Häder <roland@mxchange.org>
7 years agoupdated jar(s)
Roland Häder [Sun, 30 Jul 2017 20:12:50 +0000 (22:12 +0200)]
updated jar(s)

Signed-off-by: Roland Häder <roland@mxchange.org>
7 years agoupdated jar(s)
Roland Häder [Sun, 30 Jul 2017 19:48:45 +0000 (21:48 +0200)]
updated jar(s)

Signed-off-by: Roland Häder <roland@mxchange.org>
7 years agoPlease cherry-pick (when needed):
Roland Häder [Thu, 27 Jul 2017 21:12:48 +0000 (23:12 +0200)]
Please cherry-pick (when needed):
- duplicated BusinessDataSessionBean as (correctly) AdminBusinessDataSessionBean
- implemented generic business data EJB with first method which returns an
  entity for given id number or throws a proper exception if not found

Signed-off-by: Roland Häder <roland@mxchange.org>
7 years agoupdated jar(s)
Roland Häder [Thu, 27 Jul 2017 21:10:33 +0000 (23:10 +0200)]
updated jar(s)

Signed-off-by: Roland Häder <roland@mxchange.org>