]>
git.mxchange.org Git - addressbook-ejb.git/log
Roland Häder [Sun, 30 Jul 2017 19:48:50 +0000 (21:48 +0200)]
updated jar(s)
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Fri, 28 Jul 2017 21:53:32 +0000 (23:53 +0200)]
Continued a bit:
- renamed classes as this is the naming convention
- fixed super bean class
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Fri, 28 Jul 2017 21:52:53 +0000 (23:52 +0200)]
added missing dependency jcontacts-business-core/lib
Signed-off-by: Roland Häder <roland@mxchange.org>
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>
Roland Häder [Tue, 25 Jul 2017 21:46:38 +0000 (23:46 +0200)]
Possibly cherry-pick:
- added initial EJB for business contact-data
Roland Häder [Thu, 27 Jul 2017 21:10:35 +0000 (23:10 +0200)]
updated jar(s)
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Wed, 26 Jul 2017 17:43:40 +0000 (19:43 +0200)]
added .gitattributes where missing
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Tue, 25 Jul 2017 19:15:43 +0000 (21:15 +0200)]
updated jar(s)
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Tue, 25 Jul 2017 19:11:22 +0000 (21:11 +0200)]
updated jar(s)
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Sun, 23 Jul 2017 15:06:12 +0000 (17:06 +0200)]
updated jar(s)
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Sun, 23 Jul 2017 11:51:19 +0000 (13:51 +0200)]
updated jar(s)
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Sun, 23 Jul 2017 10:17:19 +0000 (12:17 +0200)]
updated jar(s)
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Sun, 23 Jul 2017 10:09:11 +0000 (12:09 +0200)]
updated jar(s)
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Sun, 23 Jul 2017 08:56:57 +0000 (10:56 +0200)]
updated jar(s)
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Sun, 23 Jul 2017 08:53:18 +0000 (10:53 +0200)]
updated jar(s)
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Sun, 23 Jul 2017 08:45:44 +0000 (10:45 +0200)]
updated jar(s)
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Sun, 23 Jul 2017 08:43:30 +0000 (10:43 +0200)]
updated jar(s)
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Sat, 22 Jul 2017 22:39:50 +0000 (00:39 +0200)]
updated jar(s)
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Sat, 22 Jul 2017 21:43:49 +0000 (23:43 +0200)]
updated jar(s)
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Sat, 15 Jul 2017 12:11:16 +0000 (14:11 +0200)]
added documentation for cdi-api.jar
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Fri, 14 Jul 2017 18:46:05 +0000 (20:46 +0200)]
updated jar(s)
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Wed, 12 Jul 2017 22:39:17 +0000 (00:39 +0200)]
updated jar(s)
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Wed, 12 Jul 2017 22:14:37 +0000 (00:14 +0200)]
updated jar(s)
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Wed, 12 Jul 2017 21:48:51 +0000 (23:48 +0200)]
it is user->login, not login->user
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Wed, 12 Jul 2017 21:47:24 +0000 (23:47 +0200)]
updated jar(s)
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Wed, 12 Jul 2017 20:59:03 +0000 (22:59 +0200)]
Opps ...
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Wed, 12 Jul 2017 19:29:54 +0000 (21:29 +0200)]
updated jar(s)
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Wed, 12 Jul 2017 19:24:37 +0000 (21:24 +0200)]
updated jar(s)
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Wed, 12 Jul 2017 19:13:56 +0000 (21:13 +0200)]
Please cherry-pick:
- imported new location (package) of classes/interfaces
- moved EJBs to proper locations
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Wed, 12 Jul 2017 19:13:30 +0000 (21:13 +0200)]
added new dependencies juser-login-core/lib
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Wed, 12 Jul 2017 18:59:38 +0000 (20:59 +0200)]
updated jar(s)
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Sun, 9 Jul 2017 10:46:02 +0000 (12:46 +0200)]
Please cherry-pick:
- renamed updatedUser -> managedUser, which is more accurate
- always set values in managed instances to have the JPA noticed it
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Sun, 9 Jul 2017 08:35:33 +0000 (10:35 +0200)]
Please cherry-pick:
- returned managed instance so the web controller (backing bean in your web
application) can continue to use it (mostly fire an event)
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Sun, 9 Jul 2017 08:35:26 +0000 (10:35 +0200)]
updated jar(s)
Signed-off-by: Roland Häder <roland@mxchange.org>
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>
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>
Roland Häder [Sat, 8 Jul 2017 17:15:04 +0000 (19:15 +0200)]
Please cherry-pick:
- this message-driven bean has been moved to new project
- also the mailer's initialization and config properties
Signed-off-by: Roland Häder <roland@mxchange.org>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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
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
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>
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>
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>
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>
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
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)
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)
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
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
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)
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>
Roland Häder [Tue, 23 Aug 2016 09:52:28 +0000 (11:52 +0200)]
Please cherry-pick:
- unset mobile number, not land-line
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.
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
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
Roland Häder [Mon, 22 Aug 2016 10:57:16 +0000 (12:57 +0200)]
Please cherry-pick:
- renamed cellphone -> mobile
Roland Häder [Mon, 22 Aug 2016 07:49:22 +0000 (09:49 +0200)]
ignored + removed (will be re-generated) genfiles.properties as this caused update problems
Signed-off-by: Roland Häder <roland@haeder.net>
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Fri, 19 Aug 2016 16:02:37 +0000 (18:02 +0200)]
Please cherry-pick:
- called new detach method
Roland Häder [Fri, 19 Aug 2016 15:49:20 +0000 (17:49 +0200)]
Please cherry-pick:
- change find() to getReference() as this causes no additional SELECT on database backend
Roland Häder [Thu, 8 Jun 2017 20:39:51 +0000 (22:39 +0200)]
updated jar(s)
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Wed, 7 Jun 2017 20:44:48 +0000 (22:44 +0200)]
updated jar(s)
Signed-off-by: Roland Häder <roland@mxchange.org>