]> git.mxchange.org Git - jfinancials-ejb.git/log
jfinancials-ejb.git
18 months agoPlease cherry-pick:
Roland Häder [Thu, 20 Oct 2022 03:44:06 +0000 (05:44 +0200)]
Please cherry-pick:
- added check for parameter "baseUrl" (null and empty)

18 months agoupdated jar(s)
Roland Häder [Thu, 20 Oct 2022 02:32:49 +0000 (04:32 +0200)]
updated jar(s)

Signed-off-by: Roland Häder <roland@mxchange.org>
18 months agoupdated jar(s)
Roland Häder [Wed, 19 Oct 2022 12:44:03 +0000 (14:44 +0200)]
updated jar(s)

Signed-off-by: Roland Häder <roland@mxchange.org>
18 months agoupdated jar(s)
Roland Häder [Wed, 19 Oct 2022 11:49:43 +0000 (13:49 +0200)]
updated jar(s)

Signed-off-by: Roland Häder <roland@mxchange.org>
18 months agoupdated jar(s)
Roland Häder [Tue, 18 Oct 2022 14:02:57 +0000 (16:02 +0200)]
updated jar(s)

Signed-off-by: Roland Häder <roland@mxchange.org>
19 months agoupdated jar(s)
Roland Häder [Wed, 12 Oct 2022 23:05:34 +0000 (01:05 +0200)]
updated jar(s)

Signed-off-by: Roland Häder <roland@mxchange.org>
19 months agoupdated jar(s)
Roland Häder [Fri, 7 Oct 2022 18:37:44 +0000 (20:37 +0200)]
updated jar(s)

Signed-off-by: Roland Häder <roland@mxchange.org>
19 months agoupdated references
Roland Häder [Fri, 7 Oct 2022 18:05:28 +0000 (20:05 +0200)]
updated references

Signed-off-by: Roland Häder <roland@mxchange.org>
19 months agoupdated jar(s)
Roland Häder [Fri, 7 Oct 2022 18:04:33 +0000 (20:04 +0200)]
updated jar(s)

Signed-off-by: Roland Häder <roland@mxchange.org>
19 months agoPlease cherry-pick:
Roland Häder [Thu, 6 Oct 2022 14:40:23 +0000 (16:40 +0200)]
Please cherry-pick:
- updated references to packages and classes

19 months agoPlease cherry-pick:
Roland Häder [Sun, 2 Oct 2022 14:28:47 +0000 (16:28 +0200)]
Please cherry-pick:
- first check id number, then address

19 months agoUpdated JAR(s)
Roland Häder [Fri, 23 Sep 2022 16:49:12 +0000 (18:49 +0200)]
Updated JAR(s)

Signed-off-by: Roland Häder <roland@mxchange.org>
19 months agoPlease cherry-pick:
Roland Häder [Fri, 23 Sep 2022 16:47:32 +0000 (18:47 +0200)]
Please cherry-pick:
- e.g. lockUserAccount() changes userAccountStatus to LOCKED which results in
  Objects.equals() to return false even when it is the same user which causes
  an exception being thrown.
- checking the userId only won't be enough for an other use-case where a new
  user with same data is being created

Signed-off-by: Roland Häder <roland@mxchange.org>
19 months agoUpdated copyright year
Roland Häder [Fri, 23 Sep 2022 12:53:40 +0000 (14:53 +0200)]
Updated copyright year

Signed-off-by: Roland Häder <roland@mxchange.org>
19 months agoPlease cherry-pick:
Roland Häder [Thu, 22 Sep 2022 17:20:23 +0000 (19:20 +0200)]
Please cherry-pick:
- registerBean is no longer used here (old, removed code)
- baseUrl should never be NULL or empty
- user.userContact must be valid

20 months agoContinued:
Roland Häder [Thu, 15 Sep 2022 05:51:41 +0000 (07:51 +0200)]
Continued:
- updated Commons Lang3 to 3.12.0
- updated JAR(s)

