From: Roland Häder Date: Wed, 20 Apr 2016 14:53:24 +0000 (+0200) Subject: Used new "contact-added event" X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=e1b8ca662fb801648d40874aca85758ac6659b6f;p=jjobs-war.git Used new "contact-added event" Signed-off-by: Roland Häder --- diff --git a/src/java/org/mxchange/jjobs/beans/contact/JobsAdminContactWebRequestBean.java b/src/java/org/mxchange/jjobs/beans/contact/JobsAdminContactWebRequestBean.java index 37e798b3..0b55fce4 100644 --- a/src/java/org/mxchange/jjobs/beans/contact/JobsAdminContactWebRequestBean.java +++ b/src/java/org/mxchange/jjobs/beans/contact/JobsAdminContactWebRequestBean.java @@ -1,5 +1,5 @@ /* - * Copyright (C) 2016 Roland Haeder + * Copyright (C) 2016 Cho-Time GmbH * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License as @@ -35,6 +35,7 @@ import org.mxchange.jcontacts.contact.ContactSessionBeanRemote; import org.mxchange.jcontacts.contact.UserContact; import org.mxchange.jcontacts.contact.gender.Gender; import org.mxchange.jcontacts.contact.utils.ContactUtils; +import org.mxchange.jcontacts.events.contact.add.AdminAddedContactEvent; import org.mxchange.jcontacts.events.contact.add.AdminContactAddedEvent; import org.mxchange.jcontacts.events.contact.update.AdminContactUpdatedEvent; import org.mxchange.jcontacts.events.contact.update.AdminUpdatedContactEvent; @@ -48,7 +49,6 @@ import org.mxchange.jphone.phonenumbers.fax.FaxNumber; import org.mxchange.jphone.phonenumbers.landline.DialableLandLineNumber; import org.mxchange.jphone.phonenumbers.landline.LandLineNumber; import org.mxchange.jphone.phonenumbers.mobileprovider.MobileProvider; -import org.mxchange.jusercore.events.user.add.AdminAddedUserEvent; /** * An administrative user bean (controller) @@ -65,11 +65,11 @@ public class JobsAdminContactWebRequestBean implements JobsAdminContactWebReques private static final long serialVersionUID = 542_145_347_916L; /** - * An event fired when the administrator has added a new user + * An event fired when the administrator has added a new contact */ @Inject @Any - private Event addedUserEvent; + private Event addedContactEvent; /** * Admin helper instance