]> git.mxchange.org Git - addressbook-mailer-ejb.git/log
addressbook-mailer-ejb.git
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:54 +0000 (22:07 +0200)]
updated jar(s)

Signed-off-by: Roland Häder <roland@mxchange.org>
8 years agofixed copyright+author
Roland Haeder [Mon, 8 Aug 2016 18:52:52 +0000 (20:52 +0200)]
fixed copyright+author

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:30 +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:32 +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:29 +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:34:32 +0000 (21:34 +0200)]
updated jar(s)

8 years agoupdated jar(s)
Roland Haeder [Thu, 21 Jul 2016 19:43:06 +0000 (21:43 +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:06:22 +0000 (20:06 +0200)]
updated jar(s)

8 years agoupdated jar(s)
Roland Haeder [Wed, 25 May 2016 18:42:34 +0000 (20:42 +0200)]
updated jar(s)

8 years agoSome fixes:
Roland Haeder [Sat, 21 May 2016 12:16:48 +0000 (14:16 +0200)]
Some fixes:
- added missing imports
- it should the project's own Base<Project>DatabaseBean class be used to have e.g. sendEmail() available for easy email delivery

8 years agoupdated jar(s)
Roland Haeder [Sat, 21 May 2016 12:15:18 +0000 (14:15 +0200)]
updated jar(s)

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

Signed-off-by: Roland Häder <roland@mxchange.org>
8 years agorenamed to better name
Roland Häder [Wed, 18 May 2016 09:43:12 +0000 (11:43 +0200)]
renamed to better name

8 years agoContinued a bit:
Roland Häder [Wed, 18 May 2016 09:01:48 +0000 (11:01 +0200)]
Continued a bit:
- renamed to have project name in it
- sending out mails over a message-driven bean is an asynchronous approach and will keep the other EJBs running fast
- use class, not interface everywhere

Signed-off-by: Roland Häder <roland@mxchange.org>
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 agoupdated jar(s)
Roland Haeder [Sat, 21 May 2016 11:41:12 +0000 (13:41 +0200)]
updated jar(s)

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>
8 years agoupdated jar(s)
Roland Haeder [Fri, 20 May 2016 18:47:45 +0000 (20:47 +0200)]
updated jar(s)

8 years agoupdated jar(s)
Roland Haeder [Wed, 18 May 2016 19:37:31 +0000 (21:37 +0200)]
updated jar(s)

Signed-off-by: Roland Häder <roland@mxchange.org>
8 years agoEnd-of-line character is LF by default now
Roland Haeder [Tue, 17 May 2016 18:01:47 +0000 (20:01 +0200)]
End-of-line character is LF by default now

Signed-off-by: Roland Häder <roland@mxchange.org>
8 years agoupdated jar(s)
Roland Haeder [Sat, 14 May 2016 14:56:32 +0000 (16:56 +0200)]
updated jar(s)

8 years agoupdated jar(s)
Roland Haeder [Fri, 13 May 2016 20:42:07 +0000 (22:42 +0200)]
updated jar(s)

8 years agoadded EJB for resending confirmation links
Roland Häder [Fri, 13 May 2016 14:15:10 +0000 (16:15 +0200)]
added EJB for resending confirmation links

Signed-off-by: Roland Häder <roland@mxchange.org>
8 years agorenamed named queries for better naming convention ...
Roland Häder [Fri, 13 May 2016 13:02:32 +0000 (15:02 +0200)]
renamed named queries for better naming convention ...

8 years agoimplemented business method generateConfirmationKey()
Roland Häder [Fri, 13 May 2016 12:44:14 +0000 (14:44 +0200)]
implemented business method generateConfirmationKey()

Signed-off-by: Roland Häder <roland@mxchange.org>
8 years agoimplemented business methods findContactByEmailAddress() and isEmailAddressRegistered()
Roland Häder [Fri, 13 May 2016 09:57:04 +0000 (11:57 +0200)]
implemented business methods findContactByEmailAddress() and isEmailAddressRegistered()

8 years agoimplemented business method generateRandomUserName() which uses getUserNameList(...
Roland Häder [Thu, 12 May 2016 12:09:31 +0000 (14:09 +0200)]
implemented business method generateRandomUserName() which uses getUserNameList() to get full list of available user names and checks that list.

8 years agoupdated jar(s)
Roland Haeder [Fri, 13 May 2016 20:04:32 +0000 (22:04 +0200)]
updated jar(s)

8 years agoupdated jar(s)
Roland Haeder [Thu, 12 May 2016 19:08:13 +0000 (21:08 +0200)]
updated jar(s)

8 years agoupdated jar(s)
Roland Haeder [Mon, 9 May 2016 17:03:36 +0000 (19:03 +0200)]
updated jar(s)

8 years agoContinued a bit:
Roland Häder [Tue, 3 May 2016 13:13:35 +0000 (15:13 +0200)]
Continued a bit:
- implemented linkUser()
- use interface for class name

8 years agoupdated jar(s)
Roland Haeder [Thu, 5 May 2016 12:27:05 +0000 (14:27 +0200)]
updated jar(s)

8 years agotpzo fixed ...
Roland Haeder [Tue, 3 May 2016 19:55:57 +0000 (21:55 +0200)]
tpzo fixed ...

8 years agoupdated jar(s)
Roland Haeder [Tue, 3 May 2016 19:49:34 +0000 (21:49 +0200)]
updated jar(s)

8 years agoOooops, returned non-updated object ... :-/
Roland Häder [Mon, 2 May 2016 15:53:05 +0000 (17:53 +0200)]
Oooops, returned non-updated object ... :-/

8 years ago-Xlint:unchecked -Xlint:deprecation back in place ...
Roland Haeder [Mon, 2 May 2016 20:12:21 +0000 (22:12 +0200)]
-Xlint:unchecked -Xlint:deprecation back in place ...

Signed-off-by: Roland Häder <roland@mxchange.org>
8 years agoused new setter instead of "hard-coded"
Roland Häder [Mon, 2 May 2016 15:26:37 +0000 (17:26 +0200)]
used new setter instead of "hard-coded"

Signed-off-by: Roland Häder <roland@mxchange.org>
8 years agoswitched to project-based mailer dependency
Roland Häder [Mon, 2 May 2016 07:47:19 +0000 (09:47 +0200)]
switched to project-based mailer dependency

Signed-off-by: Roland Häder <roland@mxchange.org>
8 years agoglobally updated jar(s)
Roland Haeder [Fri, 29 Apr 2016 20:00:25 +0000 (22:00 +0200)]
globally updated jar(s)

Signed-off-by: Roland Häder <roland@mxchange.org>
8 years agoadded missing final statement as parameters themself should not be changed
Roland Haeder [Fri, 29 Apr 2016 19:29:49 +0000 (21:29 +0200)]
added missing final statement as parameters themself should not be changed

8 years agoremoved jcore.jar as it is not intended for JavaEE applications.
Roland Haeder [Fri, 29 Apr 2016 19:00:22 +0000 (21:00 +0200)]
removed jcore.jar as it is not intended for JavaEE applications.

Signed-off-by: Roland Häder <roland@mxchange.org>
8 years agoRemoved all mapped names as they are container-specific, better is to use the long...
Roland Haeder [Thu, 28 Apr 2016 20:10:36 +0000 (22:10 +0200)]
Removed all mapped names as they are container-specific, better is to use the long portable version.

8 years agoupdated jar(s)
Roland Haeder [Thu, 28 Apr 2016 18:18:19 +0000 (20:18 +0200)]
updated jar(s)

8 years agoupdated code logic to latest changes
Roland Häder [Tue, 26 Apr 2016 11:11:35 +0000 (13:11 +0200)]
updated code logic to latest changes

Signed-off-by: Roland Häder <roland@mxchange.org>
8 years agoContinued with customer:
Roland Häder [Tue, 26 Apr 2016 09:27:17 +0000 (11:27 +0200)]
Continued with customer:
- implemented business method addCustomer()
- implemented business method isContactFound()
- implemented business method updateContactData() with only a contact instance
- added much more log messages

Signed-off-by: Roland Häder <roland@mxchange.org>
8 years agoadded new project dependency addressbook-core
Roland Haeder [Wed, 27 Apr 2016 20:59:36 +0000 (22:59 +0200)]
added new project dependency addressbook-core

8 years agoupdated jar(s)
Roland Haeder [Wed, 27 Apr 2016 19:16:37 +0000 (21:16 +0200)]
updated jar(s)

8 years agoupdated jar(s)
Roland Haeder [Tue, 26 Apr 2016 17:06:47 +0000 (19:06 +0200)]
updated jar(s)

8 years agoupdated method signature to latest changes
Roland Haeder [Sat, 23 Apr 2016 10:59:38 +0000 (12:59 +0200)]
updated method signature to latest changes

8 years agoContinued rewriting:
Roland Haeder [Sat, 23 Apr 2016 10:29:48 +0000 (12:29 +0200)]
Continued rewriting:
- added new project dependency jaddressbook-lib (remote interfaces)

8 years agoupdated jar(s)
Roland Haeder [Sat, 23 Apr 2016 10:00:32 +0000 (12:00 +0200)]
updated jar(s)

8 years agoupdated jar(s)
Roland Haeder [Thu, 21 Apr 2016 20:09:40 +0000 (22:09 +0200)]
updated jar(s)

8 years agoImplemented business method ifUserNameExists()
Roland Häder [Thu, 21 Apr 2016 13:50:55 +0000 (15:50 +0200)]
Implemented business method ifUserNameExists()

8 years agoImplemented updateUserData() and let the detached user instance return
Roland Häder [Thu, 21 Apr 2016 10:52:44 +0000 (12:52 +0200)]
Implemented updateUserData() and let the detached user instance return

8 years agoupdated jar(s)
Roland Haeder [Thu, 21 Apr 2016 18:10:27 +0000 (20:10 +0200)]
updated jar(s)

8 years agoupdated jar(s)
Roland Haeder [Wed, 20 Apr 2016 17:33:58 +0000 (19:33 +0200)]
updated jar(s)

8 years agoContinued:
Roland Häder [Wed, 20 Apr 2016 14:06:05 +0000 (16:06 +0200)]
Continued:
- added business methods and implemented two
- added trace log messages

8 years agoupdated jar(s)
Roland Haeder [Tue, 19 Apr 2016 18:47:33 +0000 (20:47 +0200)]
updated jar(s)

8 years agoRefacture:
Roland Häder [Tue, 19 Apr 2016 14:36:19 +0000 (16:36 +0200)]
Refacture:
- moved model (entities) files to jaddressbook-care
- jaddressbook-core.jar is not needed here as no addressbooks are maintained

Signed-off-by: Roland Häder <roland@mxchange.org>
8 years agoadded timestamp as the EJB should take care of it
Roland Haeder [Tue, 19 Apr 2016 18:02:33 +0000 (20:02 +0200)]
added timestamp as the EJB should take care of it

8 years agoupdated jar(s)
Roland Haeder [Tue, 19 Apr 2016 17:41:02 +0000 (19:41 +0200)]
updated jar(s)

8 years agoupdated jar(s)
Roland Haeder [Mon, 18 Apr 2016 18:51:02 +0000 (20:51 +0200)]
updated jar(s)

8 years agoChange name for named query
Roland Haeder [Sun, 17 Apr 2016 15:28:59 +0000 (17:28 +0200)]
Change name for named query

Signed-off-by: Roland Häder <roland@mxchange.org>
8 years agoupdated jar(s)
Roland Haeder [Sun, 17 Apr 2016 15:28:40 +0000 (17:28 +0200)]
updated jar(s)

8 years agoThis bean cannot be singleton as more than one admin may be logged in. It should...
Roland Haeder [Sun, 17 Apr 2016 14:26:11 +0000 (16:26 +0200)]
This bean cannot be singleton as more than one admin may be logged in. It should also be initialized normally.

8 years agorenamed after project's name
Roland Haeder [Sun, 17 Apr 2016 13:16:42 +0000 (15:16 +0200)]
renamed after project's name

8 years agoContinued some more:
Roland Haeder [Sun, 17 Apr 2016 13:08:41 +0000 (15:08 +0200)]
Continued some more:
- added EJB for general contact purposes
- added EJB for administrative contact's phone purposes
- added EJB for administrative phone purposes

Signed-off-by: Roland Häder <roland@mxchange.org>
8 years agoadded new project dependency jcontacts-lib
Roland Haeder [Sun, 17 Apr 2016 13:11:08 +0000 (15:11 +0200)]
added new project dependency jcontacts-lib

8 years agoupdated jar(s)
Roland Haeder [Sun, 17 Apr 2016 11:43:21 +0000 (13:43 +0200)]
updated jar(s)

8 years agorenamed after project's name
Roland Haeder [Sun, 17 Apr 2016 10:40:08 +0000 (12:40 +0200)]
renamed after project's name

8 years agoContinued a bit:
Roland Haeder [Sun, 17 Apr 2016 10:38:39 +0000 (12:38 +0200)]
Continued a bit:
- added session bean for handling phone number lookups, maybe it will be used for user-depending purposes later on. So maybe session-scoped is not a bad idea after all.
- updated jar(s)

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