Signed-off-by: Roland Häder <roland@mxchange.org>
20 months agoDon't cherry-pick:
Roland Häder [Thu, 15 Sep 2022 03:37:26 +0000 (05:37 +0200)]
Don't cherry-pick:
- added missing JAR(s)

Signed-off-by: Roland Häder <roland@mxchange.org>
20 months agoUpdated jar(s)
Roland Häder [Wed, 14 Sep 2022 06:41:23 +0000 (08:41 +0200)]
Updated jar(s)

Signed-off-by: Roland Häder <roland@mxchange.org>
20 months agoUpdated jar(s)
Roland Häder [Wed, 14 Sep 2022 06:12:52 +0000 (08:12 +0200)]
Updated jar(s)

Signed-off-by: Roland Häder <roland@mxchange.org>
22 months agoPlease cherry-pick:
Roland Häder [Sat, 25 Jun 2022 13:08:07 +0000 (15:08 +0200)]
Please cherry-pick:
- private methods should not have exceptions thrown because these cases cannot
  be unit-tested (or very hard)
- normally only public, package-level or protected methods throw exceptions
  and have made sure that e.g. null-references won't get through to private
  methods

Signed-off-by: Roland Häder <roland@mxchange.org>
22 months agoPlease cherry-pick:
Roland Häder [Sat, 25 Jun 2022 12:57:38 +0000 (14:57 +0200)]
Please cherry-pick:
- country.countryCode and countryI18nKey could be NULL here (independently from
  each other) and needs checking BEFORE any method on them is being executed

Signed-off-by: Roland Häder <roland@mxchange.org>
22 months agoupdated jar(s)
Roland Häder [Thu, 23 Jun 2022 11:08:59 +0000 (13:08 +0200)]
updated jar(s)

Signed-off-by: Roland Häder <roland@mxchange.org>
22 months agoonly these files are text/plain
Roland Häder [Tue, 21 Jun 2022 23:15:39 +0000 (01:15 +0200)]
only these files are text/plain

Signed-off-by: Roland Häder <roland@mxchange.org>
22 months agoupdated .gitattributes
Roland Häder [Tue, 21 Jun 2022 23:13:06 +0000 (01:13 +0200)]
updated .gitattributes

Signed-off-by: Roland Häder <roland@mxchange.org>
22 months agoupdated/added jar(s)
Roland Häder [Tue, 21 Jun 2022 23:10:20 +0000 (01:10 +0200)]
updated/added jar(s)

Signed-off-by: Roland Häder <roland@mxchange.org>
23 months agoUpdated jar(s)
Roland Häder [Mon, 30 May 2022 09:00:46 +0000 (11:00 +0200)]
Updated jar(s)

Signed-off-by: Roland Häder <roland@mxchange.org>
3 years agoDon't cherry-pick:
Roland Häder [Wed, 20 May 2020 18:37:11 +0000 (20:37 +0200)]
Don't cherry-pick:
- always set EntryUpdated in the managed (and merged) instance, as the
  copyFooData() methods do no longer copy timestamps

Signed-off-by: Roland Häder <roland@mxchange.org>
3 years agoProduct-only:
Roland Häder [Wed, 20 May 2020 18:36:39 +0000 (20:36 +0200)]
Product-only:
- always set EntryUpdated in the managed (and merged) instance, as the
  copyFooData() methods do no longer copy timestamps

Signed-off-by: Roland Häder <roland@mxchange.org>
3 years agoPlease cherry-pick:
Roland Häder [Wed, 20 May 2020 18:34:41 +0000 (20:34 +0200)]
Please cherry-pick:
- always set EntryUpdated in the managed (and merged) instance, as the
  copyFooData() methods do no longer copy timestamps

