]> git.mxchange.org Git - jjobs-ejb.git/log
jjobs-ejb.git
8 years agoPlease cherry-pick:
Roland Häder [Tue, 30 Aug 2016 10:32:32 +0000 (12:32 +0200)]
Please cherry-pick:
- test on template variables add, can be none set, but should not be null

8 years agoPlease cherry-pick:
Roland Häder [Tue, 30 Aug 2016 10:22:13 +0000 (12:22 +0200)]
Please cherry-pick:
- unsetting contact is no longer needed, make it managed and then it should be fine ... :-)

8 years agoPlease cherry-pick:
Roland Häder [Tue, 30 Aug 2016 10:09:56 +0000 (12:09 +0200)]
Please cherry-pick:
- more tests added on user instance (may prevent message-less NPE somewhere else which is harder to debug)

Signed-off-by: Roland Häder <roland@haeder.net>
8 years agoupdated jar(s)
Roland Haeder [Tue, 30 Aug 2016 17:45:57 +0000 (19:45 +0200)]
updated jar(s)

8 years agoupdated jar(s)
Roland Haeder [Mon, 29 Aug 2016 19:33:18 +0000 (21:33 +0200)]
updated jar(s)

8 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

8 years agoPlease cherry-pick:
Roland Häder [Mon, 29 Aug 2016 11:00:58 +0000 (13:00 +0200)]
Please cherry-pick:
- opps, remove()

8 years agoPlease cherry-pick:
Roland Häder [Mon, 29 Aug 2016 10:49:11 +0000 (12:49 +0200)]
Please cherry-pick:
- wrong bait, wrong fish, wrong test ...

8 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

8 years agoupdated jar(s)
Roland Haeder [Sun, 28 Aug 2016 18:57:46 +0000 (20:57 +0200)]
updated jar(s)

8 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

8 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

8 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>
8 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>
8 years agoPlease cherry-pick: (be careful with project-specific names!)
Roland Häder [Thu, 25 Aug 2016 10:34:53 +0000 (12:34 +0200)]
Please cherry-pick: (be careful with project-specific names!)
- <Project>UserActivitySessionBean should better extend BaseDatabaseBean as no mail is being sent from this type of EJB
- added activity JMS queue
- implemented it in message-driven bean
- this whole thing may be shortened to only the EJB but then it is synchronous and people then will experience a slow down on heavy load

Signed-off-by: Roland Häder <roland@mxchange.org>
8 years agoPlease cherry-pick:
Roland Häder [Thu, 25 Aug 2016 09:44:37 +0000 (11:44 +0200)]
Please cherry-pick:
- added message-driven bean (unfinished) for adding user activity log
- this is asynchronous and won't cause application freezes if inserting takes some time

8 years agoimplemented business method for fetching all user activity log
Roland Häder [Thu, 25 Aug 2016 07:31:17 +0000 (09:31 +0200)]
implemented business method for fetching all user activity log

8 years agoupdated jar(s)
Roland Haeder [Thu, 25 Aug 2016 20:12:32 +0000 (22:12 +0200)]
updated jar(s)

Signed-off-by: Roland Häder <roland@mxchange.org>
8 years agoupdated jar(s)
Roland Haeder [Wed, 24 Aug 2016 20:21:58 +0000 (22:21 +0200)]
updated jar(s)

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

8 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)

8 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)

8 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

8 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

8 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)

8 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>
8 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

8 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.

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

8 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

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

8 years agoignored + removed (will be re-generated) genfiles.properties as this caused update...
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>
8 years agoupdated jar(s)
Roland Haeder [Tue, 23 Aug 2016 17:47:20 +0000 (19:47 +0200)]
updated jar(s)

Signed-off-by: Roland Häder <roland@mxchange.org>
8 years agoupdated jar(s)
Roland Haeder [Sun, 21 Aug 2016 20:10:46 +0000 (22:10 +0200)]
updated jar(s)

8 years agoupdated jar(s)
Roland Haeder [Sun, 21 Aug 2016 20:09:14 +0000 (22:09 +0200)]
updated jar(s)

8 years agoPlease cherry-pick:
Roland Häder [Fri, 19 Aug 2016 16:02:37 +0000 (18:02 +0200)]
Please cherry-pick:
- called new detach method

8 years agoPlease cherry-pick:
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

