]> git.mxchange.org Git - jjobs-mailer-ejb.git/log
jjobs-mailer-ejb.git
4 years agoPlease cherry-pick:
Roland Häder [Thu, 20 Feb 2020 03:43:34 +0000 (04:43 +0100)]
Please cherry-pick:
- maybe required for NetBeans 8.1? I still have not yet upgraded it

Signed-off-by: Roland Häder <roland@mxchange.org>
4 years agoUpdated jar(s)
Roland Häder [Thu, 6 Feb 2020 21:24:12 +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:34 +0000 (21:20 +0100)]
removed invalid juser-core reference

Signed-off-by: Roland Häder <roland@mxchange.org>
4 years agoUpdated jar(s)
Roland Häder [Sat, 1 Feb 2020 01:31:11 +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:56:59 +0000 (17:56 +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 10:46:08 +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:18 +0000 (00:31 +0100)]
Updated jar(s)

Signed-off-by: Roland Häder <roland@mxchange.org>
5 years agoPlease cherry-pick:
Roland Häder [Thu, 18 Jul 2019 03:46:01 +0000 (05:46 +0200)]
Please cherry-pick:
- added final modifier because these references shall never be changed
- used interface Context as type (updated signature of inherited method)

Signed-off-by: Roland Häder <roland@mxchange.org>
5 years agoPlease cherry-pick:
Roland Häder [Wed, 17 Jul 2019 21:18:01 +0000 (23:18 +0200)]
Please cherry-pick:
- added final modifier as the object reference shall never be changed

Signed-off-by: Roland Häder <roland@mxchange.org>
5 years agoPlease cherry-pick:
Roland Häder [Mon, 28 Jan 2019 16:58:20 +0000 (17:58 +0100)]
Please cherry-pick:
- added missing license file for Apache Velocity

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 [Thu, 26 Apr 2018 20:54:23 +0000 (22:54 +0200)]
Please cherry-pick:
- made more local variables final (possible here) which gives the Java compiler
  hints to optimize the binary a bit more
- always invoke super() until you have reach the most-super (highest class)
  then there is no need for it as java.lang.Object is then next

Signed-off-by: Roland Häder <roland@mxchange.org>
5 years agoContinued:
Roland Häder [Tue, 13 Mar 2018 21:58:42 +0000 (22:58 +0100)]
Continued:
- changed license to GNU Affero GPLv3
- changed copyright to the Free Software Foundation

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

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

Signed-off-by: Roland Häder <roland@mxchange.org>
5 years agoUpdated jar(s)
Roland Häder [Sat, 22 Dec 2018 01:29:51 +0000 (02:29 +0100)]
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:48 +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:26 +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:02:56 +0000 (23:02 +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:35 +0000 (22:51 +0200)]
updated jar(s)

Signed-off-by: Roland Häder <roland@mxchange.org>
7 years agohas been renamed, maybe fixes exception?
Roland Häder [Thu, 17 Aug 2017 20:20:55 +0000 (22:20 +0200)]
has been renamed, maybe fixes exception?

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

Signed-off-by: Roland Häder <roland@mxchange.org>
7 years agoPlease cherry-pick:
Roland Häder [Thu, 17 Aug 2017 18:20:09 +0000 (20:20 +0200)]
Please cherry-pick:
- added required JNDI name [part] and description for developers

Signed-off-by: Roland Häder <roland@mxchange.org>
7 years agoupdated jar(s)
Roland Häder [Sun, 6 Aug 2017 21:22:35 +0000 (23:22 +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:21:57 +0000 (15:21 +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:30 +0000 (22:31 +0200)]
updated jar(s)

Signed-off-by: Roland Häder <roland@mxchange.org>
7 years agoadded .gitattributes where missing
Roland Häder [Wed, 26 Jul 2017 17:43:37 +0000 (19:43 +0200)]
added .gitattributes where missing

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

Signed-off-by: Roland Häder <roland@mxchange.org>
7 years agoPlease cherry-pick:
Roland Häder [Sun, 23 Jul 2017 08:57:35 +0000 (10:57 +0200)]
Please cherry-pick:
- added mailer.from which is mandadory

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

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

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

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

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

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

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

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

Signed-off-by: Roland Häder <roland@mxchange.org>
7 years agoPlease cherry-pick:
Roland Häder [Sun, 9 Jul 2017 10:50:14 +0000 (12:50 +0200)]
Please cherry-pick:
- also log class' name

Signed-off-by: Roland Häder <roland@mxchange.org>
7 years agoremoved genfiles.properties
Roland Häder [Sat, 8 Jul 2017 18:42:29 +0000 (20:42 +0200)]
removed genfiles.properties

Signed-off-by: Roland Häder <roland@mxchange.org>
7 years agochanged to jjobs
Roland Häder [Sat, 8 Jul 2017 18:12:23 +0000 (20:12 +0200)]
changed to jjobs

Signed-off-by: Roland Häder <roland@mxchange.org>
7 years agofixed JAR reference's paths (opps)
Roland Häder [Sat, 8 Jul 2017 18:02:24 +0000 (20:02 +0200)]
fixed JAR reference's paths (opps)

Signed-off-by: Roland Häder <roland@mxchange.org>
7 years agoPlease cherry-pick:
Roland Häder [Sat, 8 Jul 2017 17:16:55 +0000 (19:16 +0200)]
Please cherry-pick:
- new project 'addressbook-mailer-ejb' initialized from addressbook-ejb
- this includes one message-driven bean and a singleton bean
- the message-driven bean accepts "wrapper" objects per JMS from outside EJB
- the singleton bean is then the "backend" which loads templates and delivers
  the mail
- this split from general EJB project has the benefit of easier distributing
  (cluster) load
- a lot libs were no longer needed
- added velocity engine (from addressbook-mailer) as library

Signed-off-by: Roland Häder <roland@mxchange.org>
7 years agoupdated jar(s)
Roland Häder [Sat, 8 Jul 2017 17:14:50 +0000 (19:14 +0200)]
updated jar(s)

Signed-off-by: Roland Häder <roland@mxchange.org>
7 years agoupdated jar(s)
Roland Häder [Sat, 8 Jul 2017 16:59:49 +0000 (18:59 +0200)]
updated jar(s)

Signed-off-by: Roland Häder <roland@mxchange.org>
7 years agoPlease cherry-pick:
Roland Häder [Fri, 7 Jul 2017 22:27:02 +0000 (00:27 +0200)]
Please cherry-pick:
- rewrote email delivery as EmailDeliveryWrapper() has now a constructor with all required fields
- also saved one parameter (one lesser = easier code)

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

Signed-off-by: Roland Häder <roland@mxchange.org>
7 years agoPlease cherry-pick:
Roland Häder [Thu, 6 Jul 2017 21:56:04 +0000 (23:56 +0200)]
Please cherry-pick:
- 'login' is to generic, there are maybe other logins around than just for users only

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

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

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

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

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

Signed-off-by: Roland Häder <roland@mxchange.org>
7 years agoPlease cherry-pick:
Roland Häder [Thu, 6 Jul 2017 18:54:50 +0000 (20:54 +0200)]
Please cherry-pick:
- these entity hints were maybe wrong because a List<POJI> is being returned and
  not POJI alone.

Signed-off-by: Roland Häder <roland@mxchange.org>
7 years agoPlease cherry-pick:
Roland Häder [Mon, 26 Jun 2017 22:21:47 +0000 (00:21 +0200)]
Please cherry-pick:
- checked for this.session as it is required, too

Signed-off-by: Roland Häder <roland@mxchange.org>
7 years agoDon't cherry-pick:
Roland Häder [Mon, 26 Jun 2017 22:17:58 +0000 (00:17 +0200)]
Don't cherry-pick:
- need to provide email queues for these EJBs as they will attempt to call
  sendEmail() which would then throw a NPE:

----------------------------
Caused by: java.lang.NullPointerException
        at org.mxchange.jfinancials.database.BaseFinancialsDatabaseBean.sendEmail(BaseFinancialsDatabaseBean.java:555)
        at org.mxchange.jusercore.model.user.register.FinancialsUserRegistrationSessionBean.registerUser(FinancialsUserRegistrationSessionBean.java:208)
----------------------------

However, I will expand sendEmail() a bit to verify that the field session is
really there and not run in such ugly NPE.

Signed-off-by: Roland Häder <roland@mxchange.org>
7 years agoupdated jar(s)
Roland Häder [Mon, 26 Jun 2017 21:50:31 +0000 (23:50 +0200)]
updated jar(s)

Signed-off-by: Roland Häder <roland@mxchange.org>
7 years agoadded missing abstract EJB 'base' beans
Roland Häder [Mon, 26 Jun 2017 21:45:03 +0000 (23:45 +0200)]
added missing abstract EJB 'base' beans

Signed-off-by: Roland Häder <roland@mxchange.org>
7 years agoRewrite continued:
Roland Häder [Mon, 26 Jun 2017 21:43:30 +0000 (23:43 +0200)]
Rewrite continued:
- Now all project-specific abstract web beans (controllers) inherit from BaseFacesBean to have these nice showFacesMessage() methods.
- Also all project-specific abstract EJBs inherit now only BaseDataBean (one was missing in an old project)
- So, if you have a WAR project, inherit from BaseFacesBean, if you have an EJB project, inherit from BaseDatabaseBean

Signed-off-by: Roland Häder <roland@mxchange.org>
7 years agoupdated jar(s)
Roland Häder [Mon, 26 Jun 2017 21:19:43 +0000 (23:19 +0200)]
updated jar(s)

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

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

Signed-off-by: Roland Häder <roland@mxchange.org>
7 years agoPlease cherry-pick:
Roland Häder [Mon, 26 Jun 2017 19:26:23 +0000 (21:26 +0200)]
Please cherry-pick:
- had moved copyAll() to new utility classes which is a much better place for
  them. Per EJB standards, no "complex" methods in POJOs/entity classes which
  makes sense. :-)

Signed-off-by: Roland Häder <roland@mxchange.org>
7 years agoupdated jar(s)
Roland Häder [Mon, 26 Jun 2017 18:59:53 +0000 (20:59 +0200)]
updated jar(s)

Signed-off-by: Roland Häder <roland@mxchange.org>
7 years agoit is an user-specific EJB name
Roland Häder [Sun, 25 Jun 2017 18:21:08 +0000 (20:21 +0200)]
it is an user-specific EJB name

Signed-off-by: Roland Häder <roland@mxchange.org>
7 years agofixed EJB name for email delivery beans
Roland Häder [Sat, 24 Jun 2017 21:41:21 +0000 (23:41 +0200)]
fixed EJB name for email delivery beans

Signed-off-by: Roland Häder <roland@mxchange.org>
7 years agoadded missing entity
Roland Häder [Fri, 23 Jun 2017 22:20:02 +0000 (00:20 +0200)]
added missing entity

Signed-off-by: Roland Häder <roland@mxchange.org>
7 years agoPlease cherry-pick:
Roland Häder [Fri, 23 Jun 2017 21:57:52 +0000 (23:57 +0200)]
Please cherry-pick:
- EJB name is now "userRegistration"

Signed-off-by: Roland Häder <roland@mxchange.org>
7 years agoupdated JNDI names
Roland Häder [Fri, 23 Jun 2017 21:50:11 +0000 (23:50 +0200)]
updated JNDI names

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

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

Signed-off-by: Roland Häder <roland@mxchange.org>
7 years agoPlease cherry-pick:
Roland Häder [Thu, 22 Jun 2017 20:55:38 +0000 (22:55 +0200)]
Please cherry-pick:
- moved EJBs to proper package as they are user-related beans
- handled over randomPassword parameter to sendEmail()
- or null if not possible/wanted

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

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

Signed-off-by: Roland Häder <roland@mxchange.org>
7 years agoPlease cherry-pick:
Roland Häder [Sat, 10 Jun 2017 21:23:48 +0000 (23:23 +0200)]
Please cherry-pick:
- really have to call super(), else anything there, like logger bean, will not
  be initialized

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

Signed-off-by: Roland Häder <roland@mxchange.org>
7 years agoPlease cherry-pick:
Roland Häder [Sat, 10 Jun 2017 19:59:04 +0000 (21:59 +0200)]
Please cherry-pick:
- gender -> personalData changed

Signed-off-by: Roland Häder <roland@mxchange.org>
7 years agoPlease cherry-pick:
Roland Häder [Sat, 10 Jun 2017 19:51:54 +0000 (21:51 +0200)]
Please cherry-pick:
- no gender, there is "personal title" for Mr./Mrs.

Signed-off-by: Roland Häder <roland@mxchange.org>
7 years agoupdated jar(s)
Roland Häder [Sat, 10 Jun 2017 12:45:58 +0000 (14:45 +0200)]
updated jar(s)

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

Signed-off-by: Roland Häder <roland@mxchange.org>
7 years agoadded missing dependencies on jaddressbook[-share]
Roland Häder [Fri, 9 Jun 2017 20:53:24 +0000 (22:53 +0200)]
added missing dependencies on jaddressbook[-share]

Signed-off-by: Roland Häder <roland@mxchange.org>
7 years agoPlease cherry-pick:
Roland Häder [Mon, 29 Aug 2016 15:51:00 +0000 (17:51 +0200)]
Please cherry-pick:
- added base URL parameter + email delivery

Signed-off-by: Roland Häder <roland@mxchange.org>
7 years agoPlease cherry-pick:
Roland Häder [Mon, 29 Aug 2016 10:22:00 +0000 (12:22 +0200)]
Please cherry-pick:
- implemented business method for deleting user accounts

Signed-off-by: Roland Häder <roland@mxchange.org>
7 years agoPlease cherry-pick:
Roland Häder [Fri, 26 Aug 2016 15:08:26 +0000 (17:08 +0200)]
Please cherry-pick:
- renamed variables as they hold a JPA-managed entity

7 years agoPlease cherry-pick:
Roland Häder [Thu, 25 Aug 2016 13:54:23 +0000 (15:54 +0200)]
Please cherry-pick:
- made user instance managed which causes not persisting it all over again
- renamed variable

7 years agoPlease cherry-pick:
Roland Häder [Thu, 25 Aug 2016 13:40:13 +0000 (15:40 +0200)]
Please cherry-pick:
- closed internal TODO: update new confirmation key in database + user instance

Signed-off-by: Roland Häder <roland@mxchange.org>
7 years agoPlease cherry-pick:
Roland Häder [Thu, 25 Aug 2016 12:23:11 +0000 (14:23 +0200)]
Please cherry-pick:
- first the user instance must become managed, then persist log entry ...
- better check for Long, and not != null test (very lazy)

Signed-off-by: Roland Häder <roland@mxchange.org>
7 years agoPlease cherry-pick:
Roland Häder [Wed, 24 Aug 2016 15:52:34 +0000 (17:52 +0200)]
Please cherry-pick:
- added EJB for user activity log
- opps, missed this file updating ...

Signed-off-by: Roland Häder <roland@mxchange.org>
7 years agoadded juser-activity to persistence unit and both projects (core/lib)
Roland Häder [Wed, 24 Aug 2016 14:59:51 +0000 (16:59 +0200)]
added juser-activity to persistence unit and both projects (core/lib)

Signed-off-by: Roland Häder <roland@mxchange.org>
7 years agoPlease cherry-pick:
Roland Häder [Wed, 24 Aug 2016 12:27:44 +0000 (14:27 +0200)]
Please cherry-pick:
- added assert
- renamed variables to managed user/contact as this reflects the correct JPA state

7 years agoPlease cherry-pick:
Roland Häder [Wed, 24 Aug 2016 11:09:01 +0000 (13:09 +0200)]
Please cherry-pick:
- sadly all getReference() + merge() was based on wrong assumption, now find() returns a managed entity where all setter calls leads to an update
- used getManaged() of repeating code (DRY)

7 years agoPlease cherry-pick:
Roland Häder [Wed, 24 Aug 2016 09:08:21 +0000 (11:08 +0200)]
Please cherry-pick:
- unsetting all phone numbers make them disconnected from the contact instance, better is to make them managed (merge)

7 years agoPlease cherry-pick:
Roland Häder [Tue, 23 Aug 2016 15:50:42 +0000 (17:50 +0200)]
Please cherry-pick:
- if you don't want to have redundant entries (=objects aka. entities) in database of referenced entities, first you need to merge it as it is detached
- then you have a managed instance which you can set in the referencing entity back
- if you don't do this, the entity manager will "think" it is a new instance and persists + relinks it
- maybe some implementations don't do this, but the JPA standard (generic) seems to want to have this way
- do never implement for only one JPA implementation! Do always follow the generic JPA way

7 years agoPlease cherry-pick:
Roland Häder [Tue, 23 Aug 2016 15:09:52 +0000 (17:09 +0200)]
Please cherry-pick:
- explicitly flush after persisting to get id number in entity set

7 years agoPlease cherry-pick:
Roland Häder [Tue, 23 Aug 2016 13:03:00 +0000 (15:03 +0200)]
Please cherry-pick:
- copy all data from detached to managed instance before updating it
- this needs to be done before the updated timestamp is being set to make sure it is not overwritten by old value (as copyAll() may do it)

7 years agoPlease cherry-pick:
Roland Häder [Tue, 23 Aug 2016 12:13:53 +0000 (14:13 +0200)]
Please cherry-pick:
- implemented business methods for deleting/updating fax/land-line numbers
- better this way: managedBla = em.find(Bla.class, bla.getBlaId()); and then managedBla.setBlaSomeFoo(someFooValue);

Signed-off-by: Roland Häder <roland@mxchange.org>
7 years agoPlease cherry-pick:
Roland Häder [Tue, 23 Aug 2016 09:52:28 +0000 (11:52 +0200)]
Please cherry-pick:
- unset mobile number, not land-line

7 years agoPlease cherry-pick:
Roland Häder [Tue, 23 Aug 2016 09:33:14 +0000 (11:33 +0200)]
Please cherry-pick:
- detachAllContactPhoneEntries() was a bad idea, beter do it the old way.
- The returned instance was a managed instance that have been updated. First find it with find() then you have a managed instanced. Now simply update the fields you want and you are done.

7 years agoPlease cherry-pick:
Roland Häder [Mon, 22 Aug 2016 15:42:54 +0000 (17:42 +0200)]
Please cherry-pick:
- when updating contact data, detach all other referenced instances, else new entries are being created each update-time

7 years agoPlease cherry-pick:
Roland Häder [Mon, 22 Aug 2016 14:38:32 +0000 (16:38 +0200)]
Please cherry-pick:
- set "phone entry updated" timestamp
- included class name in logger message

7 years agoPlease cherry-pick:
Roland Häder [Mon, 22 Aug 2016 10:57:16 +0000 (12:57 +0200)]
Please cherry-pick:
- renamed cellphone -> mobile