Signed-off-by: Roland Häder <roland@mxchange.org>
3 years agoProduct-only:
Roland Häder [Tue, 19 May 2020 23:31:42 +0000 (01:31 +0200)]
Product-only:
- let's use createManaged() where possible to avoid some duplicate code. It may
  look a bit to much encapsulation or to fine-granulated, the createManaged()
  method contains some validation on the entity instance and that is a good
  reason to have it encapsulated away.

Signed-off-by: Roland Häder <roland@mxchange.org>
3 years agoPlease cherry-pick:
Roland Häder [Tue, 19 May 2020 23:28:45 +0000 (01:28 +0200)]
Please cherry-pick:
- let's use createManaged() where possible to avoid some duplicate code. It may
  look a bit to much encapsulation or to fine-granulated, the createManaged()
  method contains some validation on the entity instance and that is a good
  reason to have it encapsulated away.

Signed-off-by: Roland Häder <roland@mxchange.org>
4 years agoPlease cherry-pick:
Roland Häder [Mon, 11 May 2020 02:04:04 +0000 (04:04 +0200)]
Please cherry-pick:
- updateFooEntity() must not allow null primary keys or those below 1

Signed-off-by: Roland Häder <roland@mxchange.org>
4 years agoPlease cherry-pick:
Roland Häder [Mon, 11 May 2020 00:48:27 +0000 (02:48 +0200)]
Please cherry-pick:
- departments, headquarters and branch offices cannot have a relation to
  employees as employess have a relation already to them. So if comparison of
  those entities come, this ends up in an endless loop with a stack overflow.
- the fix here is a bit simple and also a bit complex: relate those 3 entities
  to contacts (jcontacts-core.jar) and look in all employees related to the
  department, headquarter or branch office who have an equal contact record

Signed-off-by: Roland Häder <roland@mxchange.org>
4 years agoPlease cherry-pick:
Roland Häder [Sun, 10 May 2020 04:05:43 +0000 (06:05 +0200)]
Please cherry-pick:
- implemented business method updateDepartment() including mergeDepartmentData()
  which does the actual merger and sets entry-updated timestamp
- renamed getDetached() to mergeFooData() as "get" is strictly for getters
- TODO: Rename setFoo() to something else!
- sorted members (automatically by NetBeans IDE)

Signed-off-by: Roland Häder <roland@mxchange.org>
4 years agoDon't cherry-pick:
Roland Häder [Sun, 26 Apr 2020 19:33:56 +0000 (21:33 +0200)]
Don't cherry-pick:
- updated method names
- fetching user's or receipt's receipt items can now be done without any extra
  JPQL, simply by invoking fetchAllReceiptItems() and iterating over all and
  taking matching elements into list

Signed-off-by: Roland Häder <roland@mxchange.org>
4 years agoPlease cherry-pick:
Roland Häder [Sun, 26 Apr 2020 19:32:17 +0000 (21:32 +0200)]
Please cherry-pick:
- updated method names

Signed-off-by: Roland Häder <roland@mxchange.org>
4 years agoBonus-card:
Roland Häder [Sun, 26 Apr 2020 19:30:34 +0000 (21:30 +0200)]
Bonus-card:
- added jbonuscard-<core|lib>.jar references

Signed-off-by: Roland Häder <roland@mxchange.org>
4 years agoProduct-only:
Roland Häder [Sat, 25 Apr 2020 18:37:02 +0000 (20:37 +0200)]
Product-only:
- removed no longer used business method, should be done in backing bean (web
  container)
- renamed method fetchAllProducts() to fetchAllGenericProducts()
- renamed method fetchAllCategories() to fetchAllProductCategories()

Signed-off-by: Roland Häder <roland@mxchange.org>
4 years agoProduct-only:
Roland Häder [Sat, 25 Apr 2020 16:25:40 +0000 (18:25 +0200)]
Product-only:
- updating an entity doesn't work with a persist() invocation, not at least
  what JPA 2.1 says. As here JPA 2.1 is honored and not a specific
  implementation like Hibernate is, persist() will lead to a double entry.
  You need to use find() + copy all fields + merge() to archive this the proper
  way under JPA 2.1