8 years agoContinued a bit: (please cherry-pick)
Roland Häder [Thu, 18 Aug 2016 15:05:12 +0000 (17:05 +0200)]
Continued a bit: (please cherry-pick)
- implemented missing methods
- these include a lot tests and are currently untested (may not work)
- some to specific exceptions has been replaced by a more generic exception (which is fine here)

Signed-off-by: Roland Häder <roland@mxchange.org>
8 years agoupdated jar(s)
Roland Haeder [Thu, 18 Aug 2016 17:42:51 +0000 (19:42 +0200)]
updated jar(s)

Signed-off-by: Roland Häder <roland@mxchange.org>
8 years agoupdated jar(s)
Roland Haeder [Wed, 17 Aug 2016 20:20:00 +0000 (22:20 +0200)]
updated jar(s)

Signed-off-by: Roland Häder <roland@mxchange.org>
8 years agoPlease cherry-pick:
Roland Häder [Wed, 17 Aug 2016 13:21:18 +0000 (15:21 +0200)]
Please cherry-pick:
- implemented business methods unlinkFaxDataFromContact(), unlinkLandLineDataFromContact()

Signed-off-by: Roland Häder <roland@mxchange.org>
8 years agoupdated jar(s)
Roland Haeder [Wed, 17 Aug 2016 19:11:46 +0000 (21:11 +0200)]
updated jar(s)

Signed-off-by: Roland Häder <roland@mxchange.org>
8 years agoupdated jar(s)
Roland Haeder [Wed, 17 Aug 2016 18:15:58 +0000 (20:15 +0200)]
updated jar(s)

Signed-off-by: Roland Häder <roland@mxchange.org>
8 years agoPlease cherry-pick:
Roland Häder [Tue, 16 Aug 2016 15:25:36 +0000 (17:25 +0200)]
Please cherry-pick:
- renamed as this is for users (and not any other entities with email-change functionality)
- added missing i18n string

Signed-off-by: Roland Häder <roland@mxchange.org>
8 years agoContinued a bit: (please cherry-pick)
Roland Häder [Tue, 16 Aug 2016 14:30:20 +0000 (16:30 +0200)]
Continued a bit: (please cherry-pick)
- implemented business methods findFaxNumberById() and findLandLineNumberById()
- sorted members
- fixed log message: cellphone -> mobile again and always use "number" suffix

8 years agorenamed it as well (please cherry-pick)
Roland Häder [Tue, 16 Aug 2016 10:46:13 +0000 (12:46 +0200)]
renamed it as well (please cherry-pick)

8 years agofixed persistence.xml from renaming
Roland Häder [Tue, 16 Aug 2016 09:33:17 +0000 (11:33 +0200)]
fixed persistence.xml from renaming

Signed-off-by: Roland Häder <roland@mxchange.org>
8 years agoRenaming season has started:
Roland Häder [Tue, 16 Aug 2016 08:04:17 +0000 (10:04 +0200)]
Renaming season has started:
- renamed cellphone to mobile (all occurences)
- let's don't discrimite other mobile phones, right?

Signed-off-by: Roland Häder <roland@mxchange.org>
8 years agoremoved double //NOI18N (please cherry-pick)
Roland Häder [Mon, 15 Aug 2016 14:32:16 +0000 (16:32 +0200)]
removed double //NOI18N (please cherry-pick)

8 years agoOpps, make all parameters final (please cherry-pick)
Roland Häder [Mon, 15 Aug 2016 14:28:38 +0000 (16:28 +0200)]
Opps, make all parameters final (please cherry-pick)

8 years agoFixed: (please cherry-pick)
Roland Häder [Mon, 15 Aug 2016 14:27:47 +0000 (16:27 +0200)]
Fixed: (please cherry-pick)
- wrong checks, the id number is not null and 1 or larger

8 years agoPlease cherry-pick:
Roland Häder [Mon, 15 Aug 2016 12:23:13 +0000 (14:23 +0200)]
Please cherry-pick:
- sorted members

8 years agoPlease cherry-pick:
Roland Häder [Mon, 15 Aug 2016 11:00:00 +0000 (13:00 +0200)]
Please cherry-pick:
- splitted contact remote interface into general and administrative purposes

8 years agoTried to fix: (please cherry-pick)
Roland Häder [Thu, 11 Aug 2016 12:26:39 +0000 (14:26 +0200)]
Tried to fix: (please cherry-pick)
- update all data in user instance and hande it over to updateUserData()

8 years agoContinued with lock/unlock user accounts: (please cherry-pick)
Roland Häder [Thu, 11 Aug 2016 10:30:39 +0000 (12:30 +0200)]
Continued with lock/unlock user accounts: (please cherry-pick)
- return detached and updated user instance on locking/unlocking
- update data in found instance and then merge it? A bit confusing ...

8 years agochanged some tests (please cherry-pick)
Roland Häder [Thu, 11 Aug 2016 10:16:13 +0000 (12:16 +0200)]
changed some tests (please cherry-pick)

8 years agoFixed wrong tests: (please cherry-pick)
Roland Häder [Thu, 11 Aug 2016 10:11:22 +0000 (12:11 +0200)]
Fixed wrong tests: (please cherry-pick)
- locking/unlocking an existing user account always have a valid user id set

8 years agoPlease cherry-pick:
Roland Häder [Thu, 11 Aug 2016 08:02:39 +0000 (10:02 +0200)]
Please cherry-pick:
- maybe implemented unlinkCellphoneDataFromContact() as this may not work by just unsetting (null) the instance

Signed-off-by: Roland Häder <roland@mxchange.org>
8 years agoFixed: (please cherry-pick)
Roland Häder [Wed, 10 Aug 2016 12:53:58 +0000 (14:53 +0200)]
Fixed: (please cherry-pick)
- em.remove() needs a managed entity, not a one passed from e.g. a controller
- still this method may throw an exception, e.g. when an other entity (table) references this entity
- but since deleteCellphoneNumber() *should* delete cell phone numbers, it doesn't care if the entity is still referenced.
- this needs to be taken care of the controller and not the EJB (job-executor)

8 years agoRewrite continued: (please cherry-pick)
Roland Häder [Wed, 10 Aug 2016 11:05:22 +0000 (13:05 +0200)]
Rewrite continued: (please cherry-pick)
- moved business methods to proper EJB as they are not contact-related but "phone-generic" enough. Maybe still mail notifications can be added to them.

Signed-off-by: Roland Häder <roland@mxchange.org>
8 years agoContinued with cell phone numbers: (please cherry-pick)
Roland Häder [Wed, 10 Aug 2016 10:53:17 +0000 (12:53 +0200)]
Continued with cell phone numbers: (please cherry-pick)
- implemented deleteCellphoneData() which may work this way
- maybe still a mail might be sent

8 years agoIgnored faces-config.NavData because this file will differ from user to user
Roland Häder [Wed, 10 Aug 2016 07:58:55 +0000 (09:58 +0200)]
Ignored faces-config.NavData because this file will differ from user to user

Signed-off-by: Roland Häder <roland@haeder.net>
Signed-off-by: Roland Häder <roland@mxchange.org>
8 years agoContinued: (please cherry-pick)
Roland Häder [Tue, 9 Aug 2016 13:44:15 +0000 (15:44 +0200)]
Continued: (please cherry-pick)
- implemented updateCellphoneData()

Signed-off-by: Roland Häder <roland@mxchange.org>
8 years agoMoved to proper EJB: (please cherry-pick)
Roland Häder [Tue, 9 Aug 2016 09:20:12 +0000 (11:20 +0200)]
Moved to proper EJB: (please cherry-pick)
- these methods are not administrative, they are general and should be used there

Signed-off-by: Roland Häder <roland@mxchange.org>
8 years agoupdated jar(s)
Roland Haeder [Tue, 9 Aug 2016 20:07:46 +0000 (22:07 +0200)]
updated jar(s)

Signed-off-by: Roland Häder <roland@mxchange.org>
8 years agoContinued: (please cherry-pick)
Roland Häder [Mon, 8 Aug 2016 14:27:05 +0000 (16:27 +0200)]
Continued: (please cherry-pick)
- implemented allSomeNumbers() methods
- used MessageFormat
- ignored strings for i18n
- exposed list to method body to have it being logged in trace message

Signed-off-by: Roland Häder <roland@haeder.net>
Signed-off-by: Roland Häder <roland@mxchange.org>
8 years agoPlease move:
Roland Häder [Mon, 8 Aug 2016 14:03:26 +0000 (16:03 +0200)]
Please move:
- this is for e.g. unlinking or linking cell phone, land-line or fax numbers with contacts
- this is not any-phone-numbers only