- updated method invocations due to updated jproduct-core.jar

Signed-off-by: Roland Häder <roland@mxchange.org>
4 years agoDon't cherry-pick:
Roland Häder [Fri, 24 Apr 2020 21:16:12 +0000 (23:16 +0200)]
Don't cherry-pick:
- set foo-updated on the detached instance, not on managed
- renamed variables

Signed-off-by: Roland Häder <roland@mxchange.org>
4 years agoProduct-only:
Roland Häder [Fri, 24 Apr 2020 21:15:16 +0000 (23:15 +0200)]
Product-only:
- forgot to set productEntryUpdated

Signed-off-by: Roland Häder <roland@mxchange.org>
4 years agoDon't cherry-pick:
Roland Häder [Fri, 24 Apr 2020 19:49:31 +0000 (21:49 +0200)]
Don't cherry-pick:
- avoided local copy of List instance
- if a receiptItem is updated, no matter if discount or refund, check it. Also
  then only rely on the primary key

Signed-off-by: Roland Häder <roland@mxchange.org>
4 years agoDon't cherry-pick:
Roland Häder [Fri, 24 Apr 2020 16:20:57 +0000 (18:20 +0200)]
Don't cherry-pick:
- added jcoreee.jar

Signed-off-by: Roland Häder <roland@mxchange.org>
4 years agoDon't cherry-pick:
Roland Häder [Fri, 24 Apr 2020 16:09:40 +0000 (18:09 +0200)]
Don't cherry-pick:
- renamed BaseFinancialsProjectEnterpriseBean to
  BaseFinancialsReceiptEnterpriseBean (project-specific)
- introduced BaseFinancialsReceiptItemEnterpriseBean for generalizing some
  receipt-item related methods
- implemented business method updateReceiptItem()

Signed-off-by: Roland Häder <roland@mxchange.org>
4 years agoDon't cherry-pick:
Roland Häder [Fri, 24 Apr 2020 15:03:39 +0000 (17:03 +0200)]
Don't cherry-pick:
- ops, don't update itemEntryCreated in update phase, why is that still possible?!
- set itemEntryUpdated when update business method is invoked

Signed-off-by: Roland Häder <roland@mxchange.org>
4 years agoPlease cherry-pick:
Roland Häder [Fri, 24 Apr 2020 01:34:34 +0000 (03:34 +0200)]
Please cherry-pick:
- implemented business method updateBranchOffice()
- added protected method mergeBranchOfficeData()

Signed-off-by: Roland Häder <roland@mxchange.org>
4 years agoPlease cherry-pick:
Roland Häder [Fri, 24 Apr 2020 00:15:44 +0000 (02:15 +0200)]
Please cherry-pick:
- further splitted phone (means fax & land-line numbers) from mobile numbers

Signed-off-by: Roland Häder <roland@mxchange.org>
4 years agoContinued:
Roland Häder [Thu, 23 Apr 2020 19:59:42 +0000 (21:59 +0200)]
Continued:
- fixed JPA persistence unit file, RoyalityCard enity was missing

Signed-off-by: Roland Häder <roland@mxchange.org>
4 years agoProduct-only:
Roland Häder [Sun, 19 Apr 2020 06:27:51 +0000 (08:27 +0200)]
Product-only:
- set productEntryUpdated when update business method has finished
- detachedProduct is misleading as it is a managed (JPA) instance

Signed-off-by: Roland Häder <roland@mxchange.org>
4 years agoPlease cherry-pick:
Roland Häder [Sun, 19 Apr 2020 03:16:41 +0000 (05:16 +0200)]
Please cherry-pick:
- added missing documentation links
- cleanups(?)

Signed-off-by: Roland Häder <roland@mxchange.org>
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>
4 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>
4 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>
5 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>
5 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>
5 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>
6 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>
6 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>
6 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>
6 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>