Signed-off-by: Roland Häder <roland@haeder.net>
Signed-off-by: Roland Häder <roland@mxchange.org>
8 years agoupdated jar(s)
Roland Haeder [Mon, 8 Aug 2016 17:24:12 +0000 (19:24 +0200)]
updated jar(s)

Signed-off-by: Roland Häder <roland@mxchange.org>
8 years agofixed camel-case in newly renamed method (please cherry-pick)
Roland Haeder [Sat, 6 Aug 2016 21:04:41 +0000 (23:04 +0200)]
fixed camel-case in newly renamed method (please cherry-pick)

Signed-off-by: Roland Häder <roland@mxchange.org>
8 years agoignored .gitcommits
Roland Haeder [Wed, 1 Jun 2016 19:13:07 +0000 (21:13 +0200)]
ignored .gitcommits

Signed-off-by: Roland Häder <roland@mxchange.org>
8 years agoupdated/fixed copyright as this is Pizza-Service
Roland Haeder [Fri, 5 Aug 2016 19:05:31 +0000 (21:05 +0200)]
updated/fixed copyright as this is Pizza-Service

Signed-off-by: Roland Häder <roland@mxchange.org>
8 years agoContinued with unlocking users: (please cherry-pick)
Roland Häder [Fri, 5 Aug 2016 14:39:51 +0000 (16:39 +0200)]
Continued with unlocking users: (please cherry-pick)
- implemented business method unlockUserAccount()

Signed-off-by: Roland Häder <roland@mxchange.org>
8 years agoopps, need to rename it (please cherry-pick)
Roland Häder [Fri, 5 Aug 2016 11:03:43 +0000 (13:03 +0200)]
opps, need to rename it (please cherry-pick)

Signed-off-by: Roland Häder <roland@haeder.net>
Signed-off-by: Roland Häder <roland@mxchange.org>
8 years agoContinued with splitting EJB: (please cherry-pick)
Roland Häder [Fri, 5 Aug 2016 10:45:14 +0000 (12:45 +0200)]
Continued with splitting EJB: (please cherry-pick)
- splitted user bean into general (old) and administrative user bean. This allows more distribution and not centralization of all business methods on one (then later even monolithic) EJB
- requires juser-lib.jar to be updated

Signed-off-by: Roland Häder <roland@haeder.net>
Signed-off-by: Roland Häder <roland@mxchange.org>
8 years agoContinued with logging: (please cherry-pick)
Roland Häder [Thu, 4 Aug 2016 12:36:20 +0000 (14:36 +0200)]
Continued with logging: (please cherry-pick)
- added simple class name to all log messages
- added possible missing log messages

Signed-off-by: Roland Häder <roland@haeder.net>
Signed-off-by: Roland Häder <roland@mxchange.org>
8 years agoFixed: (please cherry-pick)
Roland Häder [Thu, 4 Aug 2016 09:50:46 +0000 (11:50 +0200)]
Fixed: (please cherry-pick)
- wrong check, opps, copy-paste mistake: user.userId must be valid set
  as the user is going to be linked with password history entry.

8 years agoPlease cherry-pick:
Roland Häder [Wed, 3 Aug 2016 14:34:22 +0000 (16:34 +0200)]
Please cherry-pick:
- implemented business method updateUserPassword()

8 years agoPlease cherry-pick / fix Copyright:
Roland Häder [Wed, 3 Aug 2016 08:27:47 +0000 (10:27 +0200)]
Please cherry-pick / fix Copyright:
- added EJB for fetching user's full password history
- this EJB implementes the corresponding (newly added) remote interface

8 years agoadded entity to persitence unit (maybe cherry-pickable)
Roland Häder [Tue, 2 Aug 2016 15:40:51 +0000 (17:40 +0200)]
added entity to persitence unit (maybe cherry-pickable)

8 years agoContinued a bit: (please cherry-pick)
Roland Häder [Fri, 29 Jul 2016 14:13:54 +0000 (16:13 +0200)]
Continued a bit: (please cherry-pick)
- the class type is a hint for what kind of classes are in the List
- so no List is in List ... ;-)

Signed-off-by: Roland Häder <roland@haeder.net>
Signed-off-by: Roland Häder <roland@mxchange.org>
8 years agoupdated jar(s)
Roland Haeder [Sat, 6 Aug 2016 20:12:05 +0000 (22:12 +0200)]
updated jar(s)

Signed-off-by: Roland Häder <roland@mxchange.org>
8 years agoupdated jar(s)
Roland Haeder [Fri, 5 Aug 2016 18:37:17 +0000 (20:37 +0200)]
updated jar(s)

Signed-off-by: Roland Häder <roland@mxchange.org>
8 years agoupdated jar(s)
Roland Haeder [Tue, 2 Aug 2016 19:45:29 +0000 (21:45 +0200)]
updated jar(s)

8 years agoupdated jar(s)
Roland Haeder [Thu, 21 Jul 2016 19:42:48 +0000 (21:42 +0200)]
updated jar(s)

Signed-off-by: Roland Häder <roland@mxchange.org>
8 years agoupdated jar(s)
Roland Haeder [Wed, 8 Jun 2016 18:07:02 +0000 (20:07 +0200)]
updated jar(s)

8 years agoupdated jar(s)
Roland Haeder [Thu, 26 May 2016 13:28:12 +0000 (15:28 +0200)]
updated jar(s)

8 years agoContinued a bit:
Roland Häder [Wed, 18 May 2016 09:01:48 +0000 (11:01 +0200)]
Continued a bit:
- Fixed mail delivery (opps)

Signed-off-by: Roland Häder <roland@mxchange.org>
8 years agono redirect target needed here and makes no sense, too
Roland Häder [Thu, 19 May 2016 15:39:03 +0000 (17:39 +0200)]
no redirect target needed here and makes no sense, too

8 years agoImplemented business method confirmAccount()
Roland Häder [Thu, 19 May 2016 15:24:38 +0000 (17:24 +0200)]
Implemented business method confirmAccount()

Signed-off-by: Roland Häder <roland@haeder.net>
8 years agoContinued a bit:
Roland Häder [Wed, 18 May 2016 15:53:05 +0000 (17:53 +0200)]
Continued a bit:
- load properties in init() method (post-construction)
- added config.properties

Signed-off-by: Roland Häder <roland@mxchange.org>
8 years agoContinued a bit:
Roland Häder [Wed, 18 May 2016 12:44:19 +0000 (14:44 +0200)]
Continued a bit:
- EJBs cannot have access to faces context, better handle it over from the WAR project
- renamed method as "AsList" is superflous

8 years agoopps, use addedUser for having the id number available
Roland Häder [Wed, 18 May 2016 07:55:46 +0000 (09:55 +0200)]
opps, use addedUser for having the id number available

8 years agoContinued a bit:
Roland Häder [Wed, 18 May 2016 07:50:46 +0000 (09:50 +0200)]
Continued a bit:
- added sending out registration email
- added internal TODO

8 years agoContinued a bit:
Roland Häder [Wed, 18 May 2016 07:38:38 +0000 (09:38 +0200)]
Continued a bit:
- removed not needed assertion as this one tests the JPA
- ignored for i18n
- converted CRLF->LF ?

8 years agoAdded TODO (testing JPA makes no sense here)
Roland Haeder [Tue, 17 May 2016 20:50:37 +0000 (22:50 +0200)]
Added TODO (testing JPA makes no sense here)

Signed-off-by: Roland Häder <roland@mxchange.org>
8 years agoContinued with rewrites, fixes:
Roland Häder [Tue, 17 May 2016 15:37:29 +0000 (17:37 +0200)]
Continued with rewrites, fixes:
- used Base<Project-Name>DatabaseBean where possible
- use new sendEmail() which prepares the wrapper instance and then sending it
- the message object is now no longer created here as the Base<Project>DatabaseBean does it
- resendConfirmationLink() almost finished: changing confirmation key + merging database is unfinished

Signed-off-by: Roland Häder <roland@mxchange.org>
8 years agoContinued:
Roland Häder [Tue, 17 May 2016 13:35:48 +0000 (15:35 +0200)]
Continued:
- added message-driven bean for mail delivery (generic)
- added method init() method to initialize queue/factory
- implemented business method resendConfirmationLink() (unfinished)
- the business method enqueueEmailAddressForChange() now uses JMS and not directly calling the mailer

Signed-off-by: Roland Häder <roland@mxchange.org>
8 years agouse found contact, not merge() (SQL update statement)
Roland Häder [Tue, 10 May 2016 13:42:50 +0000 (15:42 +0200)]
use found contact, not merge() (SQL update statement)

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